This hack allows you to display your forum statistics in an image,whichyou can use as your signature in most forums (like mine).
If you have any trouble, please post here or in my forum for a good response. Please Click INSTALL, otherwise if an important fix becomes available, you will not be notified.
Now with truetype font support and line breaks. Fixed online userscode(was resetting 'most users online'). New easy support for GD2 andbelow.
Attached pixel font for use in your signatures, must be in all capitals, at size 6 to work appropriately.
New! Attached signature colourgenerator application. Useful to work out the colour scheme of yoursignature. Displays the RGB code for picked colour, and also allows forHEX to RGB conversion.
Warning: imagecreatefromjpeg(/public_html/images/sig.jpg): failed to open stream: No such file or directory in /home/rkqxhnvj/public_html/forums/signature.php on line 208
Warning: imagecopy(): supplied argument is not a valid Image resource in /home/rkqxhnvj/public_html/forums/signature.php on line 225
Warning: imagettftext(): Could not find/open font in /home/rkqxhnvj/public_html/forums/signature.php on line 238
Warning: Cannot modify header information - headers already sent by (output started at /home/rkqxhnvj/public_html/forums/signature.php:208) in /home/rkqxhnvj/public_html/forums/signature.php on line 242
PNG IHDRÔw#ÛPLTEÿÿÿ$¡¼tRNS@æØfIDATxí Á  ÷Om7 'äSP£QIEND®B`
Warning: imagejpeg(): Unable to open '/public_html/images/signature.jpg' for writing in /home/rkqxhnvj/public_html/forums/signature.php on line 244
Warning: imagecreatefromjpeg(/public_html/images/sig.jpg): failed to open stream: No such file or directory in /home/rkqxhnvj/public_html/forums/signature.php on line 208
Warning: imagecopy(): supplied argument is not a valid Image resource in /home/rkqxhnvj/public_html/forums/signature.php on line 225
Warning: imagettftext(): Could not find/open font in /home/rkqxhnvj/public_html/forums/signature.php on line 238
Warning: Cannot modify header information - headers already sent by (output started at /home/rkqxhnvj/public_html/forums/signature.php:208) in /home/rkqxhnvj/public_html/forums/signature.php on line 242
?PNG IHDR?w?#?PLTE???$????tRNS@??fIDATx??? ? ?Om7 ?'?SP?QIEND?B`?
Warning: imagejpeg(): Unable to open '/public_html/images/signature.jpg' for writing in /home/rkqxhnvj/public_html/forums/signature.php on line 244
I get those errors....Can someone help????
Have you uploaded both pictures and entered the server path correctly? And are both images CHMOD to 777?
Also, do you have GD installed? I think you may need GD2.
aka: put your $output in an array - then each line by default is placed on the next line down (the second edit just causes the current line to be output, rather than the whole array) ... then just fiddle with your images size and alignment values ($left and $top) to get it how you want it!
aka: put your $output in an array - then each line by default is placed on the next line down (the second edit just causes the current line to be output, rather than the whole array) ... then just fiddle with your images size and alignment values ($left and $top) to get it how you want it!
great work again on the TTF font integrating!
Wicked, that will be in the next version, have you encountered any problems at all?
Just concerned about wether or not there had been a mistake in the code on my behalf or if it's just what people have installed on their server.
bit which indicated that it probably was originally coded to work with an array, where each array entry is one line in your multi-line output.
Anyd it should be relatively trivial to have a switch to go from left to right aligned - I did something similar for a automatic label-making website... {look at the
PHP Code:
(($i * $zeilenabstand) - $zeilenabstand + $top)
bit (which calculates the top position of each line in the array for the text), and apply similar math to the $left value ...}