![]() |
Thanks. Really great.
|
I can't seem to get this to work. I just receive an error. Could this be because I'm running PHP 4.1.2?
|
i get this error when i use the cron
Failed loading /usr/local/Zend/lib/ZendOptimizer.so: /usr/local/Zend/lib/ZendOptimizer.so: cannot open shared object file: No such file or directory X-Powered-By: PHP/4.3.1 Set-Cookie: ; path=/Vbulletin/ Set-Cookie: bblastvisit=1054137601; expires=Thu, 27-May-04 16:00:01 GMT; path=/Vbulletin/ Content-Type: image/png |
Everytime I uipload signature.php I get this:
The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings. Any ideas?! |
@ msimplay
I?m using a simple bash-script to do the "cron-part" without trouble. (look in my attachment :)) little instructions: * login to your server via ssh/telnet * upload "cron_signature.sh" /root * chmod it to 700 * add a line into your "/etc/crontab"-file like: 0,10,20,30,40,50 * * * * /root/cron_signature.sh -------------- SNIPP -------------- About your error-message: It looks like a mistaken 'ZendOptimizer'-installation. So there are 2 possible solutions.: N?1.: reinstall of 'ZendOptimizer' by using the install.sh from it N?2: uncomment or delete the 'ZendOptimizer'-lines in your php.ini (looks like: Code:
[Zend] After that, just restart your webserver. ;) |
I just rewrote a bunch of this so that when i use the link to the php file as my sig image it doesn't go thro vb anymore as to keep it from messing with whos online. Plus i went ahead and made a count for total online. I also made it use a png template instead of a jpg template. :)
|
ive uploaded and did the cron job but my http://forum.ragezone.com/images/signatur/sig.jpg is not updating...
|
nm fixed it :)
|
Quote:
lol Ez web is my host they sed it was normal and its working so am not complaining :P |
Quote:
Can?t believe that! LooooooL! |
yeh i know its well stupid isn;t it
|
jepp! it is.
|
wow, this is just TOO COOL!!! fantastic idea for a hack, i love it to bits :)
|
Warning: imagecreatefromjpeg(/public_html/misc/sig/1.jpg) [function.imagecreatefromjpeg]: failed to create stream: No such file or directory in /home/./public_html/forums/signature.php on line 83
Warning: imagecopy(): supplied argument is not a valid Image resource in /home/./public_html/forums/signature.php on line 91 Warning: Cannot modify header information - headers already sent by (output started at /home/./public_html/forums/signature.php:83) in /home/./public_html/forums/signature.php on line 102 PNG What am I doing wrong? CHMOD777 for the right folder too |
Warning: imagecreatefromjpeg(/home/jaydabhi/public_html/forums/images/sig/sig2.jpg) [function.imagecreatefromjpeg]: failed to create stream: No such file or directory in /home/jaydabhi/public_html/forums/signature.php on line 83
Warning: imagecopy(): supplied argument is not a valid Image resource in /home/jaydabhi/public_html/forums/signature.php on line 91 Warning: Cannot modify header information - headers already sent by (output started at /home/jaydabhi/public_html/forums/signature.php:83) in /home/jaydabhi/public_html/forums/signature.php on line 102 I get this error, anybody help me out...thanx Peace |
I do have GD 2.0 enabled, i saw the signatur2.jpg in my folder when i ftped, but i get that error...anybody??
Peace |
Hi tkeil69575
Can you tell me whether this can be modified to work with ImageMagick as I don't have GD2 on the server. If not, do you know whether you can isntall GD2 on a windows Apache host? Thx :). |
"Installing" GD2 on a Windows PHP server is easier than installing this hack. Here's how you do it:
Oh, and msimplay, I would not want to stay with ahost that considers an error message to be "normal".... :laugh: |
dstruct2K - what version of PHP did GD2 support begin because I don't have that in there :).
|
@Intex
Try a look: http://www2.minots.de/Linux/docs/txt/PHP-HOWTO |
i got this
Fatal error: Call to undefined function: imagecreatefromjpeg() in /usr/local/psa/home/vhosts/monstergamer.net/httpdocs/vb/signature.php on line 83 |
@monstergamer
Do you realy have GD2 support in PHP? It doesn´t look like that. |
Quote:
is there any way this works with that cause this is a cool hack |
is there a way to add a timer inside the script the global.php so that if time is divisible by something then run this, cause my host is a bit tight and wont let me run cronjobs
|
How would i go about having wierd carracteres printed correctly on the created image? It all works for me but i am creating the image with usernames in it and some use weird carracters like ? and so on... When the image is created that becomes an L with a bar on it.... and so on. :( How can i fix this?
Thanks. |
it might be the font, the font that is in use on the sig might not contain the character you want.
As for my problem does anyone know how to work out my problem? I cant get cron so is it possible to add abit of code to say global.php or functions.php that goes if current time in minute is divisible by say 60 (everyhour) then include url/to/signature/generator.php i am no good with times nor where to put this otherwise i would do it myself also my boards are probably busy enough for someone to run into this code 90% of the time so it shouldnt be that unreliable. |
I get the fatal error message, too, and I have PHP 4.3.1 installed. :( What do I do?
Quote:
|
Mine keeps same number and does not update. It is like the numbers are stickin although if I change the placement that works just numbers not changing :(
|
i keep getting this:
Quote:
|
I finaly got mine all worked out. It is was not seeing admins, so I just added 2 to number so it is accurate. Cool add on.
|
is there a way to change the font???
|
how do you put the stats side by side ?
horizontally :D |
Meh.. I'm having to use Fake Cron to get it to work, but it's all good.. :)
Thanks for sharing.! |
I just took out the /n in the script since it is same as a return line.
|
Quote:
Your server does not have gd enabled check your php info and you will notice it is not in it. Ask your host to install Gd library. |
Quote:
|
$text = "Members: $numbermembers Threads: $totalthreads Posts: $totalposts";
Is how mine looks :) Hope that helps. |
does not work at all now :(
|
With $text = "Members: $numbermembers Threads: $totalthreads Posts: $totalposts";
Hmm odd is how I have mine, what is it saying or doing ? |
it works with the opd code vertically
but when i edit with your code to try & get it horizontal it doesnt show at all :( hmmm do you have line spacing at 0 in the configure area ? lost now :P |
All times are GMT. The time now is 10:14 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|