Allow only registered users to view the memberlist

This forum is now closed as part of retiring phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

This forum is now closed due to phpBB2.0 being retired.
Post Reply
tysoh
Registered User
Posts: 25
Joined: Wed Jun 02, 2004 2:03 pm

Allow only registered users to view the memberlist

Post by tysoh »

Is there a mod that allow only registered users to view the memberlist
conanqtran
Registered User
Posts: 308
Joined: Tue Mar 26, 2002 4:19 am
Contact:

Post by conanqtran »

i think it has been done before, but u can try this:

Code: Select all

OPEN memberlist.php

FIND

//
// End session management
//

[AFTER, ADD]
// Stop anonymous memberlist viewing
if( !$userdata['session_logged_in'] )
{
	header("Location: " . append_sid($phpbb_root_path . "login." . $phpEx . "?redirect=memberlist.php"));
}
cheers
User avatar
morpheus2matrix
Former Team Member
Posts: 9171
Joined: Wed Apr 10, 2002 7:31 pm
Location: France
Contact:

Post by morpheus2matrix »

Former phpBB MOD-Team Member -

Forgive my bad English :(

No support by PM/Email - Thanks - You can thanks me here :) - Pay me for installing MOD's :lol:
Post Reply

Return to “[2.0.x] MOD Requests”