(2014-05-21, 03:54 AM)Leefish Wrote: [ -> ]so basically you dont want the ajax read? The function where if you click on the forum icon it marks it as read? In that case just wrap the img src in a href. Look in the forum bit templates - forumbit_depth2_forum
<a href="{$forum_url}" class="icon-circle-arrow-right">YOUR IMAGE</a>
Hi Leefish, thank you! But not really sure how I'd do that.
My forumbit_depth2_forum reads:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="6">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><br /><div class="smalltext">{$forum['description']}</div></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" colspan="3"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />
But each image is different. I just did them like: 1.png, 2.png, 3.png, 4.png etc, etc..
I'm assuming that with this:
<a href="{$forum_url}" class="icon-circle-arrow-right">YOUR IMAGE</a>
I'd add it like:
<a href="{$forum_url}" class="icon-circle-arrow-right">1.png</a>
<a href="{$forum_url}" class="icon-circle-arrow-right">2.png</a>
<a href="{$forum_url}" class="icon-circle-arrow-right">3.png</a>
<a href="{$forum_url}" class="icon-circle-arrow-right">4.png</a>
Etc., Etc.??
If so, where would I add it? If
not, which is probably along the lines I'm on, how would I do it?
Again, thank you so much Leefish!