vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Forum stats on signature image (https://vborg.vbsupport.ru/showthread.php?t=50848)

Link14716 03-29-2003 04:01 PM

Damnit, 60 pixels too big... oh well, I will drop it to 300 then...

Done, happy? :)

afterlab 03-29-2003 05:29 PM

I managed to make the file run with a .png, however this function, imagecreatetruecolor, does not run with my current version of PHP. I'll be upgrading soon.

N!ck 03-29-2003 05:45 PM

Quote:

Today at 12:29 PM afterlab said this in Post #92
I managed to make the file run with a .png, however this function, imagecreatetruecolor, does not run with my current version of PHP. I'll be upgrading soon.
I think for PNG's you can just use imagecreate()

filburt1 03-29-2003 05:56 PM

Quote:

Today at 02:45 PM N!ck said this in Post #93


I think for PNG's you can just use imagecreate()


Eh...imagecreatefrompng() is best for creating an image from a PNG...

However the GD library in 4.3.0 should use true color stuff instead of the normal functions because...long story, forgot the details, short story is the outputted image's color pallete looks horrible if you don't.

wooolF[RM] 03-29-2003 09:15 PM

]everyone interested why should visit www.php.net and search for those functions :) there's a lot of usefull stuff to read ;) be a man and make yourself a gift instead of asking someone (/me looks @ dictator *gg* :D)

NuclioN 03-29-2003 09:41 PM

I'm sorry, if you have GD2 with an earlier version of php will this work? Our isp had set the cronjob, confirmed that GD2 was installed and the whole output of signature.php is a bunch of errors, as written a couple of postings above. :(

Link14716 03-30-2003 01:06 AM

Try taking "forum/" out of the config variables.

In other words:
PHP Code:

$vorlagedatei "images/signatur/sig.jpg"//Relative path to underlying signature image
$ausgabedatei "images/signatur/signature.jpg"//Relative path and Name to new signature image with stats 

And take the forum/ out in all the other variables. Upload it and see if it works.

Mijae 03-30-2003 01:43 AM

Very nice, I use this image in several places now :)

Crazy Pete 04-02-2003 12:12 PM

No matter what image I try to use for my sig, it keeps showing up as just an all-white box with the stats over it. Am I doing something wrong, or...?

Minots 04-02-2003 04:09 PM

for running a php-file with cron, just try this command:

wget -q http://www.yourdomain.tld/signature.php >/dev/null

It works fine 4 me. ;)


All times are GMT. The time now is 12:49 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.01372 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)bbcode_quote_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