Last x Threads Marquee using External Data Provider
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 ). And i set the follow as below but not sure this has to be done Thread Cutoff - 1 Thread Cache Lifespan - 1 Maximum External Records -15 Then on forumhome template find : HTML Code:
{vb:raw navbar} HTML Code:
<!-- last x active threads --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr> <td class="tcat" colspan="2"><center>Latest Posts</center> </td> </tr> </thead> <tr> <!--Messages--> <td class="alt2"> <marquee direction="left" scrollamount="6" onmouseover="this.scrollAmount=0" onmouseout="this.scrollAmount=6"><font size="2"><b> <script type="text/javascript" src="http://www.your domain.co.uk/external.php?&type=js"></script> <script language="" type="text/javascript"> <!-- for (x = 0; x < 5; x++) { document.writeln("*<a href=http://www.your domain.co.uk/showthread.php?t="+threads[x].threadid+">"+threads[x].title+"</a> "); } //--> </script> </b></font></marquee> <!--/Messages--> </td> </tr> </tr> </table> <br /> <!-- last x active threads --> HTML Code:
<center><marquee behavior=slide width=25%:> <p>{vb:rawphrase welcome_to_our_newest_member_x, {vb:link member, {vb:raw newuserinfo}}, {vb:raw newuserinfo.username}}<p></marquee></center> Remember to change your domain name to your one I will be adding the code to select different forums today example can be seen on test forum Code:
http://gadsx.co.uk/cj/forum.php Download No files for download. |
Similar Mods
Mini Mods Last x Threads Marquee using External Data Provider | vBulletin 3.7 Add-ons |