vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=324808

How to add html after the Nth thread in forumdisplay? 24 Mar 2017 20:55

1 Attachment(s)
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...

paonefx 24 Mar 2017 21:04

Try Custom Phrase
Add new Plugin with hook location threadbit_display with Forum ID.

MarkFL 25 Mar 2017 03:03

3 Attachment(s)
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:

http://www.vbulletin.org/forum/attac...1&d=1490410655

With those settings, this is what I see:

http://www.vbulletin.org/forum/attac...1&d=1490410655

Let me know if you have any issues and/or would like any additional features. :)

works great! 28 Mar 2017 21:09

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

Any way i could donate somewhere/somehow for your solution? :D

MarkFL 28 Mar 2017 23:43

Quote:

Originally Posted by [email protected] (Post 2584441)
Hey Mark,
works like a charm, thank you very much bro!

Glad to assist! :)

Quote:

Originally Posted by [email protected] (Post 2584441)
Any way i could donate somewhere/somehow for your solution? :D

PM sent. ;)


All times are GMT. The time now is 13:22.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.