vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Signature Stats v3.04 (https://vborg.vbsupport.ru/showthread.php?t=65361)

DWard 05-24-2004 07:39 PM

:) OK the verdana.ttf file is in the zip:

DWard 05-24-2004 07:40 PM

This end is fine:

Code:

// ######################### 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, $left, (($i * $zeilenabstand) - $zeilenabstand + $top), $output, $text_color);  //LINE1
 imagettftext($img, $fontsize, 0, $left, (($i * $zeilenabstand) - $zeilenabstand + $top), $text_color, "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
  ?>


ranger2kxlt 05-24-2004 07:42 PM

Fatal error: Call to undefined function: imagettftext() line 259 this is after i uploaded the font file

DWard 05-24-2004 07:43 PM

Did you change the code back too?

ranger2kxlt 05-24-2004 07:50 PM

yes used the one in post 72...same error

DWard 05-24-2004 07:57 PM

OK, you need to discuss the problem with your host...

You need to know if the GD version is 2 or higher (recommended)
And you need to know if the imagettftext() function is allowed.

That's all I can suggest. It works absolutely fine for me and I have exactly the same version as you. It appears as though only two people are experiencing this problem, which makes me believe that it is something to do with your host.

ranger2kxlt 05-24-2004 08:00 PM

i have GD2 ill check on the imagettftext right now

ranger2kxlt 05-24-2004 08:02 PM

looks like we dont have imagettftext but i know we have GD2+

DWard 05-24-2004 08:04 PM

ok imagettftext is required for the truetype font printing. Is the imagestring function allowed?

ranger2kxlt 05-24-2004 08:05 PM

let me also tell you this...when i uncomment the line 1 and line 2 i get a prase error on line 260 :-/ would that be something?


All times are GMT. The time now is 12:48 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
  • Page Generation 0.01424 seconds
  • Memory Usage 1,732KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete