Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 24 May 2003, 16:30
Steve W. Steve W. is offline
 
Join Date: May 2003
Seperate Header per Forum?

Hi there,

Is it possible to have a different header section perforum without having to resort to creating a seperate style for each? The problem is, I have about 10 forums that need a different image for each header, and I don't fancy having to go thru all of them to add a new hack or whatever.

Even if I need a new style assigned to each forum, is it okay to use the same template set, or would that cause problems?

And finnaly, does anyone have the default style set to download?

Thanks!
Reply With Quote
  #2  
Old 24 May 2003, 16:50
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Real name: Austin ;)
You'd need a hack or conditionals in templates (vB3).
Reply With Quote
  #3  
Old 24 May 2003, 16:55
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Right, let's see (assuming you want to keep the usualy style for each for but different header)

Download your current style, upload it but make a new style, and modify your header. Then edit your forum so it uses your modified header style. and do that for each for

OR

You can add to your header template an image, and name all the images you want to use 1,2,3 or 4 etc (to relate to a forum and make sure they are the same extension) then use $forum[forumid] for the image name (i.e <img src="{imagesfolder}/$forum[forumid].gif)

First method is untested and should work
Second method is untested and MAY work.....

Reply With Quote
  #4  
Old 24 May 2003, 20:26
Steve W. Steve W. is offline
 
Join Date: May 2003
So theoreticlly, the image would change as you changed forums? That would be an incredible thing because that's EXACTLY what I'd like to do... cause any more than one or two styles is really hard to manage hacks and such.
Reply With Quote
  #5  
Old 24 May 2003, 21:31
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Yes it's possible. Except with one flaw. If you weren't in a forum (I.E forumhome or showgroups) you'll get a broken image.
Reply With Quote
  #6  
Old 24 May 2003, 23:43
Steve W. Steve W. is offline
 
Join Date: May 2003
Ahh, but the forumhome is a seperate template, so you could have, say, forumhome.gif for the forumhome templates, if I'm correct?
Reply With Quote
  #7  
Old 24 May 2003, 23:57
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Well it's not as easy as that. Being the header template is global, {imagesfolder}/$forum[forumid].gif will always appear. Otherwise it'll involve hacking.
Reply With Quote
  #8  
Old 25 May 2003, 00:08
Steve W. Steve W. is offline
 
Join Date: May 2003
True... well, there could be say a template with a set header for forumhome and such, and the forums could have another style designated to them with the alterable header gif... so that would be two templates?

Also, is it just a case of putting the replacement variable in the header section of the style?

Thanks for your help so far, btw!
Reply With Quote
  #9  
Old 25 May 2003, 00:25
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
If I understand you correctly, you would be referring to my first method I said earlier

Download your current style, upload it but make a new style, and modify your header. Then edit your forum so it uses your modified header style. and do that for each for
I'm not totally sure though. Otherwise, you'll have to hack (and i'm certain it would be a small hack)
Reply With Quote
  #10  
Old 25 May 2003, 00:32
Steve W. Steve W. is offline
 
Join Date: May 2003
Well the problem is if I were to say install a new hack from vbulletin.org, I'd have to update all 10 templates or even 20 templates, which is why the variabled header idea would be alot better suited since I only want the one style/template set. But I dont know weather the headers are assigned to the style or template area, in which case I could have a new style for each forum, and they all use the same single template/replacement set?
Reply With Quote
  #11  
Old 25 May 2003, 09:57
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Well, all you would have to do is edit 1 style header template (and I hope I wont get in trouble for breaking the rules but) this hack would only require you to have one style since all it would do it add an image to any forum and you wont have any other problems. I see what you mean, but the only real easy way is to hack, and it wont be that bad.
Reply With Quote
  #12  
Old 25 May 2003, 10:28
Steve W. Steve W. is offline
 
Join Date: May 2003
Yeah, that would certainly be the easiest. I can understand templates really easily, but unfortunatly, when it comes to the coding side of things, I'm a real amatuer, lol!

Thanks for your help, I'll try and figure this out somehow!
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Photopost 4.8.5 - Use seperate VB Header and Navbar trackpads vBulletin 3.0 Full Releases 13 12 Mar 2007 20:19
PP Classifieds 2.0+ - Use seperate VB Header and Navbar trackpads vBulletin 3.0 Full Releases 2 28 Dec 2005 07:13
Reviewpost 2.8+ - Use seperate VB Header and Navbar trackpads vBulletin 3.0 Full Releases 0 23 Dec 2004 21:19
Display one or multiple forum banners per seperate forum MaDCaT75 vBulletin 2.x Full Releases 39 30 Jul 2004 04:56



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 14:23.

Layout Options | Width: Wide Color: