View Full Version : Logo change - defined by forum ID
zurih
02-04-2005, 08:55 AM
Desc: The logo of the forum will be different in each forum which will be defined by forum id.
in forumhome it will display the default logo.
possible?
Colin F
02-04-2005, 09:32 AM
Desc: The logo of the forum will be different in each forum which will be defined by forum id.
in forumhome it will display the default logo.
possible?
you could just add the variable $forumid to the template, where the logo is.
then, upload different logos with that variable in the filename.
Silmarillion
05-31-2006, 08:34 PM
Hello,
I tried to get it working with this code:
<!-- logo -->
<a name="top"></a>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr><td align="left" style="background-image: url(path/nav_back.gif);"><a href="path/">
<if condition="in_array($forum['forumid'], array(1))">
<div class="smallfont"><img src="forum/logo1.gif" alt="" /></div>
<else />
<if condition="in_array($forum['forumid'], array(2))">
<div class="smallfont"><img src="forum/logo2.gif" alt="" /></div>
<else />
<if condition="in_array($forum['forumid'], array(3))">
<div class="smallfont"><img src="forum/logo3.gif" alt="" /></div>
<else />
<img src="forum/logo.gif" border="0" alt="" />
</if></if></if>
</a>
</td>
</tr>
</table>
<!-- /logo -->But the Condition doesn't work. What`s the Problem?
Zachariah
05-31-2006, 10:20 PM
Add a banner image to each forum
https://vborg.vbsupport.ru/showthread.php?t=61555
Silmarillion
06-01-2006, 07:01 AM
Hello Zachariah,
I don`t want to add some banners. I only want to change the header-logo of the default-style for some subforums.
Problem solved.
$forum['forumid'] doesn`t work in the header. So you have to replace this variable with $forumid.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.