Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
private member information showing up in Google searches
Avatar
Tim C.
Member
Free Members
sp_UserOfflineSmall Offline
Mar 5, 2013 - 9:06 pm

 You may still, if wanted, turn of the stats at the bottom for guests too…

Turn the stats "on" or "off" ?   That is what apparently is showing up on Google searches is the stats. So, yes, i would definitely like those turned off if a visitor somehow lands inside the Forum page.  HOW to do that???

Thanks Mr Papa!

Avatar
Tim C.
Member
Free Members
sp_UserOfflineSmall Offline
Mar 5, 2013 - 10:42 pm

Yes, even when I'm logged out, and I do a Google search on the website URL + "K"s full name, I see a link to a Forum page. Even though the page displays an "Access denied - you do not have permission to view this page" notice, it still lists ALL the online users!  This is TERRIBLE! as this is a VERY private group that is supposed to be completely secure!

Even clicking the Forum login page displays the currently online users. No! Can't have this!  How do I hide this info from non-members. If the only option is to completely pull that down, so be it.  (At least found where to change the "top posters" and "newest members". I figure that just needs to be gone. Maybe it can come back if I feel that no visitor could EVER see it.)

I need everything inside the Forum to be LOCKED DOWN from any outside intrusion!  The Google search is even display all the subcategories. My client's website is highly personal & emotional stuff! And even the Forum sub-menus and page names can be intensely personal!

Thanks again so very much!!!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 5, 2013 - 10:58 pm

you can get rid of them by removing the template display functions that display them... or just show them to users... you will find all the display functions in the spFoot.php template file in your sp theme... again, be sure to create your own theme...

I think you will easily find which ones are for stats in there...

If you want to only show to logged in users, just wrap the functions in the following:

if ($spThisUser->member) { # all the stats functions would be here }

so the first and last line of those 3 above would get added around the existing stats function calls...

Avatar
Tim C.
Member
Free Members
sp_UserOfflineSmall Offline
Mar 5, 2013 - 11:16 pm

This is good stuff. Totally don't know php.  (I did study Pascal in 1989 though! lol!)

Ok, so the line in spFoot.php is currently:

  • sp_OnlineStats('tagClass=spLeft', __sp('Most Users Ever Online: '), __sp('Currently Online: '), __sp('Currently Browsing this Page: '), __sp('Guest(s)'));

would it now be?:

  • if ($spThisUser->member) {sp_OnlineStats('tagClass=spLeft', __sp('Most Users Ever Online: '), __sp('Currently Online: '), __sp('Currently Browsing this Page: '), __sp('Guest(s)'))};

And this line:

  • sp_NewMembers('tagClass=spLeft spNewMembers', __sp('Newest Members: '));

would now be?:

  • if ($spThisUser->member) {sp_NewMembers('tagClass=spLeft spNewMembers', __sp('Newest Members: '))};

Thanks for all the hand-holding Mr Papa!

Tim

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 5, 2013 - 11:48 pm

you are missing the point... what do you see when you visit your actual site as a guest? anything? did you remove or hide the stats as suggested?

If google crawled your site before the permissions were in place, then nothing we can do about it... they already got in... but if you have it protected now, they cant go any more...

what do you mean by forum login page???? we dont have one.... wp does...

did you verify that the guest permission has access to nothing?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 5, 2013 - 11:50 pm

so you only want to hide part of the stats??? might look odd...

not quite...

if ($spThisUser->member) {sp_OnlineStats('tagClass=spLeft', __sp('Most Users Ever Online: '), __sp('Currently Online: '), __sp('Currently Browsing this Page: '), __sp('Guest(s)'));}

and

if ($spThisUser->member) {sp_NewMembers('tagClass=spLeft spNewMembers', __sp('Newest Members: '));}

Avatar
Tim C.
Member
Free Members
sp_UserOfflineSmall Offline
Mar 6, 2013 - 12:25 am

Thanks Mr Papa,

If a non-member clicks the Forum page, they will still see the list of Members "Currently Online"! Even though they are not members, so that is definitely what I've got to hide.  And actually, I found where to set the # of Top Posters display to = 0. I don't think that was something they ever really wanted.

I added the code. Logged out, and that very private information is not visible! Woo-hoo!!  (I'll be crowned a hero for sure!)

I think I just have one more thing, but I'm going to sleep on it for now. Thanks for all your help!!!!!

tim

 

 

 

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 6, 2013 - 3:52 am

You're welcome

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625