vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Signature Stats v3.04 (https://vborg.vbsupport.ru/showthread.php?t=65361)

DWard 05-20-2004 10:00 PM

Signature Stats v3.04
 
VERSION 3.04
[05/09/2004]

-----------------------------------------------
http://everythingvb.com/licenses/evb_hl_88x31.gif
This Hack is released under an EverythingvB.com FullAttribution-LimitedDerivs-LimitedTranslation License
-----------------------------------------------

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.

Popular modifications:


If you are upgrading please carry out steps two to four of the instructions.

Acido 05-21-2004 12:05 PM

Quote:

Originally Posted by DWard
VERSION 1.01
[21/05/2004]

This hack allows you to display your forum statistics in an image, which you 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.

Sorry the files weren't zipped. I hope you like it :)

Very cool.

Thanx ;)

msimplay 05-21-2004 12:50 PM

great hack i was waiting for this for a long time
and its also much better in placement then the old hack
i'm gonna add it to a crontab now :D

Natch 05-21-2004 01:45 PM

Great work D :)

http://www.mobileforces.org/sig/signature.jpg

Very, very happy with this !

DWard 05-21-2004 04:28 PM

Quote:

Originally Posted by msimplay
great hack i was waiting for this for a long time
and its also much better in placement then the old hack
i'm gonna add it to a crontab now :D

How do I add a crontab, because I have never done it before.

Aurous 05-21-2004 04:43 PM

great work .. will try installing it tonite.

thanks

Aurous

Aurous 05-21-2004 05:17 PM

Not working :( guess its coz I dont have GD 2 installed.

According to php info its 1.6.2 or higher.

BTW, this hack is an exact copy of the previous hack with 4 new lines:

Code:

error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'sig_stats');
require_once('./global.php');

You should give credit to the original hack instead of stealing the whole hack.

Also, when I tried running signature.php, I saw "X" image instead of the signature image. signature.php is in the main /forums/ folder where as sig.jpg was in /forums/signature/ and I also made the necessary database changes in signature.php. Guess its something to do with GD 2.

Mijae 05-21-2004 05:18 PM

Quote:

Originally Posted by Aurous
great work .. will try installing it tonite.

thanks

Aurous

Can someone tell me how to set up a cron job using vB's admincp? I dont really want to add fake guests to my who's online :P Altho, probably no one will notice :D

Oblivion Knight 05-21-2004 05:46 PM

How do I add line breaks to the output?

<br /> doesn't work, and nor does \n :(

msimplay 05-21-2004 06:13 PM

Quote:

Originally Posted by Mijae
Can someone tell me how to set up a cron job using vB's admincp? I dont really want to add fake guests to my who's online :P Altho, probably no one will notice :D

i used cpanel theres a cronjob script there this is the command i used


Code:

  GET http://www.yourdomain.com/forums/signature.php

DWard 05-21-2004 08:48 PM

Quote:

Originally Posted by Oblivion Knight
How do I add line breaks to the output?

<br /> doesn't work, and nor does \n :(

I will release the <br> script tomorrow, doesnt require much modding :)

DWard 05-21-2004 08:52 PM

Quote:

Originally Posted by Aurous
Not working :( guess its coz I dont have GD 2 installed.

According to php info its 1.6.2 or higher.

BTW, this hack is an exact copy of the previous hack with 4 new lines:

Code:

error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'sig_stats');
require_once('./global.php');

You should give credit to the original hack instead of stealing the whole hack.

Also, when I tried running signature.php, I saw "X" image instead of the signature image. signature.php is in the main /forums/ folder where as sig.jpg was in /forums/signature/ and I also made the necessary database changes in signature.php. Guess its something to do with GD 2.

No if you look over the script, the original doesnt have an online users code.... also it counts posts and threads which have been deleted, which vb doesnt show in its forum stats usually.

I have put credits on the signature.php file if you look :)

iggy123 05-21-2004 09:43 PM

I was really looking forward to this as I used to have the old version running on 2.3
Now when I try to run it I get the following error:
Quote:

Database error in vBulletin 3.0.1:

Invalid SQL:
SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount
FROM forum AS forum

mysql error: Unknown column 'lastthreadid' in 'field list'

mysql error number: 1054

Date: Saturday 22nd of May 2004 12:42:25 AM
Script: http://www.clanantivirus.com/forums/signature.php

DWard 05-22-2004 05:36 AM

Quote:

Originally Posted by iggy123
I was really looking forward to this as I used to have the old version running on 2.3
Now when I try to run it I get the following error:

OK, ill look into that a tad later and get back to you.

gmarik 05-22-2004 07:35 AM

Does it needs GD or what?

Oblivion Knight 05-22-2004 08:12 AM

Quote:

Originally Posted by gmarik
Does it needs GD or what?

