Log in

View Full Version : Different Logo's on Forums


beckyvan
05-15-2010, 04:35 PM
I am trying to put different logo's on different boards. I'm trying to use a <if> condition. Everything is working fine, except the logo on my forum home page is showing up twice. Thus in my other forums, the special logo is there, but so is the forum home logo. (twice)! I have attached my code, just need help getting rid of the extra logo.

<!-- logo -->
<a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>

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



<div style="width:600px; text-align: center;"><embed type="application/x-shockwave-flash" wmode="transparent" src="http://w70.photobucket.com/pbwidget.swf?pbwurl=http%3A%2F%2Fw70.photobucket.c om%2Falbums%2Fi117%2Fbeckyvan%2FFlashback%2Fe58290 1f.pbw" height="220" width="280"></a></div>



</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output__________________

<img src="<if condition="$foruminfo['forumid'] == 19">images/Logos/Brady-Bunch-Wallpaper.jpg<else />
<if condition="$foruminfo['forumid'] == 24">images/Logos/cartoon.jpg<else />
$stylevar[titleimage]</if></if>" border="0" alt="$vboptions[bbtitle]" /></a></td>

TheLastSuperman
05-15-2010, 05:12 PM
I am trying to put different logo's on different boards. I'm trying to use a <if> condition. Everything is working fine, except the logo on my forum home page is showing up twice. Thus in my other forums, the special logo is there, but so is the forum home logo. (twice)! I have attached my code, just need help getting rid of the extra logo.

<!-- logo -->
<a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>

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



<div style="width:600px; text-align: center;"><embed type="application/x-shockwave-flash" wmode="transparent" src="http://w70.photobucket.com/pbwidget.swf?pbwurl=http%3A%2F%2Fw70.photobucket.c om%2Falbums%2Fi117%2Fbeckyvan%2FFlashback%2Fe58290 1f.pbw" height="220" width="280"></a></div>



</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output__________________

<img src="<if condition="$foruminfo['forumid'] == 19">images/Logos/Brady-Bunch-Wallpaper.jpg<else />
<if condition="$foruminfo['forumid'] == 24">images/Logos/cartoon.jpg<else />
$stylevar[titleimage]</if></if>" border="0" alt="$vboptions[bbtitle]" /></a></td>

Try:

<!-- logo -->
<a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>

<td align="$stylevar[left]">
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="<if condition="$foruminfo['forumid'] == 19">images/Logos/Brady-Bunch-Wallpaper.jpg<else />
<if condition="$foruminfo['forumid'] == 24">images/Logos/cartoon.jpg<else />
$stylevar[titleimage]</if></if>" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
<div style="width:600px; text-align: center;"><embed type="application/x-shockwave-flash" wmode="transparent" src="http://w70.photobucket.com/pbwidget.swf?pbwurl=http%3A%2F%2Fw70.photobucket.c om%2Falbums%2Fi117%2Fbeckyvan%2FFlashback%2Fe58290 1f.pbw" height="220" width="280"></a></div>
</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

It showed up twice as you left the actual logo in the code near the top, I replaced that with your code near the bottom then removed, this should work I did not test so let me know.

beckyvan
05-15-2010, 05:19 PM
Superman, you rock my world! Thanks!