Back to vBulletin 3.5 Add-ons

Add a banner image to each forum (vb3.5)
Mod Version: 1.6, by Zachariah

This modification is in the archives.
vB Version: 3.5.0 Rating: (5 votes - 5.00 average) Installs: 325
Released: 12 Aug 2005 Last Update: 28 Nov 2005 Downloads: 366
Not Supported DB Changes Uses Plugins Template Edits  

/* -----------------8/11/2005-----------------
[HowTo] Add a banner option image w/ Link or HTML paste to each forum V.1.6
Tested on vBulletin: 3.5.0 RC2

Zachariah - http://www.gzhq.net

This is a VB3.5 Ver of my previous hack:

*** Add a banner image to each forum (VB 3.0x)
Add a banner image to each forum

*** Info:
This modification will Add an image banner w/ link Or paste in your own HTML code option per forum. These files can be any image. (png, jpg, gif, ect). This will be located after the $navbar on FORMDISPLAY. This images can be located on the localhost or on a remote server.
--------------------------------------------------*/

Upload the "plug-in" and edit 2 template, It's a snap.


Changelog:
------------
1.6
Banner shows up on each thread
adds: 1 more template edit to the install
Requested by: - Ryan McBain

** Note: 1.5 - 1.6 needs only to edit SHOWTHREAD not Reinstall the XML files

1.5
Added HTML option (tested w/ Java and Iframe from phpadsnew output)
Added 3.x to VB 3.5 upgrade XML file.

** Random Banner Code Java

Spoiler (click to open)


Here is a simple JAVA random banner code you can paste in the HTML area of any forum.

EX:
This will show @ random.

image1.jpg @ http://www.yoursite1.com
image2.jpg @ http://www.yoursite2.com
image3.jpg @ http://www.yoursite3.com

Code:
<script language="javascript" type="text/javascript">
<!-- 
function banner() { 
}; 
banner = new banner(); 
number = 0; 
// bannerArray 
banner[number++] = "<a href='http://www.yoursite1.com' target='_blank'><img src='/banners/image1.jpg' alt='' border='0' /></a>"
banner[number++] = "<a href='http://www.yoursite2.com' target='_blank'><img src='/banners/image2.jpg' alt='' border='0' /></a>"
banner[number++] = "<a href='http://www.yoursite3.com' target='_blank'><img src='/banners/image3.jpg' alt='' border='0' /></a>" 
// keep adding items above here... 
increment = Math.floor(Math.random() * number); 
document.write(banner[increment]); 
//-->
</script>
Useage: If you need more banners edit / add another row.
Code:
banner[number++] = "<a href='http://www.yoursite1.com' target='_blank'><img src='/banners/image1.jpg' alt='' border='0' /></a>"
Link of Destination
Image location

Close


**Please click " " to track updates.

Download

This modification is archived and cannot be downloaded.

Screenshots

   

Similar Mods

Forum Display Enhancements Add a banner image to each forum (vb3.6) vBulletin 3.6 Add-ons
Add a banner image to each forum vBulletin 3.0 Full Releases

vblts.ru supports vBulletin®, 2022-2024