• 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!

[Gesior AAC] Improved Signatures (now with cache!!!)

Status
Not open for further replies.
No problem. :_)
 
well, in mozilla when I'm trying to open sig, it says: picture cannot be shown because it contains errors(in my language). Even with test mode = true.
In opera I got empty image, no errors at all.
Internet Explorer said: <b>Parse error</b>: syntax error, unexpected '?' in <b>C:\Server\Xampp\htdocs\signatures\cache\91.png</b> on line <b>226</b><br />

Any ideas? xD

p.s. btw, there are sigs created in cache folder!
 
well, in mozilla when I'm trying to open sig, it says: picture cannot be shown because it contains errors(in my language). Even with test mode = true.
In opera I got empty image, no errors at all.
Internet Explorer said: <b>Parse error</b>: syntax error, unexpected '?' in <b>C:\Server\Xampp\htdocs\signatures\cache\91.png</b> on line <b>226</b><br />

Any ideas? xD

p.s. btw, there are sigs created in cache folder!
Send me a PM with your TeamViewer credentials, please.

Find $MadGD->testMode = false; and change false to true. Tell me if you get any errors.
 
Absolute Mango

I changed on true and the same error
 
All right, I'm going to install a brand new copy of Gesiors AAC, and try to follow my tutorial on how to add it. If I receive the same error as everyone else, I will attempt to fix it and upload a new package with the fixes.
 
I honestly did not receive any issue with it at all... do you have TeamViewer?
 
Haha, I actually added a bump at the top when I got it, but decided to remove it.
 
PHP:
// MadPHP.org Signature
if ( $player->getCustomField( 'madphp_signature' ) == 1 )
{
    $main_content .= '<br><TABLE BORDER=0><TR><TD></TD></TR></TABLE><TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR BGCOLOR='.$config['site']['vdarkborder'].'><TD COLSPAN=2 CLASS=white><B>Signature</B></TD></TR>';
    $main_content .= "<TR BGCOLOR=".$config['site']['darkborder']."><TD WIDTH=20%>Forum Link:</TD><TD><input type='text' size='75' onclick='this.select();' value='[url=\"http://" . $_SERVER['HTTP_HOST'] . "\"][IMG]http://" . $_SERVER['HTTP_HOST'] . "/signature.php?character=" .$player->getName(). "[/IMG][/url]' /></TD></TR>";
    $main_content .= "<TR BGCOLOR=".$config['site']['lightborder']."><TD WIDTH=20%>Direct Link:</TD><TD><input type='text' size='75' onclick='this.select();' value='http://" . $_SERVER['HTTP_HOST'] . "/signature.php?character=" .$player->getName(). "' /></TD></TR>";
    $main_content .= "<TR BGCOLOR=".$config['site']['darkborder']."><TD COLSPAN='2' style='text-align: center;'><img src='signature.php?character=" .$player->getName(). "' alt='' /></TD></TR>";
    $main_content .= '</TD></TR></TABLE>';
}
// MadPHP.org Signature  
			if(!empty($comment))
			{
				if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++;
				$main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD VALIGN=top>Comment:</TD><TD>'.$comment.'</TD></TR>';
			}
i have this code, all files from your packet and
signatures doesnt show
 
I decided to close the topic, due to way too many people are having problems with integrating my script into Gesiors AAC. Once I get the time to fix it, I will release it.

Sorry guys.
 
Status
Not open for further replies.
Back
Top