vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   "Currenly Active Users" anyway to exclude guests? (https://vborg.vbsupport.ru/showthread.php?t=235614)

VisionArtBooks 02-11-2010 02:16 PM

"Currenly Active Users" anyway to exclude guests?
 
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

Quote:

Originally Posted by VisionArtBooks (Post 1980015)
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:

HTML 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:

HTML 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}}</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
Code:

$vbphrase[x_members_and_y_guests]
and change the text from
Code:

{1} members and {2} guests
to

Code:

{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.


All times are GMT. The time now is 06:24 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01043 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete