The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Add a banner image to each forum (vb3.5) Details »» | |||||||||||||||||||||||||
/* -----------------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) https://vborg.vbsupport.ru/showthread.php?t=61555 *** 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 **Please click " Install " to track updates. Show Your Support
|
Comments |
#102
|
||||
|
||||
Quote:
|
#103
|
|||
|
|||
I have to say I love this mod! I have a different banner on each forum and change them weekly, and this works so much better than editing the templates all the time.
|
#104
|
||||
|
||||
ok, let me get this straight:
v.1. I have to delete the modification I made to forumhome and wite it directly in the header. And then add the c0de you posted v.2. I let things as they are and add the c0de you posted in the header template Wich one is it? |
#105
|
|||
|
|||
Works great, thanks.
|
#106
|
||||
|
||||
Hm seems really nice, some questions though.
- Are any plans for any stats service for the banners? - I see that the banners can be images, could be easy, to expand that on swf files too? Thnx in advance |
#107
|
|||
|
|||
Yes swf files would be a nice touch
|
#108
|
||||
|
||||
[QUOTE=Zachariah]You can add the template edit made to the forumhome to the header, but on forums w/o an image or anywere else will be a blank space where the image should be.
Try this: header template: Code:
<if condition="$foruminfo['banner'] AND $foruminfo['bannerlink']"><center><a href="$foruminfo[bannerlink]" target="_blank"><img src="$foruminfo[banner]" alt="$foruminfo[banneralt]" border="0" /></a></center><br /> <else /> <if condition="$foruminfo['banner']"><center><img src="$foruminfo[banner]" alt="$foruminfo[banneralt]" border="0" /></center><br /> <else /> <if condition="$foruminfo['bannercode']"><center>$foruminfo[bannercode]</center><br /> <else /><img src="images/banner/default.gif" border="0"> </if> </if> </if> </if> hmm If I add the code for a flash banner instead of the code for an image, in the code from up, it doesn't work I have this code: Code:
<if condition="$foruminfo['banner'] AND $foruminfo['bannerlink']"><right><a href="$foruminfo[bannerlink]" target="_blank"><img src="$foruminfo[banner]" alt="$foruminfo[banneralt]" border="0" /></a></right><br /> <else /> <if condition="$foruminfo['banner']"><right><img src="$foruminfo[banner]" alt="$foruminfo[banneralt]" border="0" /></right><br /> <else /> <if condition="$foruminfo['bannercode']"><right>$foruminfo[bannercode]</right><br /> <else /><object border="0" width="600" height="100"> <param name="wmode" value="transparent"> <embed src="magic2.swf" width="600" height="100" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" /></object> </if> </if> </if> </if> </td> |
#109
|
||||
|
||||
Damn seems Zachariah havent saw yet my post
|
#110
|
|||
|
|||
since installing VBshout on all pages none of the banners show up any more
any ideas how i can fix? regards dean |
#111
|
||||
|
||||
Quote:
- Swf files - at the moment you can paste your HTML code in the HTML code area. https://vborg.vbsupport.ru/attachmen...chmentid=34099 |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|