View Full Version : headers change based on category?
ehjay
03-25-2003, 11:51 PM
are there any existing hacks, or simple ways to go about having the header or simply having an image or images in the header change based on the category you're currently in?
just override users' selected styles
ehjay
03-26-2003, 03:12 AM
that obviously would work, i'd like to be able to do it without having to run 4-5 more styles, since all i wish to have dynamic is 1-2 images.
ehjay
03-27-2003, 08:37 PM
^bump.
jakoz
04-06-2003, 06:37 AM
well, i made my own for separate headers based on forum, changable by mods from the mod control panel (only for the forums in which they have rights), like in UBB.
To do that, the easiest way to display it was to load the data for that forum ($forumid) into the new variable $forumdisplay['forumheader'] in forumdisplay.php (which was only a few lines) and then put $forumdisplay[forumheader] in the forumdisplay template (1 line).
That allows forum specific headers on the main page of the forum with minimal changes and no new templates, and also let you have any code or images you want (html, javascript, perl, etc) in there... try playing with it and see what you can do. :)
Logician
04-06-2003, 07:23 AM
A modification in forum introduction hack might help
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.