Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/razierco/public_html/c/textpattern/lib/txplib_db.php on line 14
Crazier: Secure Memberlist [phpBB mod]

Crazier

Sot-sot since 1985


Journal

Secure Memberlist [phpBB mod]

Oct 5, 07:11 PM

Quick mod requested by daphne for her phpBB forum.

The mod basically checks if the user had logged into the forum before showing the member list, thus keeping the memberlist secure from guest.

// Raz hide member list from unregistered people
if ( !$is_auth[$is_auth_type] )
{
if ( !$userdata[‘session_logged_in’] )
{
redirect(“login.$phpEx?redirect=memberlist.$phpEx”);
}
}
// End Raz hide member list from unregistered people

You can download the mod

p.s. This mod works with easymod.



Sorry I am no longer accepting comments for this article.


Published under CC Attribution 2.5 License .