Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 24 Mar 2017, 20:55
[email protected] gabi@digital4.r is offline
 
Join Date: Mar 2017
Question How to add html after the Nth thread in forumdisplay?

Hi guys,

how can I add html code / scripts after the 3rd thread in forumdisplay? Here's a visual of what I need:
https://screencast.com/t/2kb6GefC

I presume it has to do with threadbits template, but I can't find any info on how to modify the template only for the Nth thread displayed.

Initially I thought I need to use someting like

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

but the threadid varies on the forumdisplay based on the last posts made, right?

So, how do I do this? Any help is appreciated...
Attached Images
File Type: jpg 00000277.jpg (101.5 KB, 10 views)
Reply With Quote
  #2  
Old 24 Mar 2017, 21:04
paonefx paonefx is offline
 
Join Date: Dec 2015
Try Custom Phrase
Add new Plugin with hook location threadbit_display with Forum ID.
Reply With Quote
  #3  
Old 25 Mar 2017, 03:03
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
I have attached a simple product that will do what you have requested. Import the attached .XML file, then visit the product settings to enable and configure the product:



With those settings, this is what I see:



Let me know if you have any issues and/or would like any additional features.
Attached Images
File Type: png markfl_afternththread_acp.png (41.4 KB, 40 views)
File Type: png markfl_afternththread_forum.png (55.9 KB, 40 views)
Attached Files
File Type: xml product-markflafternththread.xml (4.6 KB, 9 views)
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #4  
Old 28 Mar 2017, 21:09
[email protected] gabi@digital4.r is offline
 
Join Date: Mar 2017
works great!

Hey Mark,
works like a charm, thank you very much bro!

Any way i could donate somewhere/somehow for your solution?
Reply With Quote
  #5  
Old 28 Mar 2017, 23:43
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by [email protected] View Post
Hey Mark,
works like a charm, thank you very much bro!
Glad to assist!

Originally Posted by [email protected] View Post
Any way i could donate somewhere/somehow for your solution?
PM sent.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mini Mods Username HTML Markup in Forumdisplay Hasann vBulletin 3.8 Add-ons 131 22 Jan 2016 04:44
Portal Software add alert if thread added + enter to forumdisplay salman22 vBulletin 3.7 Template Modifications 7 28 Sep 2008 12:52


Tags
forumdisplay, threadbits, threads


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 11:37.

Layout Options | Width: Wide Color: