I have the guest permission and extra permissions added to my forum...
Moderator: Moderators

#
#-----[ OPEN ]------------------------------------------
#
profile.php
#
#-----[ FIND ]------------------------------------------
#
include($phpbb_root_path . 'includes/usercp_viewprofile.'.$phpEx);
exit;
#
#-----[ BEFORE, ADD ]------------------------------------------
#
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=index.$phpEx", true));
exit;
}
Return to Guest permission [2.0.6/EM]
Users browsing this forum: No registered users and 1 guest