![]() |
10 Random Banners (Or Other HTML Objects)
1 Attachment(s)
Note: This product is not limited to 10 random banners since it drives on HTML. You can tune it to showing 10 defined YouTube video's which will be displayed randomly. It's up to you.
Description This lightweight product allows you to place $tenrandombanners on your template(s), which will randomly pick one of the 10 admin-defined banners. Every refresh of the page gives you another banner, unless the same banner is randomly chosen again. Setting the banners (or any other object you want to display) is completely done with HTML (and not with millions of settings), so you can have full control over the height, width, alt, target, etc. per banner. You could use any other kind of HTML or conditional statements (if usergroup, if forum, if script, etc.) too. Details Works for 3.7.X and 3.8.X, not build for 4.X or higher Adds one plugin and 22 phrases. The CMPS module adds one template and one .php module. Install product - Upload product-10randombanners.xml in the Admin CP through the section Products And Plugins. - Adjust settings at vBulletin Options > 10 Random Banners Install CMPS-module (optional) - Upload cmps-10randombanners.xml in the Admin CP through Upload Module at the section vBadvanced. - Set on which page the module should appear. Notes - Fill in from 1 to 10, the script won't pick up gaps between fields. You're not obligated to use all 10 fields. Just fill in the fields chronologically: 1, 2, 3, 4, etc. - Not likely to work on vBulletin 4.X or higher History 1.0 - initial release (january 2010) 1.1 - added CMPS module and changed product for better rotation between banners (august 2011) |
thanks
|
Hi
ist only to install as addon or must I set in addition $tenrandombanners to template source??? THx |
You must manually put $tenrandombanners somewhere in your template after installing the plugin, because this product does not support hooks (yet).
|
1 Attachment(s)
I'm looking for a simple way of having random pictures in the top right corner opposite (as shown where the cross is on my attachment) and I'm wondering if I could use this to do it??
|
Yes, that is possible. Add $tenrandombanners next to "$ad_location[ad_header_logo]" in your Header template.
Then setup the codes in vBulletin settings, like for example: HTML Code:
<img src="/forum/banners/banner1.jpg" alt="Banner 1" /> HTML Code:
<img src="/forum/banners/banner2.jpg" alt="Banner 2" /> |
Quote:
|
Quote:
Thanks. :) I wanted so it will only shows in one forum category. |
Nevermind, admins please delete this if you want.
|
Lets say I will like to show the banner afther the third post on a giving forum, what should I input and where?
Need some help on a href, target, alt and border i guess. HTML Code:
<a href="1" target="id:3"><img src="http://i50.tinypic.com/15gedxh.jpg" alt="4" height="795" width="95" border="7" /></a> |
All times are GMT. The time now is 10:08 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|