Zonet
Web Developer
I think players with name like makr0'mango wont work
@up
I have the same problem can someone answear?
why does it says character does note exist. And yes i've set my database connection.
Aff can't edit. Also I can't make it work. I have set everything, and it still says "Character with that name does not exist" ._.
What is it?
It is a PHP script which creates an illusion of an actual image, which may be used as forum signatures etc.
What does it do?
It allows you to see certain information about a specific player in a PHP GD image.
What information does it show?
It shows the name , free/premium account , online/offline status , level , profession , residence , guild (if any) , position (if any) and last login of a specific player.
How do I use it?
If you use unnamed-acc-maker by Gesior.pl, follow this small tutorial.Open characters.php and find this row (approximately at line 155~):If you however do not use unnamed-acc-maker by Gesior.pl you can easily access your images by adding /signatures.php?character=YOURCHARACTER&image=0 to the URL bar (when accessing the signatures.php file obviously).
Below that, add these lines:PHP:$main_content .= '</TD></TR></TABLE>';
PHP:// Signature by makr0mango. function randomSignature( $folder ) { $files = scandir ( "./$folder/" ); $signature = array(); foreach ( $files as $file ): if ( substr ( strtolower ( $file ) , -4 ) == ".png" ) $signature[] = $file; endforeach; return rand(0,count($signature)-1); } $random = randomSignature("signatures"); $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='100' onclick='this.select();' value='[url=\"" . $_SERVER['HTTP_HOST'] . "\"][IMG]" . $_SERVER['HTTP_HOST'] . "/signature.php?character=" . $name . "&image=" . $random . "[/IMG][/url]' /></TD></TR>"; $main_content .= "<TR BGCOLOR=".$config['site']['lightborder']."><TD WIDTH=20%>Direct Link:</TD><TD><input type='text' size='100' onclick='this.select();' value='" . $_SERVER['HTTP_HOST'] . "/signature.php?character=" . $name . "&image=" . $random . "' /></TD></TR>"; $main_content .= "<TR BGCOLOR=".$config['site']['darkborder']."><TD COLSPAN='2' style='text-align: center;'><img src='signature.php?character=" . $name . "&image=" . $random . "' /></TD></TR>"; $main_content .= '</TD></TR></TABLE>'; // Signature by makr0mango.
Files included in download:
- signatures.php
- signatures/blue.png
- signatures/green.png
- signatures/red.png
- signatures/arial.ttf
- signatures/signatures.psd
Download Link:
http://www.madphp.org/PHP-Character-Signature-makr0mango.rar