Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

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
  #212  
Old 08-03-2004, 03:22 PM
Natch's Avatar
Natch Natch is offline
 
Join Date: Nov 2002
Location: Australia
Posts: 851
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

take the quotes and the extra spaces out from the line - make it like so...
PHP Code:
// imagestring($img, $fontsize,0, $left, (($i * $zeilenabstand) - $zeilenabstand + $top), $output, $text_color); // LINE1
imagettftext($img$fontsize0,$left, (($i $zeilenabstand) - $zeilenabstand $top), $text_color,"/home/qtss/bbs.metallifukinca.com/html/verdana.ttf"$output); // LINE2 
Reply With Quote
  #213  
Old 08-03-2004, 03:29 PM
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

like this?

// ######################### CHANGE FONT BELOW ############################
// Uncomment LINE1+LINE12 and comment LINE2+LINE22 to use default font.
// Replace "verdana.ttf" with the URL to your .ttf font
//
imagestring($img, $fontsize,0, $left, (($i * $zeilenabstand) - $zeilenabstand + $top), $output,

$text_color);LINE1
imagettftext($img, $fontsize, 0,$left, (($i * $zeilenabstand) - $zeilenabstand + $top),

$text_color,/home/qtss/bbs.metallifukinca.com/html/Verdana.ttf, $output);LINE2
$i++;
}

because I'm still getting
Parse error: parse error in /home/qtss/bbs.metallifukinca.com/html/signature.php on line 238

sorry for being a newbie
Reply With Quote
  #214  
Old 08-03-2004, 03:32 PM
Natch's Avatar
Natch Natch is offline
 
Join Date: Nov 2002
Location: Australia
Posts: 851
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You see the lines I ahve given you - replace your whole
PHP Code:
imagestring($img$fontsize,0$left, (($i $zeilenabstand) - $zeilenabstand $top), $output,

$text_color);LINE1
imagettftext
($img$fontsize0,$left, (($i $zeilenabstand) - $zeilenabstand $top),

$text_color,/home/qtss/bbs.metallifukinca.com/html/Verdana.ttf$output);LINE2 
with what I posted in my last post...
Reply With Quote
  #215  
Old 08-03-2004, 03:40 PM
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'm a n00b

ok this my code now

// ######################### CHANGE FONT BELOW ############################
// Uncomment LINE1+LINE12 and comment LINE2+LINE22 to use default font.
// Replace "verdana.ttf" with the URL to your .ttf font
//
// imagestring($img, $fontsize,0, $left, (($i * $zeilenabstand) - $zeilenabstand + $top), $output,

$text_color); // LINE1
imagettftext($img, $fontsize, 0,$left, (($i * $zeilenabstand) - $zeilenabstand + $top),

$text_color,"/home/qtss/bbs.metallifukinca.com/html/Verdana.ttf", $output); // LINE2
$i++;
}

header("Content-Type: image/png");
imagepng($img);
imagejpeg($img, "$ausgabedatei",$komprimierung); //Write jpg to folder and set compression
imagedestroy($img); // get the image out of memory
?>

and im getting this error


Warning: imagettftext(): Could not read font in /home/qtss/bbs.metallifukinca.com/html/signature.php on line 238

Warning: Cannot modify header information - headers already sent by (output started at /home/qtss/bbs.metallifukinca.com/html/signature.php:238) in /home/qtss/bbs.metallifukinca.com/html/signature.php on line 242
Reply With Quote
  #216  
Old 08-03-2004, 03:48 PM
GamerzWorld's Avatar
GamerzWorld GamerzWorld is offline
 
Join Date: Aug 2003
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Is the error im getting. The script is at www.mirzone.net/forum/signature.php . I followed the instructions and havnt changed that line
Reply With Quote
  #217  
Old 08-03-2004, 03:50 PM
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We got the same errors

Quote:
Originally Posted by GamerzWorld
Warning: imagettftext(): Could not find/open font in /home/merlin/public_html/mirzone/forum/signature.php on line 238

Is the error im getting. The script is at www.mirzone.net/forum/signature.php . I followed the instructions and havnt changed that line
Reply With Quote
  #218  
Old 08-03-2004, 04:11 PM
Natch's Avatar
Natch Natch is offline
 
Join Date: Nov 2002
Location: Australia
Posts: 851
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK - have you uploaded the font verdana.ttf to your server root? It will probably be case-sensitive so make sure the filename is "verdana.ttf" in the location on your server "/home/qtss/bbs.metallifukinca.com/html/" as specifed in that script ...

You really should read the instructions more carefully ...
Reply With Quote
  #219  
Old 08-03-2004, 04:24 PM
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've done everything its said/you

Warning: imagettftext(): Could not read font in /home/qtss/bbs.metallifukinca.com/html/signature.php on line 238

Warning: Cannot modify header information - headers already sent by (output started at /home/qtss/bbs.metallifukinca.com/html/signature.php:238) in /home/qtss/bbs.metallifukinca.com/html/signature.php on line 242
Reply With Quote
  #220  
Old 08-03-2004, 04:28 PM
Natch's Avatar
Natch Natch is offline
 
Join Date: Nov 2002
Location: Australia
Posts: 851
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check: verdana.ttf has a lower-case V
Change: the full path to just the font file name, no slashes, etc
Reply With Quote
  #221  
Old 08-03-2004, 04:31 PM
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks dude, I had the verdana.ttf in the vB3 dir.
I put it in the root dir and everythign works great thanks

/me clicks install
Reply With Quote
Reply

Thread Tools

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 02:50 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08727 seconds
  • Memory Usage 2,318KB
  • 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
  • (2)bbcode_php
  • (1)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
  • (2)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