FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » How to prevent anonymous from viewing members profiles? (-)
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
How to prevent anonymous from viewing members profiles? (-) [message #11054] Tue, 17 June 2003 13:54 Go to next message
Gady is currently offline  Gady   Canada
Messages: 117
Registered: March 2003
Karma: 0
Senior Member
No Message Body

Re: How to prevent anonymous from viewing members profiles? (-) [message #11056 is a reply to message #11054] Tue, 17 June 2003 13:57 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Cannot be done, unless you make changes to the usrinfo.php.t, which would prevent anon user access to the profile page. This check is fairly easy to add and would look something like this:

<?php
if (!_uid) {
exit(
'no access to profile page to anon users');
}
?>


FUDforum Core Developer
Thanks! (-) [message #11072 is a reply to message #11056] Tue, 17 June 2003 15:22 Go to previous messageGo to next message
Gady is currently offline  Gady   Canada
Messages: 117
Registered: March 2003
Karma: 0
Senior Member
No Message Body

Re: Thanks! (-) [message #12116 is a reply to message #11072] Mon, 28 July 2003 23:03 Go to previous messageGo to next message
Nightshade is currently offline  Nightshade   United States
Messages: 9
Registered: July 2003
Karma: 0
Junior Member
I put this at the top of that file, then tried the bottom, and even in the middle where I thought it should go. But my guests still have access to the member's profiles.

I'm not a programmer, I'm a net admin, so you'll have to forgive my lack of coding abilities.

<update>
It doesn't go in that file. You put that code in the findusers.tmpl

I put mine right after {TEMPLATE-DATA: admin_cp} and it worked perfectly.

Thanks for the code!

<final edit, I hope>

My bad, you have to still put it in the above file, to disable them being able to get a member's list, but the code the "Master" posted does stop anon users if they just click on a link name.

[Updated on: Mon, 28 July 2003 23:23]

Report message to a moderator

Re: How to prevent anonymous from viewing members profiles? (-) [message #12125 is a reply to message #11054] Tue, 29 July 2003 19:48 Go to previous messageGo to next message
andre is currently offline  andre   United States
Messages: 26
Registered: July 2003
Karma: 0
Junior Member
How about member's list? Can you restrict certain members from viewing the entire members list?

[Updated on: Tue, 29 July 2003 19:48]

Report message to a moderator

Re: Thanks! (-) [message #12126 is a reply to message #12116] Tue, 29 July 2003 19:50 Go to previous messageGo to next message
Nightshade is currently offline  Nightshade   United States
Messages: 9
Registered: July 2003
Karma: 0
Junior Member
the <update> area I did first blocked them from viewing the members list.

the php file patch they mention blocks out access to other users profile screens.
Re: Thanks! (-) [message #12141 is a reply to message #12126] Tue, 29 July 2003 22:12 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You can either disable the entire member list to everyone but the admin or leave it enabled for all members.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Permission to certain users.
Next Topic: Logo-menu template?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 23:08:00 GMT 2024

Total time taken to generate the page: 0.02284 seconds