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)

gmarik 05-24-2003 09:14 AM

Thanks. Really great.

Intex 05-24-2003 03:18 PM

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?

msimplay 05-28-2003 03:02 PM

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

Steve W. 06-02-2003 04:21 PM

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?!

Minots 06-02-2003 06:26 PM

@ 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]
zend_optimizer.optimization_level=15
zend_extension=/usr/local/Zend/lib/ZendOptimizer.so

)

After that, just restart your webserver. ;)

eXtremeTim 06-08-2003 08:37 PM

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. :)

MentaL 06-11-2003 03:12 PM

ive uploaded and did the cron job but my http://forum.ragezone.com/images/signatur/sig.jpg is not updating...

MentaL 06-11-2003 03:16 PM

nm fixed it :)

msimplay 06-18-2003 03:19 PM

Quote:

06-02-03 at 08:26 PM Minots said this in Post #165
@ 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]
zend_optimizer.optimization_level=15
zend_extension=/usr/local/Zend/lib/ZendOptimizer.so

)

After that, just restart your webserver. ;)


lol Ez web is my host they sed it was normal
and its working so am not complaining :P

Minots 06-19-2003 12:14 PM

Quote:

lol Ez web is my host they sed it was normal
and its working so am not complaining :P
Muhhhahahahaha! :laugh:
Can?t believe that! LooooooL!

msimplay 06-19-2003 12:16 PM

yeh i know its well stupid isn;t it

Minots 06-19-2003 12:19 PM

jepp! it is.

Ninth Dimension 07-01-2003 08:34 AM

wow, this is just TOO COOL!!! fantastic idea for a hack, i love it to bits :)

ogden2k 07-09-2003 10:33 PM

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

nymyth 07-13-2003 03:22 AM

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

nymyth 07-13-2003 03:27 AM

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

Intex 07-13-2003 08:41 AM

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 :).

dstruct2k 07-16-2003 12:15 PM

"Installing" GD2 on a Windows PHP server is easier than installing this hack. Here's how you do it:
  1. Open php.ini
  2. Search the file for "GD2" (it's only there once)
  3. Remove the semicolon (;) from the beginning of that line.
  4. Restart your server
You've just installed GD2! :D

Oh, and msimplay, I would not want to stay with ahost that considers an error message to be "normal".... :laugh:

Intex 07-17-2003 08:08 PM

dstruct2K - what version of PHP did GD2 support begin because I don't have that in there :).

Minots 07-17-2003 09:55 PM

@Intex
Try a look: http://www2.minots.de/Linux/docs/txt/PHP-HOWTO

monstergamer 07-21-2003 11:28 PM

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

Minots 07-21-2003 11:53 PM

@monstergamer
Do you realy have GD2 support in PHP?
It doesn´t look like that.

monstergamer 07-21-2003 11:56 PM

Quote:

Today at 08:53 PM Minots said this in Post #182
@monstergamer
Do you realy have GD2 support in PHP?
It doesn?t look like that.

they say that they have image magic or some thing like that
is there any way this works with that
cause this is a cool hack

InfiniteWebby 07-28-2003 12:03 AM

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

Arsenik 07-28-2003 12:19 AM

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.

InfiniteWebby 07-28-2003 09:40 AM

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.

AmericanWoman 08-13-2003 03:34 PM

I get the fatal error message, too, and I have PHP 4.3.1 installed. :( What do I do?

Quote:

Fatal error: Call to undefined function: imagecreatefromjpeg() in /usr/local/apache/htdocs/forums/images/sig/signature.php
I've been all excited waiting for my lunch break all day so I could experiment with this. :(

insanctus 08-21-2003 11:57 AM

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 :(

sweet22 08-21-2003 10:19 PM

i keep getting this:
Quote:

Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/anima823/public_html/community/signature.php on line 83

insanctus 08-24-2003 01:52 AM

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.

ragintajin 09-11-2003 11:08 PM

is there a way to change the font???

Almax1 09-14-2003 11:45 PM

how do you put the stats side by side ?
horizontally :D

Oblivion Knight 09-17-2003 05:44 PM

Meh.. I'm having to use Fake Cron to get it to work, but it's all good.. :)

Thanks for sharing.!

insanctus 09-17-2003 06:37 PM

I just took out the /n in the script since it is same as a return line.

insanctus 09-17-2003 06:39 PM

Quote:

Originally Posted by sweet22
i keep getting this:


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.

Almax1 09-17-2003 07:33 PM

Quote:

Originally Posted by insanctus
I just took out the /n in the script since it is same as a return line.

what bit of /n code m8 ?? all of it ??

insanctus 09-17-2003 07:42 PM

$text = "Members: $numbermembers Threads: $totalthreads Posts: $totalposts";

Is how mine looks :)

Hope that helps.

Almax1 09-17-2003 08:21 PM

does not work at all now :(

insanctus 09-17-2003 08:23 PM

With $text = "Members: $numbermembers Threads: $totalthreads Posts: $totalposts";

Hmm odd is how I have mine, what is it saying or doing ?

Almax1 09-17-2003 08:29 PM

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
  • Page Generation 0.01692 seconds
  • Memory Usage 1,822KB
  • 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
  • (2)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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