PDA

View Full Version : Make my "guest count" go away please.


eboggs_jkvl
12-21-2012, 06:23 PM
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:confused:
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.:confused:

TIA,


Boggs

kh99
12-21-2012, 06:41 PM
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).

eboggs_jkvl
12-21-2012, 06:58 PM
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

setishock
12-21-2012, 09:57 PM
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.

eboggs_jkvl
12-21-2012, 10:14 PM
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

kh99
12-21-2012, 10:46 PM
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.

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.

eboggs_jkvl
12-21-2012, 11:58 PM
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 1356138118 at 1356138118 ---------------

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 1356138625 at 1356138625 ---------------

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?

kh99
12-22-2012, 01:06 AM
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):
<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:
<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.

eboggs_jkvl
12-22-2012, 02:25 AM
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):
<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:
<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 1356188883 at 1356188883 ---------------

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 1356188993 at 1356188993 ---------------

Ok, we have a keeper this time.

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

Thanks for the help.


Boggs

--------------- Added 1356189156 at 1356189156 ---------------

New to the VB world, will I need to make this same edit every time I get a VB4 update?

yellowstang73
02-25-2013, 04:28 AM
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.