The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Signature Stats v3.04 Details »» | |||||||||||||||||||||||||
VERSION 3.04
[05/09/2004] ----------------------------------------------- This Hack is released under an EverythingvB.com FullAttribution-LimitedDerivs-LimitedTranslation License ----------------------------------------------- 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. Popular modifications:
Show Your Support
|
Comments |
#227
|
|||
|
|||
Error :
Code:
Warning: imagecreatefromjpeg(/home/public_html/sig/sig.jpg): failed to open stream: No such file or directory in /home/blamina/public_html/forum/signature.php on line 208 Warning: imagecopy(): supplied argument is not a valid Image resource in /home/blamina/public_html/forum/signature.php on line 225 Warning: imagettftext(): Could not find/open font in /home/blamina/public_html/forum/signature.php on line 238 Warning: Cannot modify header information - headers already sent by (output started at /home/blamina/public_html/forum/signature.php:208) in /home/blamina/public_html/forum/signature.php on line 242 ?PNG Blaminator |
#228
|
||||
|
||||
OK - where you have
Code:
/home/public_html/sig/sig.jpg Code:
/home/blamina/public_html/sig/sig.jpg |
#229
|
|||
|
|||
/me clicks install
:banana: |
#230
|
||||
|
||||
Ok...
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,"/home/artfag/public_html/tahoma.ttf", $output); // LINE2 $i++; } Warning: imagettftext(): Could not read font in /home/artfag/public_html/forums/signature.php on line 238 Warning: Cannot modify header information - headers already sent by (output started at /home/artfag/public_html/forums/signature.php:238) in /home/artfag/public_html/forums/signature.php on line 242 Then a crapload of gibberish. |
#231
|
||||
|
||||
If I uncomment line one, and comment line 2, I get the image to show up with no text on it. I can't figure out what yyou mean by line 12 and line 22. Because that makes no sense to me.
http://www.emocrap.com/forums/signature.php See it shows up but with no text on the image. I really don't want to use the default font, but as per my post above the other way just doesn't want to work. |
#232
|
||||
|
||||
Quote:
Uncomment LINE1 and comment LINE2 to use default font. If this doesn't work, then you may need to contact your web host to see if they have disabled the functions 'imagestring' and 'imagettftext'. |
#233
|
|||
|
|||
How do I move the text around?
|
#234
|
||||
|
||||
Quote:
|
#235
|
|||
|
|||
Could ya give me some sort of guide please,? im not exactly sure how to move them
|
#236
|
||||
|
||||
//Width of banner image
$width = yoursize; //Height of banner image $height = yoursize //Left text-margin $left = 296; //text-margin from top $top = 30; //Font Size $fontsize = 10; //Line-spacing of text $zeilenabstand = 0; |
#237
|
||||
|
||||
and this will make your text appear one ontop of each other
$output = " Members: $numbermembers\n\r Threads: $totalthreads\n\r Posts: $totalposts\n\r Online: $totalonline"; like this |
#238
|
||||
|
||||
To be perfectly frank, there is a better way for the text to appear one on top of the next ...
Code:
$output[] = "Members: $numbermembers"; $output[] = "Threads: $totalthreads"; $output[] = "Posts: $totalposts"; $output[] = "Online: $totalonline"; |
#239
|
||||
|
||||
thanks, I'll try that
Quote:
|
#240
|
||||
|
||||
I have a small problem when running it as a vb-cronjob.
The member-count is displayed but threads and post are completly empty. When i run it "manually" it will generate a correct image... even if i press the "Run now" button in cronjob it will generate it correctly Could it be that when running as a vb-cronjob it sometimes doesnt have the time to run the complete code because a user aborts the page-load. (If im not misstaken cronjobs are runned when a user access a vb-page and there is a scheduled task that needs to be run) Would it maybe be solved if you added ignore_user_abort(true) and (false) at the beginning and end of he script? |
#241
|
||||
|
||||
This issue occurs for some but not others - I'm wondering if it could be related to a permissions issue - maybe the guest (the cron job) doesn't have permissions to access those tallies...
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|