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 |
#22
|
|||
|
|||
Works perfect thanks
|
#23
|
||||
|
||||
This is nice.
So if I have a music banner, I'll put it on the music forum. |
#24
|
||||
|
||||
I get this error what can be wrong?
MySQL Error : Unknown column 'banner' in 'field list' Error Number : 1054 |
#25
|
||||
|
||||
Did you skip the XML file import?
This is a Product to be imported via. plug-in system. 1) Choose the right XML file. *** How to Install: In your Admin Control Panel Admincp => Plugin System => Manage Products Click [Add/Import Product] Browse for the file "banner_image.xml" Allow Overwrite should be off Import -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-- *** How to Upgrade: There are 2 old ver. of this hack. What do I use? What do you have installed? 1. banner, alt, link (use: 3.x to 3.5no-code.xml) v1.2 2. banner, alt, link, HTML (use: 3.x to 3.5code.xml) v1.5 In your Admin Control Panel After you upgrade to VB3.5. Admincp => Plugin System => Manage Products Click [Add/Import Product] Browse for the file "xxxxxxxxxxx.xml" Allow Overwrite should be off Import Quote:
|
#26
|
||||
|
||||
First I imported the banner_image.xml, than in ForumDisplay I put after $navbar:
<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 /> </if> </if> </if> Because it was not working I imported the 3.x to 3.5no-code.xml. Now I had 2 entries in the plugin folder, I unsinstalled the old one and now having only the Add Banner Upgrade 1.5 in the pluginfolder but this mysql error is coming if I want to save a Forum. Thank you |
#27
|
||||
|
||||
vb3.5x new install - banner_image.xml
vb3.0x upgrade - 3.x to 3.5code.xml - If you have already upgraded to ver. 1.5 in VB3.x hack. vb3.0x upgrade - 3.x to 3.5no-code.xml - If you have ver. 1.2 in VB3.x hack. After the install you should have: 2 plugins add Banner - AdminCP add Banner - ForumDisplay Your manual template edit is fine, and will stay there even if you install / uninstall the plugins / products. All XML files will make the same plugins. They have different DB edits. |
#28
|
||||
|
||||
Cool, now it is working, thank you for this great plugin Zachariah :banana:
|
#29
|
||||
|
||||
I must be doing something wrong cause I can't get the banners to show up in the showthread forums (where you see the posts of other people) just the main forums.
|
#30
|
||||
|
||||
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 |
#31
|
|||
|
|||
How can I use this plugin for a Main Page banner?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|