Quote:
Originally Posted by Xceptional
Works like a charm only thing I added in before your code was <if condition="$show['member']"></if>, so that it shows only when a user is logged in. Otherwise when they click on the "New Posts" icon it always says there is none available (since there is no record of posts the person previously looked at while not signed in) :up:
|
thats a great add ... thaks a lot
you can also add it for the new thread .. so the code will be like this
PHP Code:
<!-- San3a.Com Mod -->
<if condition="!in_array($forumid, array(x,x,x,x))">
<table align="right" border="0">
<tr>
<if condition="$show['member']">
<td width="15">
<a href="newthread.php?$session[sessionurl]f=$forum[forumid]">
<img src="$stylevar[imgdir_misc]/newthread.png" border="0" width="14" height="14" hspace="0" alt="New thread" align="left" /></a>
</td>
<td width="15">
<a href="search.php?$session[sessionurl]do=getnew&f=$forum[forumid]">
<img src="$stylevar[imgdir_misc]/newposts.png" border="0" width="14" height="14" hspace="0" alt="New posts" align="left" /></a>
</td>
</if>
<td width="15">
<a target="_blank" href="external.php?type=RSS2&forumids=$forum[forumid]">
<img src="$stylevar[imgdir_misc]/rss_rss.gif" border="0" width="14" height="14" hspace="0" alt="Rss feed" align="left" /></a>
</td>
</tr>
</table>
</if>
<!-- / San3a.Com Mod -->
so you will leave the rss feed for the visitors ..
best regards