My bad, I thought the forums you were trying to edit were on ForumHome (couldn't tell from the picture). I looked through the templates again and what you need to edit for ForumDisplay is
forumhome_forumbit_level1_post...
Code:
<tbody>
<tr align="center">
<td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>
<td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td>
<td>
<div>
<div style="float:left"><img src="your image"/></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]" rel="nofollow">$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>
</tr>
</table>
</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>
</tbody>
<if condition="$childforumbits">
<tbody>
$childforumbits
</tbody>
</if>
If you want the image to show on specific forums, you can do the following...
Code:
<if condition="$forum[forumid]==X">
<div style="float:left"><img src="your image" /></div>
</if>
Where "
X" is the forum ID you want.
OR If you want multiple forums to have different images (like you showed in your first post), you can include the following code instead...
Code:
<if condition="$forum[forumid]==X OR $forum[forumid]==Y OR $forum[forumid]==Z">
<div style="float:left"><img src="your path/$forum[forumid].gif"/></div>
</if>
Here, you would replace
your path with the directory where you save the images, and you would name the images X.gif, Y.gif, and Z.gif. X, Y, Z (etc) are the IDs of the forums you wish to give images, we placed a conditional at the top so that you dont get an empty div in Firefox or the missing image icon in IE when the image file doesn't exist (for a forum ID that you didn't make an image for).
hope that helped.
Quote:
Originally Posted by upsetter
will this work for 3.6.0?...
|
I haven't installed 3.6.0 yet, but I don't see why not. It's a simple template edit.