See attached picture to see what this looks like.
Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Home Templates -> forumhome_forumbit_level2_post
Add the red code:
Where X,Y,Z is a comma-separated list of forumids that have images.
After making this change you need to upload the images. Create a new folder named forum_pics inside of the images folder within your forum directory. Upload the images using this naming convention:
forumid.gif
If the forumid of the forum is 3, then you would name its image 3.gif
edit: added style="margin-right: 9px" to the code so the image is spaced slightly from the forum title and description.
Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Home Templates -> forumhome_forumbit_level2_post
Add the red code:
Code:
<tr align="center"> <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td> <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]"> [color=red]<if condition="in_array($forum['forumid'], array(X,Y,Z))"> <img src="images/forum_pics/$forum[forumid].gif" align="left" style="margin-right: 9px" alt="" border="0" /> </if>[/color] <div> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if> </div> <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if> <if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&f=$forum[forumid]">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if> <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> </td> <td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td> <td class="alt1">$forum[threadcount]</td> <td class="alt2">$forum[replycount]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="alt1"><div class="smallfont">$forum[moderators] </div></td> </if> </tr> $childforumbits
After making this change you need to upload the images. Create a new folder named forum_pics inside of the images folder within your forum directory. Upload the images using this naming convention:
forumid.gif
If the forumid of the forum is 3, then you would name its image 3.gif
edit: added style="margin-right: 9px" to the code so the image is spaced slightly from the forum title and description.
Comment