The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Add a banner image to each forum Details »» | |||||||||||||||||||||||||
Works on: VB3 RC3 - 3.1+
This modification will Add an image banner w/ link option per forum. This hack modifies/adds : 1 php file 2 templates 4 query / table field 4 added phrase *1.6 Update 12.18.05 Useage: 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. Admincp -> Forums & Moderators -> Forum Manager -> Edit Forum -> Fill out the banner info. Banner Image - (location of image) Banner URL - (Link that you go to when u click the banner) Alt Tag (if you mouse over the banner; pop-up text) HTML Paste (added) You can also fill out the info when you make a new forum. NOTES: Changes: -------- 1.6 Banner shows up on each thread adds: 1 more template edit to the install *1.5 +Added HTML option *1.2 + Added Alt text for each banner(admincp) + Images no longer must be on the server You can use a local image off your webserver or use a image at another location. EX: /images/banner/someimage.jpg or http://www.yoursite.com/someimage.jpg *1.1 + Added option for image to have a link *1.0 + Image banner for every forum under the $navbar *// JAVA BANNER ROTATION FYI- I did some playing around took the <if></if> statement added to the ForumsDisplay template. You can insted place it in the header / footer template and it will show up also. VB3.5X ver https://vborg.vbsupport.ru/showthread.php?t=94119 Show Your Support
|
Comments |
#112
|
||||
|
||||
Quote:
BTW: VB3.5X ver of this hack if / when people go to the new Forums. https://vborg.vbsupport.ru/showthread.php?t=94119 It's on new install of the hack @ the moment. I am working on upgrade. |
#113
|
||||
|
||||
1.5 update
+added HTML option I have the "add" own HTML ready, not worked on adding PHP. ( works: w/ Java and Iframe from phpadsnew) |
#114
|
||||
|
||||
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> Code:
banner[number++] = "<a href='http://www.yoursite1.com' target='_blank'><img src='/banners/image1.jpg' alt='' border='0' /></a>" Image location |
#115
|
||||
|
||||
What does this mean?
// Adds fields to forum table called banner, bannerlink, banneralt. ???? make new templates? edit - nvm |
#116
|
||||
|
||||
Got it.
Thanks! :squareeyed: |
#117
|
|||
|
|||
Where are the files?
|
#118
|
||||
|
||||
Quote:
|
#119
|
||||
|
||||
Installed on 3.6.0Gold
Works perfect. Nice hack. Love it. Thanks, Sonny |
#120
|
||||
|
||||
I have loved this mod for years; however, it appears broken in vBulletin v3.8.1.
Has anyone had success? |
#121
|
||||
|
||||
I have loved this mod for years; however, it appears broken in vBulletin v3.8.1.
Has anyone had success? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|