![]() |
Quote:
and then.... hack of the month? :rolleyes: *click install* |
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).
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 /> after $navbar Code:
<a href="http://www.yoursite.com"><img src="images/banner/default.gif" border="0" alt="banner image" /></a> |
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:
|
Quote:
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. Ill look in on it. |
thanks a lot for your help :up:
|
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... |
Quote:
|
Quote:
|
thanks!
/me installs |
Very nice...
Thanks, dreck *install* |
All times are GMT. The time now is 09:13 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|