vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Forum+ecDownloads Stats on Signature Image (https://vborg.vbsupport.ru/showthread.php?t=136449)

zompus 02-02-2007 02:59 PM

Update Sig Stats

Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/username/public_html/includes/cron/signature.php on line 49

Mr Chad 02-02-2007 03:18 PM

Quote:

Originally Posted by zompus (Post 1172988)
Update Sig Stats

Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/username/public_html/includes/cron/signature.php on line 49

you dont have GD ?

Tom_S 02-12-2007 06:10 PM

I can't get it to display anything but Members, Threads, & Posts even though I uncommented the online user(s) out.

Tom_S 02-12-2007 07:14 PM

Quote:

Originally Posted by RetroDreams (Post 1167401)
I ended up figuring it out.

See you posted up my sig... Thanks for the great hack!

You wouln't mind sharing what you did would ya? ;)

Mr Chad 02-12-2007 08:36 PM

well you need to add the Vars in the text:

PHP Code:

$text "Members: $usercount\nThreads: $threadcount\nPosts: $postcount\n"

thats the standard line. add the ones you want in there.

Tom_S 02-12-2007 08:56 PM

Got it..thanks :)

Termi 02-16-2007 02:51 PM

hey

can you help me pls

i've got a mistake on lin 15

called

$postcount = $vbulletin->db->query_first("SELECT COUNT(*) AS posts FROM " . TABLE_PREFIX . "post");

the mistake is

Fatal error: Call to a member function on a non-object in /home/www/doc/6547/corsa24.de/www/includes/cron/signature.php on line 15

in admincp on cron job "starts"

Update Sig Stats

Warnung: imagecreatefromjpeg(/home/www/doc/6547/corsa24.de/www/home/www/doc/6547/corsa24.de/www/sig.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /includes/cron/signature.php (Zeile 49)

Warnung: imagecopy(): supplied argument is not a valid Image resource in /includes/cron/signature.php (Zeile 55)

Warnung: imagejpeg() [function.imagejpeg]: Unable to open '/home/www/doc/6547/corsa24.de/www/home/www/doc/6547/corsa24.de/www/signature.jpg' for writing in /includes/cron/signature.php (Zeile 77)

Erledigt

what have i made wrong ?

thanks for helping

sorry for bad english

greets Termi

Mr Chad 02-17-2007 05:17 AM

Quote:

Originally Posted by Termi (Post 1183946)
hey

can you help me pls

i've got a mistake on lin 15

called

$postcount = $vbulletin->db->query_first("SELECT COUNT(*) AS posts FROM " . TABLE_PREFIX . "post");

the mistake is

Fatal error: Call to a member function on a non-object in /home/www/doc/6547/corsa24.de/www/includes/cron/signature.php on line 15

in admincp on cron job "starts"

Update Sig Stats


Warnung: imagecreatefromjpeg(/home/www/doc/6547/corsa24.de/www/home/www/doc/6547/corsa24.de/www/sig.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /includes/cron/signature.php (Zeile 49)

Warnung: imagecopy(): supplied argument is not a valid Image resource in /includes/cron/signature.php (Zeile 55)

Warnung: imagejpeg() [function.imagejpeg]: Unable to open '/home/www/doc/6547/corsa24.de/www/home/www/doc/6547/corsa24.de/www/signature.jpg' for writing in /includes/cron/signature.php (Zeile 77)

Erledigt

what have i made wrong ?

thanks for helping

sorry for bad english

greets Termi

you need to CHMOD the images 777

Termi 02-17-2007 05:51 AM

hy,

thanks for helping

but the images have 777

that is signature.php

$width = 620;//Width of banner image
$height = 90;//Height of banner image
$left = 153; //Left text-margin
$top = 8; //text-margin from top
$linespacing = 15; //Line-spacing of text
$blanksig = DIR . "/home/www/doc/6547/corsa24.de/www/sig.jpg"; //full path to empty signature image (input image)
$finishedsig = DIR . "/home/www/doc/6547/corsa24.de/www/signature.jpg"; //full path to signare image with forum data (output image)
$imcompression = 95; //Compression of output image
$debug = 0; //debug mode

that s right ?

greets Termi

Mr Chad 02-17-2007 03:58 PM

are you running it through the cron? or trying to directly run it?


All times are GMT. The time now is 06:16 AM.

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.01540 seconds
  • Memory Usage 1,742KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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