Page 4 of 4

Re: Hiding member list from guests

Posted: Sun Oct 14, 2007 3:34 pm
by donnak78631
My file already reads that way, why can people still see my member list?

// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_VIEWMEMBERS);
init_userprefs($userdata);
if ($userdata['user_id'] == ANONYMOUS)
{
redirect(append_sid('login.'.$phpEx));
}
//
// End session management
//

Re: Hiding member list from guests

Posted: Sun Oct 14, 2007 4:24 pm
by dellsystem
donnak78631 wrote:My file already reads that way, why can people still see my member list?
Guests should not be able to. Link to your memberlist page please?

Re: Hiding member list from guests

Posted: Sun Oct 14, 2007 8:39 pm
by donnak78631

Re: Hiding member list from guests

Posted: Sun Oct 14, 2007 8:39 pm
by dellsystem
See? It works. (You have to log out first to check it)

Re: Hiding member list from guests

Posted: Sun Oct 14, 2007 10:47 pm
by donnak78631
I got it, thanks so much!!!