UKBL ~ Clickable / Rotational / Timed Signature Banners
This modification is in the archives.
UKBL ~ Clickable / Rotational / Timed Signature Banners Well by popular demand here goes, This hack will allow Admins, Moderators the ability to add a clickable, rotational, timed siganture to your forum postbit. Gone are the days where you can only have 1 or 2 links, now you can advertise to your hearts content, your not doing nothing wrong, only one signature banner at a time. ![]() Admins Make some extra $$$$ by offering this as a paid service to your members. So are you ready ??? ![]() Step 1, We'll need my rotating timed banner code from this hack here UKBL ~ Timed Rotating Ad Banners But to save you the hassle its all in the zip file here, ready to download, Firstly open the Rotating.txt file in notepad or a similar text editor Code:
<html> <head> <title>UKBL ~ Clickable/Rotational/Timed Signatures</title> </head> <body> <DIV ALIGN=CENTER> <script language="JavaScript"> <!-- function adArray() { for (i=0; i*2<adArray.arguments.length; i++) { this[i] = new Object(); this[i].src = adArray.arguments[i*2]; this[i].href = adArray.arguments[i*2+1]; } this.length = i; } function getAdNum() { dat = new Date(); dat = (dat.getTime()+"").charAt(8); if (dat.length == 1) ad_num = dat%ads.length; else ad_num = 0; return ad_num; } var ads = new adArray( "http://i475.photobucket.com/albums/rr114/ukbusinesslive/1-3.gif", "http://aavaninsurance.at/ukbusinesslive", "http://i475.photobucket.com/albums/rr114/ukbusinesslive/banner11.jpg", "http://www.ukbusinesslive.co.uk/forum", "http://i475.photobucket.com/albums/rr114/ukbusinesslive/2-2.gif", "http://tradebusiness.at/ukbusinesslive", "attach/images/misc/stub.png", "http://skytv.at/ukbusinesslive" ); var ad_num = getAdNum(); document.write('<table cellpadding=0 cellspacing=1 border=0><tr><td ' +'align="left">' +'<A href="'+ads[ad_num].href+'"><IMG SRC="'+ads[ad_num].src+'" ' +'height="60" width="468" border="0" name="js_ad"></a></td></tr></table>'); link_num = document.links.length-1; function rotateBanner() { if (document.images) { ad_num = (ad_num+1)%ads.length; document.js_ad.src = ads[ad_num].src; document.links[link_num].href = ads[ad_num].href; setTimeout("rotateBanner()",10000); } } setTimeout("rotateBanner()",10000); // --> </script> </DIV> </body> </html> Code:
"http://i475.photobucket.com/albums/rr114/ukbusinesslive/1-3.gif", "http://aavaninsurance.at/ukbusinesslive", Now comes the exiting part ![]() Part 2 We will now need to create a new directory on our server/webspace, but with a twist ![]() We're going to make a directory called "rotate.jpg" Thats right, complete with extension Then we go to our newly created directory and we'll add that code above which we just saved as "index.html" Are you with me??? So this is what you should have looking at your forum structure Code:
www.myforums.com/rotate.jpg/index.html ![]() Now your signatures will rotate, Be timed and clickable ![]() By the way, to change the lenght of time that your signature banner rotates, go to the main code and look for Code:
setTimeout("rotateBanner()",10000); } } setTimeout("rotateBanner()",10000); Then just save the file ![]() Don't set it too quick as you could be seen to be spamming Just be gentle ![]() ![]() ![]() ![]() Download This modification is archived and cannot be downloaded. Screenshots
|
Similar Mods
Forum Home Enhancements UKBL ~ Timed Rotating Ad Banners | vBulletin 3.7 Template Modifications |
End-User Options UKBL ~ Clickable/Rotational/Timed Signatures | vBulletin 3.8 Add-ons |
End-User Options UKBL ~ Clickable / Rotational / Timed Signature Banners | vBulletin 3.6 Add-ons |
End-User Options UKBL ~ Clickable / Rotational / Timed Signature Banners | vBulletin 3.7 Add-ons |
Forum Home Enhancements UKBL ~ Timed Rotating Ad Banners | vBulletin 3.6 Template Modifications |