View Full Version : "Currenly Active Users" anyway to exclude guests?
VisionArtBooks
02-11-2010, 02:16 PM
I am very new to vBulletin and I have never installed a modification so please excuse my ignorance!
Is there a mod or a way to have the "Currently Active Users" ONLY show the actual users that are currently logged in and NOT show all of the guests?
The reason for my queston: We have over 300 guests on at any given time! So it makes the numbers look a little funny. When I look at who they are many are spiders and bots.
Any suggestions would be very helpful! Remember I am really new at this stuff so could you go easy on me?
THANKS!
borbole
02-11-2010, 07:41 PM
I am very new to vBulletin and I have never installed a modification so please excuse my ignorance!
Is there a mod or a way to have the "Currently Active Users" ONLY show the actual users that are currently logged in and NOT show all of the guests?
The reason for my queston: We have over 300 guests on at any given time! So it makes the numbers look a little funny. When I look at who they are many are spiders and bots.
Any suggestions would be very helpful! Remember I am really new at this stuff so could you go easy on me?
THANKS!
So you don''t want to show the guests at all at the online area?
Go to Acp-Style Manager-Edit Templates-FORUMHOME and change the following code:
<!-- logged-in users -->
<div id="wgo_onlineusers" class="wgo_subblock">
<h3><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="{vb:rawphrase currently_active_users}" />{vb:rawphrase currently_active_users}</h3>
<div>
<p>{vb:rawphrase there_are_x_online, {vb:raw totalonline}} <span class="shade">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</span></p>
<p>{vb:rawphrase most_users_ever_online_was_x_y_at_z, {vb:raw recordusers}, {vb:raw recorddate}, {vb:raw recordtime}}</p>
<ol class="commalist" id="wgo_onlineusers_list">
{vb:raw activeusers}
</ol>
</div>
</div>
<!-- end logged-in users -->
To the following:
<!-- logged-in users -->
<div id="wgo_onlineusers" class="wgo_subblock">
<h3><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="{vb:rawphrase currently_active_users}" />{vb:rawphrase currently_active_users}</h3>
<div>
<p>{vb:rawphrase there_are_x_online, {vb:raw totalonline}} <span class="shade">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}}</span></p>
<p>{vb:rawphrase most_users_ever_online_was_x_y_at_z, {vb:raw recordusers}, {vb:raw recorddate}, {vb:raw recordtime}}</p>
<ol class="commalist" id="wgo_onlineusers_list">
{vb:raw activeusers}
</ol>
</div>
</div>
<!-- end logged-in users -->
Then go to Languages and Phrases, make a search for $vbphrase[x_members_and_y_guests]
and change the text from {1} members and {2} guests
to
{1} members
Hope it helps.
ChopSuey
02-11-2010, 09:37 PM
You don't need to edit templates there is admincp options...
AdminCP > Settings > vBulletin Options > Who Is Online Options
"Show guests?" set to NO
borbole
02-11-2010, 11:35 PM
I had missed that option. But I believe disabling it from there it still displays guests. @VisionArtBooks, the easiest way to do is as ChopSuey said but if you need to remove the word 'and number guests' from the online list you still need to do the change at the Phrase var.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.