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.
Can someone explain the whole cron thing... I've searched through this thread, and can't really figure it out. I don't have cpanel or anything like that... Don't like all the 'fake' guests on the who's online.
I would say you can do it in vB, but I tried that and it doesnt seem to work. I think there are some cron scripts that you can use, you need to ask somebody who knows a tad more about crontabs.
The reason the bad graphic in the above post now looks good is that I found the answer on the F5hosting forum.
For those others of you who have been waiting days for the detailed answer on how to make the washed out graphics work -- the answe is (drum roll)
The image you are using has more than 256 colours so the method in the hack will never work. The function they should have used to create the initial image is imagecreatetruecolor and not imagecreate, so if you replace the line
make sure the signature.jpg is CMOD to read and write by all, and you can just run the signature.php in your board's CRON once an hour -- and then just use the jpg instead of the php inside ing code.
The reason the bad graphic in the above post now looks good is that I found the answer on the F5hosting forum.
For those others of you who have been waiting days for the detailed answer on how to make the washed out graphics work -- the answe is (drum roll)
The image you are using has more than 256 colours so the method in the hack will never work. The function they should have used to create the initial image is imagecreatetruecolor and not imagecreate, so if you replace the line
Code:
$img = imagecreate($width,$height);
with
Code:
$img = imagecreatetruecolor($width,$height);
it should work.
I will ake this optionalin te net version I am considering making a small admin control panel for signature stats, but I will think about it.
make sure the signature.jpg is CMOD to read and write by all, and you can just run the signature.php in your board's CRON once an hour -- and then just use the jpg instead of the php inside ing code.
I'm finding that using the vb cron, the post count stats dont update and go blank, but if I click on run manually, it updates fine
I'm having the same problem. What's up with that.
On the GD version -- the first thing I looked into was the version of GD on my server. It was the most recent (as I posted many posts ignored ago). It took me almost five days of being ignored here before I posted the problem at another forum, and to have someone else look at it and give me the proper replacement code for it to work.
I like the hack and don't want to sound ungrateful -- but I made many posts in this thread giving the exact details of the problem and what I did, and they were all ignored. I make one post at F5Hosting -- baddabing-baddaboom, the answer.
I'm hoping we can get the answer to the missing thread and post counts when the signature.php is run as an automatic CRON -- but reappear when you manually run the CRON. However, I'll ask over there if no one here answers.