![]() |
take the quotes and the extra spaces out from the line - make it like so...
PHP Code:
|
like this?
// ######################### CHANGE FONT BELOW ############################ // Uncomment LINE1+LINE12 and comment LINE2+LINE22 to use default font. // Replace "verdana.ttf" with the URL to your .ttf font // imagestring($img, $fontsize,0, $left, (($i * $zeilenabstand) - $zeilenabstand + $top), $output, $text_color);LINE1 imagettftext($img, $fontsize, 0,$left, (($i * $zeilenabstand) - $zeilenabstand + $top), $text_color,/home/qtss/bbs.metallifukinca.com/html/Verdana.ttf, $output);LINE2 $i++; } because I'm still getting Parse error: parse error in /home/qtss/bbs.metallifukinca.com/html/signature.php on line 238 sorry for being a newbie |
You see the lines I ahve given you - replace your whole
PHP Code:
|
i'm a n00b :(
ok this my code now // ######################### CHANGE FONT BELOW ############################ // Uncomment LINE1+LINE12 and comment LINE2+LINE22 to use default font. // Replace "verdana.ttf" with the URL to your .ttf font // // imagestring($img, $fontsize,0, $left, (($i * $zeilenabstand) - $zeilenabstand + $top), $output, $text_color); // LINE1 imagettftext($img, $fontsize, 0,$left, (($i * $zeilenabstand) - $zeilenabstand + $top), $text_color,"/home/qtss/bbs.metallifukinca.com/html/Verdana.ttf", $output); // LINE2 $i++; } header("Content-Type: image/png"); imagepng($img); imagejpeg($img, "$ausgabedatei",$komprimierung); //Write jpg to folder and set compression imagedestroy($img); // get the image out of memory ?> and im getting this error :( Warning: imagettftext(): Could not read font in /home/qtss/bbs.metallifukinca.com/html/signature.php on line 238 Warning: Cannot modify header information - headers already sent by (output started at /home/qtss/bbs.metallifukinca.com/html/signature.php:238) in /home/qtss/bbs.metallifukinca.com/html/signature.php on line 242 |
Warning: imagettftext(): Could not find/open font in /home/merlin/public_html/mirzone/forum/signature.php on line 238
Is the error im getting. The script is at www.mirzone.net/forum/signature.php . I followed the instructions and havnt changed that line |
We got the same errors :(
Quote:
|
OK - have you uploaded the font verdana.ttf to your server root? It will probably be case-sensitive so make sure the filename is "verdana.ttf" in the location on your server "/home/qtss/bbs.metallifukinca.com/html/" as specifed in that script ...
You really should read the instructions more carefully ... |
I've done everything its said/you
Warning: imagettftext(): Could not read font in /home/qtss/bbs.metallifukinca.com/html/signature.php on line 238 Warning: Cannot modify header information - headers already sent by (output started at /home/qtss/bbs.metallifukinca.com/html/signature.php:238) in /home/qtss/bbs.metallifukinca.com/html/signature.php on line 242 |
Check: verdana.ttf has a lower-case V
Change: the full path to just the font file name, no slashes, etc |
thanks dude, I had the verdana.ttf in the vB3 dir.
I put it in the root dir and everythign works great thanks /me clicks install |
All times are GMT. The time now is 09:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|