Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-21-2012, 06:23 PM
eboggs_jkvl eboggs_jkvl is offline
 
Join Date: Feb 2005
Location: Jacksonville Florida
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Make my "guest count" go away please.

On the bottom of the forum, I show users online.

I see something like 8 members and 4 guests

My forum is completely private. All IDs are individually approved.
My permissions for "unregistered or not logged in" are set to "NO" in all options on ALL forums.

Why are there guests being shown?

My "Who's Online options are:
Show Who's online: Yes
Refresh: 5 seconds
Show guests: No
Resolve IP: Yes
Show Spiders: No

Some of the members are paranoid. They think there are "guests" lurking that can't be seen who can spy on the forum. I have that forum locked down. If you aren't registered AND approved you don't see squat.

How do I get the "guest" count to show "0" and STAY there.

TIA,


Boggs
Reply With Quote
  #2  
Old 12-21-2012, 06:41 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think you could edit the phrase "x_members_and_y_guests", and enter a translation at the bottom that just says "{1} members". (or maybe "{1} members and 0 guests" if you prefer).
Reply With Quote
  #3  
Old 12-21-2012, 06:58 PM
eboggs_jkvl eboggs_jkvl is offline
 
Join Date: Feb 2005
Location: Jacksonville Florida
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I understand. You're suggesting that I edit the line to only allow the members to show and then have the guest stop being "read" by VB4 and simply show the "0" as a text that doesn't have to read from VB4?

Dare I ask why the guests even tallies now? I think that I've shut down the "guest" access and the VB4 should show a 0 as it is.

Boggs
Reply With Quote
  #4  
Old 12-21-2012, 09:57 PM
setishock setishock is offline
 
Join Date: Feb 2008
Location: Houma, La.
Posts: 1,177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can waltz right in to the private sections. Southern > the plantation
Texas > when I get my $h!t fixed.

Doesn't look like it's completely private. I can get that far but not see any other posts. I would venture you'd have to make the whole shooting match private. And I came in as a guest.
Reply With Quote
  #5  
Old 12-21-2012, 10:14 PM
eboggs_jkvl eboggs_jkvl is offline
 
Join Date: Feb 2005
Location: Jacksonville Florida
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, sir, maybe you should go to the correct forum that is running the VB4 and not the LS2.com site that is open to the public.

Try this one: http://www.jaxvette.com/forum/forum.php

See how far you get into that site as that's the private site for the Jacksonville Corvette Club where I'm having the "Guest" count problem.


Boggs
Reply With Quote
  #6  
Old 12-21-2012, 10:46 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by eboggs_jkvl View Post
Ok, I understand. You're suggesting that I edit the line to only allow the members to show and then have the guest stop being "read" by VB4 and simply show the "0" as a text that doesn't have to read from VB4?
Yes. It seems like a reasonable solution if you're certain that guests can't access your site and you only want to stop the registered members from worrying.

Quote:
Dare I ask why the guests even tallies now? I think that I've shut down the "guest" access and the VB4 should show a 0 as it is.

Boggs
I'd have to test it to find out for sure, but I think what happens is that anyone who accesses any page, even if it ends up with a "no permission" message, is assigned a session, and any session assigned to someone who's not logged in is counted as a guest.
Reply With Quote
  #7  
Old 12-21-2012, 11:58 PM
eboggs_jkvl eboggs_jkvl is offline
 
Join Date: Feb 2005
Location: Jacksonville Florida
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
Yes. It seems like a reasonable solution if you're certain that guests can't access your site and you only want to stop the registered members from worrying.



I'd have to test it to find out for sure, but I think what happens is that anyone who accesses any page, even if it ends up with a "no permission" message, is assigned a session, and any session assigned to someone who's not logged in is counted as a guest.

I see 2 members and 5 guests right now on my site. I click on "7 users on line" and I see the 2 members but not any thing shows as "guest". You might be correct about the session count. It may be the easiest to just edit a small white lie into that section and have the darn thing simply read 0 and not chase at windmills to have VB4 correct it to 0.


Boggs

--------------- Added [DATE]1356138118[/DATE] at [TIME]1356138118[/TIME] ---------------