I think it needs GD2..

alfata 05-22-2004 09:14 AM

nice hack....

is there a way to change the font face, and if i wanna use it from right to left text direction, how to do???

best regards

Breaker 05-22-2004 11:20 AM

works fine :D

[high]* Breaker clicks install[/high]

BarHopper 05-22-2004 02:36 PM

This is brilliant, thanks. Is there anyway i can add the info in a line under my sig?
But like sitll apart of it?

Beermonster 05-22-2004 02:54 PM

Thanks

/me hits install

DWard 05-22-2004 04:37 PM

Quote:

Originally Posted by alfata
nice hack....

is there a way to change the font face, and if i wanna use it from right to left text direction, how to do???

best regards

Not sure about the text alignment, I will add it to the features for the next version. If you installed my other files list hack, you will notice that I release a basic script and develop it based on peoples suggestions :)

DWard 05-22-2004 04:39 PM

Quote:

Originally Posted by BarHopper
This is brilliant, thanks. Is there anyway i can add the info in a line under my sig?
But like sitll apart of it?

Should be quite easy, I will consider it for the next version.

BTW, Click install ;)

DWard 05-22-2004 04:40 PM

For all who are concerned about it having GD2+, judging by what has been said, it looks like it does need it, but I will look into it for you all.

accyroy 05-22-2004 05:46 PM

Working fine here! Cheers :)

http://www.accringtonweb.com/sig/sig.jpg

juanchi 05-22-2004 06:09 PM

Quote:

Originally Posted by DWard
For all who are concerned about it having GD2+, judging by what has been said, it looks like it does need it, but I will look into it for you all.

Well in my case it seems like GD2 is a requirement, could anyone get this to work for older versions? This is the error I'm getting:

Quote:

Warning: imagecreatetruecolor(): requires GD 2.0 or later in /home/webadmin/site/html/signature.php on line 142

accyroy 05-22-2004 06:24 PM

Quote:

Originally Posted by juanchi
Well in my case it seems like GD2 is a requirement, could anyone get this to work for older versions? This is the error I'm getting:

Well you could try replacing imagecreatetruecolor with just imagecreate in the source. I don't have a pre GD2 to test it with but it might work.

Replace:
$img = imagecreatetruecolor($width,$height);
With:
$img = imagecreate($width,$height);

Let me know how it goes....

DWard 05-22-2004 06:34 PM

UPDATE: TRUE TYPE FONTS IN SIGNATURE
Will be released in next version to be released on or before [26/05/2004]

Rampag33 05-22-2004 06:50 PM

Install!

Dan 05-22-2004 07:00 PM

Quote:

Originally Posted by Rampag33
Install!

nice job :) I may use it but what I got currently works nicely

webrats 05-22-2004 07:43 PM

found it nvrmind
http://www.webrats.com/images/shared/signature.jpg

DWard 05-22-2004 07:46 PM

Take a look in the signature.php file, you'll find it gets it from the session entity in your forum database.

juanchi 05-22-2004 08:55 PM

Quote:

Originally Posted by accyroy
Well you could try replacing imagecreatetruecolor with just imagecreate in the source. I don't have a pre GD2 to test it with but it might work.

Replace:
$img = imagecreatetruecolor($width,$height);
With:
$img = imagecreate($width,$height);

Let me know how it goes....

Thanks man!! that was it.

DWard 05-22-2004 09:03 PM

Quote:

Originally Posted by juanchi
Thanks man!! that was it.

Just need to run that past the other users having troubles with their GD version

juanchi 05-22-2004 10:01 PM

Here is my signature without GD 2+.

Rafe 05-22-2004 10:58 PM

Nice hack, thanks.
https://vborg.vbsupport.ru/external/2004/05/1.jpg

Oblivion Knight 05-22-2004 11:06 PM

Any updates with the line break ability?

alfata 05-23-2004 12:52 AM

guys i want to change font face to tahoma for example!! is there a way to do that? and i want the text direction from the right to left.... is it possible??

alfata 05-23-2004 12:56 AM

*alfata clicks INSTALL the cool hack.....

:up: :)

DWard 05-23-2004 07:36 AM

Quote:

Originally Posted by Oblivion Knight
Any updates with the line break ability?

It will be in the next version released on 26-05-2004.

DWard 05-23-2004 07:38 AM

Quote:

Originally Posted by alfata
guys i want to change font face to tahoma for example!! is there a way to do that? and i want the text direction from the right to left.... is it possible??

The font face, as you may have noticed in my signature image is verdana, i'm working on an align script at the moment. The new version with the font face will be released with the lin break utility and hopeflly align by the date mentioned in the previous post.


All times are GMT. The time now is 06:34 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.02224 seconds
  • Memory Usage 1,827KB
  • 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
  • (3)bbcode_code_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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