PDA

View Full Version : Images where statusicons are, figured it out, but having problems.


LGKeiz
12-29-2010, 02:54 AM
I was able to get the statusicon to change on a specific section with the if condition

The code:


<vb:if condition="$forum[forumid] == 2"><img src="http://legacygamers.net/epicface.jpg" border="0" class="forumicon"/></vb:if>
<vb:if condition="$forum[forumid] == 7"><img src="http://legacygamers.net/fireplace.jpg" border="0" class="forumicon"/>

<vb:else />

<img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" /></vb:if>


I'm trying to include two forumids, it sorta works BUT it's showing both the normal icon and the image I specified.

Any idea how to fix this?

demo; legacygamers.net

--------------- Added 1293644747 at 1293644747 ---------------

anyone?