Quote:
Originally Posted by setishock View Post
I can waltz right in to the private sections. Southern > the plantation
Texas > when I get my $h!t fixed.

Doesn't look like it's completely private. I can get that far but not see any other posts. I would venture you'd have to make the whole shooting match private. And I came in as a guest.
I read my response to you and it didn't come out at I intended. It was a bit harsh.


First, thank you for taking the trouble to try and help me, I really do appreciate it. I guess I should have mentioned the jaxvette forum in my OP to help make it clearer.

Sorry, if I didn't appear too polite in my previous response.

Boggs

--------------- Added [DATE]1356138625[/DATE] at [TIME]1356138625[/TIME] ---------------

I just did the edit and that still leaves an issue. I see 7 users on line and 2 members and 0 guests. Now the math doesn't add up. It needs to be 2 users on line to match the 2 members that are actually online.

I thought the edit was a quick easy fix.

This is not simple, huh?
Reply With Quote
  #8  
Old 12-22-2012, 01:06 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by eboggs_jkvl View Post
I just did the edit and that still leaves an issue. I see 7 users on line and 2 members and 0 guests. Now the math doesn't add up. It needs to be 2 users on line to match the 2 members that are actually online.

I thought the edit was a quick easy fix.

This is not simple, huh?
Yeah, sorry, I didn't think of that. But what you can do is edit template FORUMHOME, and look for this line (you can search for there_are_x_y_online_link):
Code:
<p>{vb:rawphrase there_are_x_y_online_link, {vb:raw totalonline}, {vb:raw session.sessionurl_q}} <span class="shade">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</span></p>

and change {vb:raw totalonline} to {vb:raw numberregistered}, like:
Code:
<p>{vb:rawphrase there_are_x_y_online_link, {vb:raw numberregistered}, {vb:raw session.sessionurl_q}} <span class="shade">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</span></p>

In fact you could have changed this line to say whatever you wanted instead of translating that other phrase, but I didn't think of it.
Reply With Quote
  #9  
Old 12-22-2012, 02:25 AM
eboggs_jkvl eboggs_jkvl is offline
 
Join Date: Feb 2005
Location: Jacksonville Florida
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
Yeah, sorry, I didn't think of that. But what you can do is edit template FORUMHOME, and look for this line (you can search for there_are_x_y_online_link):
Code:
<p>{vb:rawphrase there_are_x_y_online_link, {vb:raw totalonline}, {vb:raw session.sessionurl_q}} <span class="shade">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</span></p>

and change {vb:raw totalonline} to {vb:raw numberregistered}, like:
Code:
<p>{vb:rawphrase there_are_x_y_online_link, {vb:raw numberregistered}, {vb:raw session.sessionurl_q}} <span class="shade">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</span></p>

In fact you could have changed this line to say whatever you wanted instead of translating that other phrase, but I didn't think of it.
Ok, this old geezer is ready for bed. I'll give your edit a try tomorrow. Thanks for the help.

Boggs

--------------- Added [DATE]1356188883[/DATE] at [TIME]1356188883[/TIME] ---------------

Ok, the math is getting better. I need to go in now and do the first edit again where the guests show "0" as text as opposed to a calculated numeric.

I think this is going to fix it for sure.

I'll be back...

--------------- Added [DATE]1356188993[/DATE] at [TIME]1356188993[/TIME] ---------------

Ok, we have a keeper this time.

I see the registered member "count" and 0 guests.

Thanks for the help.


Boggs

--------------- Added [DATE]1356189156[/DATE] at [TIME]1356189156[/TIME] ---------------

New to the VB world, will I need to make this same edit every time I get a VB4 update?
Reply With Quote
  #10  
Old 02-25-2013, 04:28 AM
yellowstang73 yellowstang73 is offline
 
Join Date: Dec 2009
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the bottom right hand corner you have 'Jacksonville Corvette Club'. When i click it I go to http://www.jaxvette.com/ is that part of your site? The page with the pictures? If I can see your pictures and site Home page you counter will count me. Stay with the fake number and quit worrying about it.
Nice day out I'm going to drive the C5 tomorrow.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:54 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.08208 seconds
  • Memory Usage 2,264KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete