View Full Version : header image
twistedsoul
03-28-2017, 11:55 PM
ok so I have seamus theme, as well as a few others. the seamus black is the default on my forums. heres what I'm trying to find out about.
there is 1 banner across all of the default theme, each theme is for a specific forum with its specific banner.
lets say there is a specific forum on the forums that happens to be a default themed style, is it possible to change the header banner on that 1 specific forum, or would I need to set up another theme for it and go about it that way, as I have all the other themes/forums?
Thr33
03-29-2017, 08:22 PM
By theme you mean style and by banner you mean logo or is it an image above forums? Screenshots would make it easier.
twistedsoul
03-31-2017, 08:14 PM
sry, ok first image is header banner, logo etc. 2nd image of MVP Diamond and Gold lounge are the forums I want to put a different header banner into those 3, but without changing it on all forums of that style/theme. as of right now ive added 3 styles/themes so each would have its own, but its such a pain to go thru and change everything on them, especially when I cant remember what I changed to begin with, and when the exact code I used before doesn't want to work on them. the default is seamus black, and it is used throughtout the forums, with only a few forums having either seamus green, red etc
https://vborg.vbsupport.ru/external/2017/03/1.png
https://vborg.vbsupport.ru/external/2017/03/2.png
ArcadeSyndicate
04-02-2017, 12:34 PM
hmm, you can try this...
add a new plugin (hook for example global_start) with this code
$templatevalues['forumid'] = $forumid;
vB_Template::preRegister('header', $templatevalues);
now you can use a new conditional that isn't availiable in vb4 by default.
<vb:if condition="$forumid == 1">
quick and dirty and also untested (i have no dev board at the moment) but now you should be able to add a different image to every forum id.
twistedsoul
04-02-2017, 11:52 PM
well ty bud, but lol we both know I don't know what to do with that. this is why I pay u! =) additional css for those styles or?
ArcadeSyndicate
04-03-2017, 06:47 PM
check trello, i can do that tomorrow evening ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.