you may find the mod in the "announcement" inside this forum.
the how-to cover how to add the mod into 2 pages...index and member list
after this you may control exactly who may see and use these pages, fully suporting usergroups.
in your case you also need to "customice" the mod into other pages as well, you may takea look inside my pre-loaded pack to see how I have added it into other pages. e.g. "seach" page.
BUT, it sounds more like you do not need this mod, if you simply whan to stop all not registerd useds from browsing your site, it would be better with less CPU demanding mod, a mod witch does not support usegroups does exisit, and will proberbly suit your needs better. go look
www.phpbb.comor simply put this code inside every page you would restrict.
(rigth after the code looking like this
// End session management
//
)
if( !$userdata['session_logged_in'])
{
message_die(GENERAL_MESSAGE, $lang['Not_Authorised']);
}
OR
if( !$userdata['session_logged_in'])
{
$header_location = ( @preg_match("/Microsoft|WebSTAR|Xitami/", getenv("SERVER_SOFTWARE")) ) ? "Refresh: 0; URL=" : "Location: ";
header($header_location . append_sid("login.$phpEx?redirect=memberlist.$phpEx", true));
}
pay attention to the highlighted REDIRECT, this should be changed to the actual page name, so the user wil be redirected back to the correct page after successful login