Version: 1.00, by tkeil69575
Developer Last Online: Sep 2007
Version: 2.3.x
Rating:
Released: 03-25-2003
Last Update: Never
Installs: 64
No support by the author.
[high]Remember the forum rules here at vB.org and don't exceed the signature dimensions: https://vborg.vbsupport.ru/showthrea...threadid=50062 . Signatures in violation of the rules will be suspended. --filburt1[/high]
Hi all,
What this hack does:
Calls up your Forum statistics (like No. of Members, Threads and Posts) and creates a new image on your server using GD which you can use as a signature image, where ever you like - have a look at my signature and you'll see what I mean. This is only my 2nd hack - so be kind to me
In order to have the image created, say every 15 minutes you will need to set up a cronjob. Infos are provided in the instructions.txt, and alternatives for those who do not have access to crontab on their server.
Support:
Because I'm pretty busy, I will provide only limited support. Will look in here once a week or so.
Credits:
to kars10 for kicking me in the ass and getting me to code this - thanks karsten
greets
tina
Update 23.06.2003
- global.php no longer required, thus when signature image is being created it no longer shows up in "who is onlne"
- quality of image output improved
- debug modus with email notification integrated
- tested with gd2
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
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.
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.
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.
]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* )
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.
$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.