Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Rotating Banners Details »
Rotating Banners
Mod Version: 1.00, by dxt-cobra (Member) dxt-cobra is offline
Developer Last Online: Jul 2016 I like it Show Printable Version Email this Page

vB Version: 5.2.x Rating: (0 vote - 0 average) Installs: 3
Released: 24 Jan 2016 Last Update: Never Downloads: 0
Not Supported Re-usable Code Translations  

Here is a way to add multiple banners to your site with an html module.

first create a banners.html file on your pc, and add this code.
Be sure to set your images in the adImages = new Array ( image links here ) and also the image within the body to point to your image locations.

You can also change the speed in the setTimeout( 2 * 5000 ).
//setTimeout(function, milliseconds);

My banner sizes are normally 900 x 100, this size works well for my site.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

when your done, upload it to your forum directory.

then add a html module were you want it and add this line here.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Be sure to edit the link and put your site domain. and save it.
thats it all done, your banners should display rotate.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Rotating Forum Banners Beermonster vBulletin 3.0 Full Releases 84 01 Dec 2005 03:34

Comments
  #2  
Old 25 Jan 2016, 06:56
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
This can work with all vBulletin versions, or any software actually.
Reply With Quote
  #3  
Old 25 Jan 2016, 08:22
dxt-cobra dxt-cobra is offline
 
Join Date: Mar 2008
yea other than the widget to place the banners with an iframe. I thought about creating a banner widget with install.xml to make this even easier for users to use.

Im still confused as why vb5 has an ad widget that lets you make more than one, but they do not rotate like this. I don't even know if the second banner ever shows. I messed with it some but didn't see any results like i wanted.
Reply With Quote
  #4  
Old 04 Apr 2016, 19:12
X-or X-or is offline
 
Join Date: Nov 2005
Thank you for sharing this.

Do you know how to make the transition a bit smoother? Because it's kind of brutal for the eye.
Reply With Quote
  #5  
Old 10 Aug 2019, 15:08
Dilldogs Dilldogs is offline
 
Join Date: May 2006
Real name: Don
Might be a stupid question but I want to put this under the navbar what template do I place this in?

the VB4 rotating banner addon it was placed in the forumhome template but with VB5.4 there is no forumhome template.
__________________
[]
Reply With Quote
  #6  
Old 10 Aug 2019, 16:50
Dave Dave is online now
 
Join Date: Jun 2010
Real name: Dave
Originally Posted by Dilldogs View Post
Might be a stupid question but I want to put this under the navbar what template do I place this in?

the VB4 rotating banner addon it was placed in the forumhome template but with VB5.4 there is no forumhome template.
On the homepage you click on the "Edit Page" button and then insert a new HTML module in the area where you want it to be displayed.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 15:28.

Layout Options | Width: Wide Color: