PDA

View Full Version : Show Users Browsing Threads only for admins


Seb@
08-27-2008, 11:48 PM
please anyone can create this



THANKSSSSSSSSS

--------------- Added 1219958181 at 1219958181 ---------------

anyone ??????

Seb@
08-29-2008, 07:13 PM
anyone can create this

Twilkey
08-29-2008, 09:09 PM
Find This in your SHOWTHREAD template
<if condition="$show['activeusers']">
<!-- currently active users -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="2">
<phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
</td>
</tr>
<tr>
<td class="alt1" colspan="2">
<span class="smallfont">$activeusers</span>
</td>
</tr>
</table>
<!-- end currently active users -->
</if>Replace it with this

<if condition="is_member_of($bbuserinfo, 6)"><if condition="$show['activeusers']">
<!-- currently active users -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="2">
<phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
</td>
</tr>
<tr>
<td class="alt1" colspan="2">
<span class="smallfont">$activeusers</span>
</td>
</tr>
</table>
<!-- end currently active users -->
</if></if>


This is assuming that your admin group is the default. If it is not then change the number in the first if statement or post the number and I will fix the code.

Seb@
08-29-2008, 10:19 PM
thanks men work perfect . if you can post this in the right section , someone you can help well and that my best could create as a product, thank you very much

Toxist
08-30-2008, 11:32 PM
Thank you installed it, but where to see the results? or is it only in the admin Panel? :confused:

Seb@
08-31-2008, 04:22 PM
no men in threads , you need activate the option user browsing threads