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)

squawell 03-29-2003 01:45 AM

i have a problem if i want it auto updata every 15 mins

how should i creat the cron job?

Link14716 03-29-2003 02:13 AM

Or...

0,15,30,45 * * * * wget http://www.yoursite.com/forums/signature.php

squawell 03-29-2003 02:27 AM

Quote:

Today at 12:13 PM Link14716 said this in Post #82
Or...

0,15,30,45 * * * * wget http://www.yoursite.com/forums/signature.php

i type this

0,15,30,45 http://www.site.com/forum/signature.php

but it show up cant find page??

where do i doing wrong? :alien:

Link14716 03-29-2003 02:49 AM

That wasn't a URL, that was a line for the cron job. If you have cpanel, you can create it there...

squawell 03-29-2003 03:25 AM

Quote:

Today at 12:49 PM Link14716 said this in Post #84
That wasn't a URL, that was a line for the cron job. If you have cpanel, you can create it there...
sorry..not know much about english and still dont know how to do?

where to creat?creat a txt file name cron or....

thankz again........

xware 03-29-2003 04:09 AM

How to change the text's charset?
thanks.

afterlab 03-29-2003 04:49 AM

Is there anyway this can be in another format other than .jpg? JPG's quality is absolutely horrible.

Mr L 03-29-2003 09:04 AM

Quote:

Today at 06:49 AM afterlab said this in Post #87
Is there anyway this can be in another format other than .jpg? JPG's quality is absolutely horrible.
In the signature.php file, find...

$img = imagecreate($width,$height);

...and change to...

$img = imagecreatetruecolor($width,$height);

...if you have not done so. This improved mine. By default it is set to zero compression with the line...

$komprimierung = 100;

wooolF[RM] 03-29-2003 12:34 PM

]
Quote:

Today at 07:49 AM afterlab said this in Post #87
Is there anyway this can be in another format other than .jpg? JPG's quality is absolutely horrible.
https://vborg.vbsupport.ru/attachmen...&postid=374711

created with "imagecreatetruecolor" and 80 as compression (and only 25kb)

filburt1 03-29-2003 03:11 PM

I've suspended many signatures because of users not reading the forum rules here regarding signature dimensions. Please read my big notice in the first post of this thread before using this mod for your signature here.

Link14716 03-29-2003 04:01 PM

Damnit, 60 pixels too big... oh well, I will drop it to 300 then...

Done, happy? :)

afterlab 03-29-2003 05:29 PM

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.

N!ck 03-29-2003 05:45 PM

Quote:

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.
I think for PNG's you can just use imagecreate()

filburt1 03-29-2003 05:56 PM

Quote:

Today at 02:45 PM N!ck said this in Post #93


I think for PNG's you can just use imagecreate()


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.

wooolF[RM] 03-29-2003 09:15 PM

]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* :D)

NuclioN 03-29-2003 09:41 PM

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

Link14716 03-30-2003 01:06 AM

Try taking "forum/" out of the config variables.

In other words:
PHP Code:

$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.

Mijae 03-30-2003 01:43 AM

Very nice, I use this image in several places now :)

Crazy Pete 04-02-2003 12:12 PM

No matter what image I try to use for my sig, it keeps showing up as just an all-white box with the stats over it. Am I doing something wrong, or...?

Minots 04-02-2003 04:09 PM

for running a php-file with cron, just try this command:

wget -q http://www.yourdomain.tld/signature.php >/dev/null

It works fine 4 me. ;)

sabret00the 04-02-2003 04:26 PM

this is cool, i do like the idea, pity it would make my current sig a violations :cry:

Crazy Pete 04-02-2003 07:51 PM

Quote:

Today at 09:12 AM Crazy Pete said this in Post #99
No matter what image I try to use for my sig, it keeps showing up as just an all-white box with the stats over it. Am I doing something wrong, or...?
No one knows why this is happening? :(

Here's the image example if you need to know what I mean...

http://www.expectedmiracles.com/foru...r/signatur.jpg

Schorsch 04-03-2003 12:59 AM

working fine here, thanks tina :laugh:

filburt1 04-03-2003 01:21 AM

I suspended your signature; read the [high]BIG HIGHLIGHTED TEXT[/high] in the first post.

Mathiau 04-03-2003 04:46 AM

nice - intersting!

Crazy Pete 04-04-2003 03:24 AM

Anyone want to try and help me out here? I'd really appreciate it.

mr e 04-04-2003 03:25 AM

what do u need help with?

Crazy Pete 04-04-2003 03:27 AM

My problem is that the signature image just shows up all white with the stats in it, no matter what I use for the sig.jpg starting image. I have no idea why, my host has the latest GD 2.0 with jpeg support enabled, and the configuration seems pretty straightfoward. Am I missing something stupid?

SmartGnome 04-04-2003 09:31 AM

Great hack :banana:

Install clicked !!

Cheers

mr e 04-04-2003 04:13 PM

@Crazy Pete, are you using all the defaults? or what have you changed?

Crazy Pete 04-04-2003 04:19 PM

I am. The only thing I changed was the filename from signature.php to sigimage.php, because I also installed hellsatan's signature image 3.0 hack which uses the same filename.

As for the defaults, I left them as-is. I guess I'll try redownloading it and trying it again.

Crazy Pete 04-04-2003 04:25 PM

Nope, that didn't work either. Now it's not even creating the image at all. :(

mr e 04-05-2003 07:01 PM

is ur folder chmodded to 700/777? and is your folder called signatur?

Crazy Pete 04-05-2003 08:00 PM

Yep, it is.

mr e 04-05-2003 08:46 PM

and your calling your image like this?

images/signatur/signatur.jpg

Crazy Pete 04-05-2003 08:53 PM

Yup, but like I said now it won't even create the signatur.jpg image at all. Before it would, but it was just the white box with the stats over it. Now that I reuploaded the file, it doesn't even create the image. Hrm...

mr e 04-06-2003 04:29 PM

well, without actually seeing it i couldn't tell ya whats wrong then, it works fine for me though

DarkDraco07 04-07-2003 03:26 AM

i uploaded the sig.php to my forums folder and then my root folder because it didnt work.
my problem is that when i run the .com/forums/signature.php i get a page not found, and when i run .com/signature.php i get a blank page.

DarkDraco07 04-09-2003 02:32 AM

bump

mr e 04-09-2003 03:45 AM

when you first run the page, it will display the basic image with your forum stats on it, upload it to your forum directory and make sure your images/signatur/ folder is chmodded to 700/777 then put the default image in the signatur folder, also make sure signature is spelled the same thorought, in the file it doesn't have the ending 'e'


All times are GMT. The time now is 04:20 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
  • Page Generation 0.01464 seconds
  • Memory Usage 1,810KB
  • 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
  • (1)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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