Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Signature Stats v3.04 Details »»
Signature Stats v3.04
Version: 3.04, by DWard DWard is offline
Developer Last Online: Mar 2018 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 05-20-2004 Last Update: 01-27-2005 Installs: 113
 
No support by the author.

VERSION 3.04
[05/09/2004]

-----------------------------------------------

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #92  
Old 05-25-2004, 09:59 PM
Odoin's Avatar
Odoin Odoin is offline
 
Join Date: Jun 2002
Location: Whos your Jim Bob?
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This might have been posted before but i did not look through all the posts....

If you do not care about the extra load on your server you can make a .htaccess file with this code:

IndexIgnore *

<Limit GET POST >
order allow,deny
allow from all
</Limit>

RewriteEngine on
RewriteRule signature.jpg /forum/signature.php [T=application/x-httpd-cgi]

Then you would link to signature.jpg from your root folder of your domain ane apache would run the PHP file to get the updated signature.

Cheers
Reply With Quote
  #93  
Old 05-26-2004, 06:59 AM
DWard's Avatar
DWard DWard is offline
 
Join Date: Mar 2004
Location: Peterborough, UK
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thats quite cool actually.
Reply With Quote
  #94  
Old 05-26-2004, 04:01 PM
DWard's Avatar
DWard DWard is offline
 
Join Date: Mar 2004
Location: Peterborough, UK
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

New version out (fixed online users code [was resetting 'most users ever online'])
Reply With Quote
  #95  
Old 05-26-2004, 10:11 PM
blakkboy's Avatar
blakkboy blakkboy is offline
 
Join Date: Aug 2003
Location: Baltimore
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Warning: imagecreatefromjpeg(/public_html/images/sig.jpg): failed to open stream: No such file or directory in /home/rkqxhnvj/public_html/forums/signature.php on line 208

Warning: imagecopy(): supplied argument is not a valid Image resource in /home/rkqxhnvj/public_html/forums/signature.php on line 225

Warning: imagettftext(): Could not find/open font in /home/rkqxhnvj/public_html/forums/signature.php on line 238

Warning: Cannot modify header information - headers already sent by (output started at /home/rkqxhnvj/public_html/forums/signature.php:208) in /home/rkqxhnvj/public_html/forums/signature.php on line 242
‰PNG IHDRÔw€#ÛPLTEÿÿÿ$¡›¼tRNS@æØfIDATxœí Á  ÷Om7 €'äSP£QIEND®B`‚
Warning: imagejpeg(): Unable to open '/public_html/images/signature.jpg' for writing in /home/rkqxhnvj/public_html/forums/signature.php on line 244

I get those errors....Can someone help????
Reply With Quote
  #96  
Old 05-27-2004, 05:15 AM
DWard's Avatar
DWard DWard is offline
 
Join Date: Mar 2004
Location: Peterborough, UK
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blakkboy
Warning: imagecreatefromjpeg(/public_html/images/sig.jpg): failed to open stream: No such file or directory in /home/rkqxhnvj/public_html/forums/signature.php on line 208

Warning: imagecopy(): supplied argument is not a valid Image resource in /home/rkqxhnvj/public_html/forums/signature.php on line 225

Warning: imagettftext(): Could not find/open font in /home/rkqxhnvj/public_html/forums/signature.php on line 238

Warning: Cannot modify header information - headers already sent by (output started at /home/rkqxhnvj/public_html/forums/signature.php:208) in /home/rkqxhnvj/public_html/forums/signature.php on line 242
?PNG IHDR?w?#?PLTE???$????tRNS@??fIDATx??? ? ?Om7 ?'?SP?QIEND?B`?
Warning: imagejpeg(): Unable to open '/public_html/images/signature.jpg' for writing in /home/rkqxhnvj/public_html/forums/signature.php on line 244


I get those errors....Can someone help????
Have you uploaded both pictures and entered the server path correctly? And are both images CHMOD to 777?

Also, do you have GD installed? I think you may need GD2.
Reply With Quote
  #97  
Old 05-27-2004, 02:10 PM
Natch's Avatar
Natch Natch is offline
 
Join Date: Nov 2002
Location: Australia
Posts: 851
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just FYI You can solve your vertical issues by investigating the following code, then looking @ this sig

PHP Code:
$output[] = "Threads: $totalthreads";
$output[] = "  Posts: $totalposts"
and
PHP Code:
imagettftext($img$fontsize0$left, (($i $zeilenabstand) - $zeilenabstand $top), $text_color"verdana.ttf"$output[$i]); // LINE2 


aka: put your $output in an array - then each line by default is placed on the next line down (the second edit just causes the current line to be output, rather than the whole array) ... then just fiddle with your images size and alignment values ($left and $top) to get it how you want it!

great work again on the TTF font integrating!
Reply With Quote
  #98  
Old 05-27-2004, 07:41 PM
DWard's Avatar
DWard DWard is offline
 
Join Date: Mar 2004
Location: Peterborough, UK
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Natch
Just FYI You can solve your vertical issues by investigating the following code, then looking @ this sig

PHP Code:
$output[] = "Threads: $totalthreads";
$output[] = "  Posts: $totalposts"
and
PHP Code:
imagettftext($img$fontsize0$left, (($i $zeilenabstand) - $zeilenabstand $top), $text_color"verdana.ttf"$output[$i]); // LINE2 


aka: put your $output in an array - then each line by default is placed on the next line down (the second edit just causes the current line to be output, rather than the whole array) ... then just fiddle with your images size and alignment values ($left and $top) to get it how you want it!

great work again on the TTF font integrating!
Wicked, that will be in the next version, have you encountered any problems at all?

Just concerned about wether or not there had been a mistake in the code on my behalf or if it's just what people have installed on their server.
Reply With Quote
  #99  
Old 05-28-2004, 11:33 AM
Natch's Avatar
Natch Natch is offline
 
Join Date: Nov 2002
Location: Australia
Posts: 851
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No mate - it's just that the code you have has a
PHP Code:
while($i<count($output)){ ... 
bit which indicated that it probably was originally coded to work with an array, where each array entry is one line in your multi-line output.

Anyd it should be relatively trivial to have a switch to go from left to right aligned - I did something similar for a automatic label-making website... {look at the
PHP Code:
(($i $zeilenabstand) - $zeilenabstand $top
bit (which calculates the top position of each line in the array for the text), and apply similar math to the $left value ...}
Reply With Quote
  #100  
Old 05-29-2004, 03:05 AM
Acido Acido is offline
 
Join Date: Apr 2003
Location: Argentina
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont understan why the quality of the image created in my server is so poor
Check the attachments please.

I use compress output with a value of 95, and i'm using GD 2+


Can you give some tip?
Reply With Quote
  #101  
Old 05-29-2004, 03:41 AM
Natch's Avatar
Natch Natch is offline
 
Join Date: Nov 2002
Location: Australia
Posts: 851
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah - there is a line that says imagecreate() - this should be imagecreatetruecolor()
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:59 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.06425 seconds
  • Memory Usage 2,330KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete