• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Login Button link on gesior

RazorBlade

Retired Snek
Joined
Nov 7, 2009
Messages
2,015
Solutions
3
Reaction score
629
Location
Canada
I was wondering where the link to account management is when clicking the login button on gesior:
loginbutton.png


When using a redirect script:
PHP:
<?php
	if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
		$uri = 'https://';
	} else {
		$uri = 'http://';
	}
	$uri .= $_SERVER['HTTP_HOST'];
	
	if ($uri == "http://avenged-eternity.no-ip.org") {
		header('Location: '.$uri.'/Avenged/');
	}
	else if ($uri == "http://alscara.no-ip.net") {
		header('Location: '.$uri.'/Alscara/');
	}
	else {
		//header('Location: '.$uri.'/Avenged/');
		echo "If your trying to connect with localhost then specify a path.";
	}
	exit;
?>
The login button redirects to the latest news instead of account management, but the account management button in the Account menu still works properly. How can I fix this? Where is the login button's link set? I looked in several files for it but found nothing o.o
 
Code:
function LoginButtonAction()
{
  if(loginStatus == "false") {
    window.location = LINK_ACCOUNT + "?subtopic=accountmanagement";
  } else {
    window.location = LINK_ACCOUNT + "?subtopic=accountmanagement";
  }

in layout.php
 
PHP:
// initialisation of the loginbox status by the value of the variable 'loginStatus' which is provided to the HTML-document by PHP in the file 'header.inc'
function LoadLoginBox()
{

Which layout are you using, and which AAC?
 
Well I can't test it right now cause I'm not at the host computer, but if I go to the last line and hit enter, it shows that there is an unclosed occurrence somewhere in the script, so it probably wouldn't work anyways.
 
Back
Top