Forum Moderators: rogerd

Message Too Old, No Replies

Need help editing vBulletin templates

vBulletin templates

         

Visions

9:05 am on Nov 19, 2004 (gmt 0)

10+ Year Member



Ok I recently started a gaming forum that covers many current online games. I also have created some really great graphics for the forum. Here's the problem. When I edit the "Header" template to put my forum banner for that particular game on the top of the screen, it makes that banner appear for all the forums on the site.l I have 3 different graphics for the 3 forums and I want to make it pull up the appropriate graphic for each prospective forum in the community. Does anyone even have the slightest clue how to do this or even know what i'm talking about? My version of vBulliten is (3.0.3) and the forum is located here <snip> Any help would be greatly appreciated. Thanks.

[edited by: Woz at 10:57 pm (utc) on Nov. 19, 2004]
[edit reason] No self URLs please, see TOS#13. [/edit]

rogerd

3:43 am on Nov 20, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, Visions!

When you edit the header template you are making a change that affects every page. If need to break this down further, you have a couple of options. First, you could build in some logic to choose one file vs. another depending on the forum, the page type, or some other variable. If your situation is simple, then this might work; it isn't very scalable, though.

I think the best solution would be to create a different style for each forum. By doing it that way, you could change the header ad code but you could also change the graphics, etc. to give each forum a distinct personality. Scalability isn't much of a problem, either - if you add more forums, just clone a style and modify it for the new forum.

Visions

2:40 am on Nov 21, 2004 (gmt 0)

10+ Year Member



Thank you for the info. I got it all worked out. This is a great forum. Thank you for all the help.

Visions

6:42 am on Nov 28, 2004 (gmt 0)

10+ Year Member



How Do I add just 1 image to each individual forum? I have about 100 forums to add a different image to so adding new styles would be extremly time consuming. I know there is a way to use an IF Condition= statement for variables and the forum ID's. I just don't know where to edit or which templates to edit or what code to use. Any help would be appreciated.