Last x Threads Marquee using External Data Provider
This modification is in the archives.
Hi,
This mini-mod will display last x threads in a marquee above navbar. I mostly used this code http://www.vbulletin.com/forum/index.php?t=158895 by Floris from VB team. and TIPs from Colin F ( thanx guys ) How to install: First you have to activate External Source Provider. Go to: Admin Control Panel > vBulletin Options > External Data Provider: and choose JavaScript ( first choice ). Then copy this code and add it right at the top of Navbar template. PHP Code:
<!-- last x active threads -->
please be aware that I am not a coder. I just helped myself by collecting some parts of code from here and there. I can't prmise to provide any support for this mod configuriation: 1- to change number of threads, find this line PHP Code:
for (x = 0; x < 10; x++)
2- to limit the output to the latest threads in one or more specific forums, find this line Code:
<script type="text/javascript" src="external.php?forumids=2,32,35,27,3,12,6,30,31&type=js"></script></script> 3- you can also adjust scrolling speed and direction pretty easy. I hope you find this helpful. ** UPDATE *** Update Notification: I found this " secret" option lately while reading the tech manuals for Vb. To have the marquee show the last 10 threads based on LAST POST time ( i.e active threads), please do this: 1- Find: Code:
<script type="text/javascript" src="external.php?forumids=2,32,35,27,3,12,6,30,31&type=js"></script> Code:
<script type="text/javascript" src="external.php?forumids=2,32,35,27,3,12,6,30,31&type=js&lastpost=1"></script> Download
This modification is archived, downloads are still allowed. |