PDA

View Full Version : vBulletin Hack: A Simple Random Banner Rotator



Joeychgo
04-26-2006, 04:29 AM
Here is a simple ad banner rotator for your forum.

Link: A Simple Random Banner (http://www.vbulletin.org/forum/showthread.php?t=106682)

Its a pretty simple hack, easy to install.

Basically you add a template, add a plugin and add a variable where you want the ads to appear.

One use for this would be to randomly change your header banner to keep your forum look a little different.

Another, more common use would be to rotate various advertising banners in the same location. You could also use this same hack to rotate affilliate banners if you use them.

Now this being a simple banner rotator, its also pretty simple in its construction. It doesnt offer ADMINCP controls, and it wont include adsense ads in its rotation. This is a good hack if you only need to rotate simple banners.

I would like to see AdminCP control to simplify the process a bit, and make adding new banners or changing existing banners easier. But all in all a good hack.

sheriff5
07-17-2006, 09:51 PM
It doesnt allow me to download...can u upload it on junk upload.com

Peggy
07-17-2006, 11:41 PM
do you own a vBulletin license? If not, that's why you can't download it.

sheriff5
07-18-2006, 12:17 PM
I lost my VBulletin License...How do i get it back

Peggy
07-18-2006, 12:22 PM
what do you mean, you lost it? How'd you lose it? Did it expire and you didn't renew it?

Hell³
07-18-2006, 09:52 PM
If you lost your customer info go here (http://members.vbulletin.com/lostpw.php) for it to be sent to the email you had registered.

Sonnie
08-03-2006, 10:38 PM
I tried this hack but couldn't get it work like I wanted, which was with a conditional... I only wanted to rotate banners in one forum:

<if condition="$forumid == 28">$banner</if>

No banners showed up.... plugin was active... actually it's still active, I just don't have the "$banner" variable anywhere.