I'm in the same boat. I've got this working fine (the Newcastle Jets subforum at http://www.marathonstadium.com if anyone is interested) but of course this doesn't work for the threads posted within that sub-forum.
I'm struggling to think of a way that this mod could be adapted to do that, since threads are only identified by their own ID, not the ID of what forum they are in. Can anyone help with a solution?
How to have a different header image in different sub forum?
Collapse
X
-
So, we have this working in our sub-forum. Is there a way to get this to work on the thread view on threads that are posted within the sub-forum?Leave a comment:
-
Solved now. What I actually put in looks a bit different, so I just thought I'd add it here if anyone else wants to do this.
After class="logo-image"> in the header template, I entered this:
Code:<vb:if condition="((int) $_SERVER['QUERY_STRING']) == 96"> <img src="images/misc/vbulletin3_logo_white.gif" alt="Image för forum 96" /> <vb:elseif condition="((int) $_SERVER['QUERY_STRING']) == 323" /> <img src="images/EU3.jpg" alt="Image för forum 323" /> <vb:else /> <img src="{vb : stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /> </vb:if>
Thanks for all the help!Leave a comment:
-
The additional.css template is for CSS only, not your code. You need to add that to the header templateLeave a comment:
-
I've added this in the additional css template:
Code:<vb:if condition="$foruminfo[forumid] == 96"> <img src="victoria_logo_350.jpg" alt="logo" /> <vb:else /> <img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /> </vb:if>
Leave a comment:
-
If you want to change images, then you would put in image code -
HTML Code:<img src="angry.gif" alt="Angry face" />
Thank you!Leave a comment:
-
If you want to change images, then you would put in image code -
HTML Code:<img src="angry.gif" alt="Angry face" />
Leave a comment:
-
How to have a different header image in different sub forum?
We have a forum with different games, and we'd like to have the game logo on top of each sub forum of course. I know how to change this per template, but per sub forum seems more difficult. I found this over at vbulletin.org:
Code:<if condition="$foruminfo[forumid] == 16"> // code for logo 2 <else /> // code for logo 1 </if>
I tried asking over there but have not gotten any reply. Any pointers?Tags: None
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Leave a comment: