if (!MEMBER) { redirect(BASEDIR."login.php"); }
if (!MEMBER) { redirect(BASEDIR."login.php"); }
(!iMEMBER) { redirect("index.php"); }
Quote
A user name and password are being requested by http://www.alphaextreme.com. The site says: "Please type in the access username and password given. Note: This is not your account. You still have to register later (for those who haven't done so…"
if (!iMEMBER) { redirect(BASEDIR."login.php"); }
the server is redirecting the request for this address in a way that will never complete.
if (!iMEMBER && FUSION_SELF!='login.php') { redirect(BASEDIR."login.php");
}
Quote
if ( I'm NOT a member AND this_page NOT a login.php )
if (iGUEST) {
// forum thread
if (isset($_GET['thread_id']) && !empty($_GET['thread_id']) && isnum($_GET['thread_id'])) {
redirect(BASEDIR.'login.php?from=forum');
}
// single download
if (isset($_GET['download_id']) && !empty($_GET['download_id']) && isnum($_GET['download_id'])) {
redirect(BASEDIR.'login.php?from=download');
}
// explicative messagge
if (isset($_GET['from']) && !empty($_GET['from'])) {
$from = stripinput($_GET['from']);
switch ($from) {
case "forum":
$title = "Redirecting from discussion forum";
$message = "In order to read this forum thread you must be a registered user.";
break;
case "download":
$title = "Redirecting from download section";
$message = "In order to see this download you must be a registered user.";
break;
default:
$title = "Redirecting from a restricted section";
$message = "In order to see this resource (".$from.") you must be a registered user.";
}
opentable($title);
echo "<p>".$message."</p>";
echo "<p>".($settings['enable_registration'] ?
"<a href='".BASEDIR."register.php'>Create an account</a> on this site, or use " :
"Use ")."your username and password to login.</p>";
closetable();
unset($from, $title, $message);
}
}
Category Forum
Modifications and Requests - 8Labels
None yet
Statistics
5 participants
Notifications
You are not receiving notifications from this thread.
Related Questions