How do I remove 'Currently Active Users' so only Admin and Mods can see this. Id like to make it so every one can view users active in the past 24 hours, but not 'Currently Active Users' (at the moment every one can see both) but I cant seem to find out how to change the permissions for Currently Active Users. I hope that all makes sense?
Mhm... I suppose you would be able to copy the moderator tag... Code: <if condition="can_moderate()">Whos Online Code Thing Goes Here</if> That should work. But I'm not that clever with coding D:
On FORUMHOME find this... Code: <if condition="$show['loggedinusers']"> <!-- logged-in users --> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a> <a href="online.php$session[sessionurl_q]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>) </td> </tr> </tbody> <tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]"> <tr> <td class="alt2"><a href="online.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td> <td class="alt1" width="100%"> <div class="smallfont"> <div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div> <div>$activeusers</div> </div> </td> </tr> </tbody> <!-- end logged-in users --> Wrap the <if condition="can_moderate()"> and </if> around that... Should fix it for how you want it.
ok..can't u just set this in usergroup permissions also? Instead of doing all this coding? I think you can just go to guests, members, and whoever else u DoNT want to see and select "see whos online" and turn it off.... im 99% sure u can do this...
Yep, disabling 'Whos Online' only stops them viewing the Whos Online where it tells who ever is viewing Whos Online what every person who is online is doing on the forums. Which isnt what I wanted. Its all good though, Only Mods and Admin can view it now, which is what I wanted, many thanks to Ryan!! I searched EVERYWHERE and couldnt find ANYTHING on it.