Version: 1.6, by Zachariah
Developer Last Online: Jan 2020
Version: 3.5.0
Rating:
Released: 08-11-2005
Last Update: 11-27-2005
Installs: 325
DB Changes Uses Plugins Template Edits
No support by the author.
/* -----------------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
*** 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.
This hack can work where ForumID can be used. The FORUMHOME does not have in "ID". There is a way that you can set a default banner that does not change via AdminCP. I have worked the banner in the $header to construct a default banner if there is not one filled in. This wil also show the default image in the FORUMHOME (in red, below).
is there no way to make it not static?
a coder might explain it better, but how about this way?
in vbulletin options you can give a default banner.
if you leave this blank, the forum displays the specific thread banner
like:
PHP Code:
<if condition="$foruminfo['bannerdefault'] ... //vbulletin options for default
<else />
<if condition="$foruminfo['banner']... // forum options
</if
</if
don't laugh - i'm a noob in php
I understand. Yes this could be done.
I might move the template edit to the end of the $navbar, so that it would be on every page. The drawback of this is that programs that use the $navbar (gallery, non-VB pages, CMS front ends, etc .) would also have the banner under the navbar.
Everyone else seems to have no issue, so I feel a little dumb asking this.
I got this installed fine through the plugin manager, but once I added the code to the two templates I get "Parse error: parse error, unexpected '<' in /www/b/batavia/htdocs/forums/forumdisplay.php on line 336" when I try to access a forum and a simpilar error when I try to go direct to a thread.
I am a php newbie, so not sure what i am doing wrong...
Everyone else seems to have no issue, so I feel a little dumb asking this.
I got this installed fine through the plugin manager, but once I added the code to the two templates I get "Parse error: parse error, unexpected '<' in /www/b/batavia/htdocs/forums/forumdisplay.php on line 336" when I try to access a forum and a simpilar error when I try to go direct to a thread.
I am a php newbie, so not sure what i am doing wrong...
What other showtread type plugins are you running ? VB ver ?