Log in

View Full Version : Change banners for different forums


Kahoona
05-19-2008, 08:54 PM
Is there a mod out there that, when making a new forum, I can change the banner image only? I don't want to make a new style for each forum.

Guest210212002
05-20-2008, 12:43 AM
Are you referring to the site logo image? If so, yes you can do that with conditionals. If that's what you mean, I'll post up how. :)

Kahoona
05-20-2008, 03:36 PM
Are you referring to the site logo image? If so, yes you can do that with conditionals. If that's what you mean, I'll post up how. :)

Ok here is my site:

http://www.apexclique.com

Now when you go to the Age of Conan section, I want the "APEX" banner to change to something else. Creating different styles would seem foolish to me.

veenuisthebest
05-20-2008, 04:01 PM
try this :-

Find this in header template

<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions" /></a></td>

Replace with this:-

<if condition="$forumid == [B]X">
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="your image.gif" border="0" alt="$vboptions[bbtitle]" /></a></td>
<else>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
</if>

Replace X with forum ID where you want a different logo. Not tested, but I hope it works !!