Back to Modification Graveyard

Rotating Banners in FORUMDISPLAY
Mod Version: 1.00, by HMBeaty

This thread is in the Modification Graveyard.
vB Version: 3.6.2 Rating: (4 votes - 4.50 average) Installs: 49
Released: 21 Oct 2006 Last Update: 21 Oct 2006 Downloads: 227
Not Supported Template Edits Is in Beta Stage  

Ok, first off, of course, go to your admincp panel > styles and templates > style manager > open your style > edit the FORUMDISPLAY template.

In there, you will find:

HTML Code:
	<td class="vbmenu_control" id="forumsearch" nowrap="nowrap"><if condition="$show['quicksearch']"><a href="$show[nojs_link]#goto_forumsearch" rel="nofollow">$vbphrase[search_this_forum]</a> <script type="text/javascript"> vbmenu_register("forumsearch"); </script><else /><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" rel="nofollow">$vbphrase[search_this_forum]</a></if></td>
	</if>
</tr>
</table>
Directly AFTER that bit of code, add this:

HTML Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<td class="alt2" align="center">
<!-- Banner Rotator by Redline -->
<SCRIPT LANGUAGE="Javascript"><!-- 
function banner() { 
}; 
banner = new banner(); 
number = 0; 
// bannerArray 
banner[number++] = "<a href='REDIRECT_URL' target='_blank'><img src='BANNER_URL' border='1'></a>"
banner[number++] = "<a href='REDIRECT_URL' target='_blank'><img src='BANNER_URL' border='1'></a>"
banner[number++] = "<a href='REDIRECT_URL' target='_blank'><img src='BANNER_URL' border='1'></a>" 
banner[number++] = "<a href='REDIRECT_URL' target='_blank'><img src='BANNER_URL' border='1'></a>"
increment = Math.floor(Math.random() * number); 
document.write(banner[increment]); 
//--></SCRIPT>
</td></table>

PLEASE CLICK INSTALL IF YOU LIKE IT.

Online http://redlinemotorsports.org/forum/forumdisplay.php?f=21

Download

This modification cannot be downloaded.

Similar Mods

Rotating banners vBulletin 3.5 Template Modifications

vblts.ru supports vBulletin®, 2022-2024