![]() |
Quote:
|
Quote:
|
Quote:
|
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); Code:
$img = imagecreatetruecolor($width,$height); |
https://vborg.vbsupport.ru/
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. |
Quote:
|
Quote:
|
Yer for some it works fine first time, for others it doesn't. It's not as if the instructions are hard at the least.
It is definately related to the GD version users are working with. |
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
|
Quote:
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. |
Quote:
|
Good idea -- I'll try to run the CRONs from my site's CP
|
|
Quote:
Thanks a million... That fixed it.. now on to the text placement... |
for me fix also my problem THX very much!
i think is a good idea to fix the download |
Quote:
|
Update -- I run the below CRON in my Cpanel and it works flawlessly. Don't know why it won't with vbulletin's CRON
Code:
/usr/bin/php /home/moparsty/public_html/forums/signature.php >/dev/null 2>&1 |
im getting this error
Fatal error: Call to undefined function: imagettftext() in /home/a1forums/public_html/forums/signature.php on line 238 |
Quote:
|
Quote:
|
how do I use the standard text option.
|
nvm I got it hehe :)
|
About Cron...
Can someone please explain what this means: Code:
>/dev/null 2>&1 cLord ;) |
Dont quite know what it actually means, but I use it to turn off the email notification I used to get after each cron was carried out.
|
the first part causes the text output - aka errors and so on - to be redirected to /dev/null - a blackhole where data goes to die ...
|
Ah, i got it working!
http://imgz.ath.cx/forum/signature.php |
There's a place for testing - a Testing forum ?
|
Yikes!
This is what I have in my signature.php PHP Code:
The error I'm getting: PHP Code:
|
Code:
root/httpdocs/forums/ Code:
/home/httpd/vhosts/therabblerousers.com/httpdocs/forums/ |
thanks! That got rid of the first error... I'm still getting this:
PHP Code:
|
Can you paste out line 230-260 of your signature.php?
|
here is 223-245. I think I know what it is (line1&2) just not sure what I need to change. but I'm probably wrong!
PHP Code:
|
Code:
imagettftext($img, $fontsize, $left, (($i * $zeilenabstand) - $zeilenabstand + $top), $text_color, $output); // LINE2 Code:
imagettftext($img, $fontsize, $left, (($i * $zeilenabstand) - $zeilenabstand + $top), $text_color, "verdana.ttf", $output); // LINE2 |
Ok.... I've uploaded verdana.ttf and the changes to php.
PHP Code:
|
Your file has gotten quite screwed, but that line should read
Code:
imagettftext($img, $fontsize, 0, $left, (($i * $zeilenabstand) - $zeilenabstand + $top), $text_color, "verdana.ttf", $output[$i]); // LINE2 The last error is due to you having not yet CHMOD'ed your output directory to where you will save the image... |
Ok - that error is gone but I get this:
http://www.therabblerousers.com/forums/signature.php links for images: http://www.therabblerousers.com/foru.../signature.jpg http://www.therabblerousers.com/forums/sig/sig.jpg I dont know if I did the images correct Editd - had wrong links |
ok - I figured out my original sig.jpg was wrong...... I think I'm getting it. thank you so much for your time helping me ;)
It's almost there - just not exactly sure now. http://www.therabblerousers.com/forums/signature.php |
There is no way that this code should require login access - you have made too many changes I think ...
Work from the default file and see how you go ... |
Ok, I will do that this weekend. It is a closed board so I think thats the problem. Thanks for your help.
|
Hey guys, WHAT HAS HAPPENED TO THE DESIGN?? I visited the site hoping to see the usual nice design, but I see this little innocent design!
|
All times are GMT. The time now is 07:33 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|