Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.
Help keep Vanilla free:1 to 14 of 14
function Check(&$Context) {
if (($this->UserID == 0 && !$Context->Configuration['PUBLIC_BROWSING']) || ($this->UserID > 0 && !$this->User->PERMISSION_SIGN_IN)) {
if ($this->UserID > 0 && !$this->User->PERMISSION_SIGN_IN) $this->End($Context->Authenticator);
header('location: '.AppendUrlParameters($Context->Configuration['SAFE_REDIRECT'], 'ReturnUrl='.GetRequestUri()));
die();
}
}<?php
if ($this->Context->Session->UserID > 0)
{
$URL="http://path.to/forum/?Page=MEMBER";
header ("Location: $URL");
}
else
{
$URL="http://path.to/forum/?Page=GUEST";
header ("Location: $URL");
}
?>RewriteEngine On
Options +FollowSymLinks -Multiviews
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^$ ?Page=DOOR [L]
Posted: Sunday, 1 April 2007 at 3:37PM
Posted: Sunday, 9 September 2007 at 11:59AM
Posted: Thursday, 29 May 2008 at 6:32AM
1 to 14 of 14