tenors
03-08-2011, 03:20 AM
I would like for a specific forum not to show up (or to show up as "anonymous" when users view Who's Online. I was able to modify the code a little, but it only works correctly if the user is viewing the forum. In order to get it to show "anonymous" when viewing a thread within the forum, I have to add another if with all the thread ids . . . and then if the user is replying or doing anything else within the forum it's STILL showing up with the users info.
Is there some simple condition I can apply to hide everything if the user is within this specific forum?
example modification from whosonlinebit - I also have the link going to a default user:
<if condition="$userinfo[forumid]==136">
<a href="member.php?u=241">anonymous</a>
$userinfo[hidden]
<else /><if condition="$userinfo['threadid']==944 OR $userinfo['threadid']==943">
<a href="member.php?u=241">anonymous</a>
$userinfo[hidden]
<else />
<a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[musername]</a>
$userinfo[hidden]<if condition="$show['buddy']">+</if>
</if></if>
Thanks in advance for any help!
Is there some simple condition I can apply to hide everything if the user is within this specific forum?
example modification from whosonlinebit - I also have the link going to a default user:
<if condition="$userinfo[forumid]==136">
<a href="member.php?u=241">anonymous</a>
$userinfo[hidden]
<else /><if condition="$userinfo['threadid']==944 OR $userinfo['threadid']==943">
<a href="member.php?u=241">anonymous</a>
$userinfo[hidden]
<else />
<a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[musername]</a>
$userinfo[hidden]<if condition="$show['buddy']">+</if>
</if></if>
Thanks in advance for any help!