![]() |
headers change based on category?
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
|
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.
|
^bump.
|
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. :) |
A modification in forum introduction hack might help
|
All times are GMT. The time now is 11:43 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:
|