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
  #242  
Old 08-12-2004, 04:23 PM
Meltingfire's Avatar
Meltingfire Meltingfire is offline
 
Join Date: Sep 2002
Location: Sweden
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Natch
This issue occurs for some but not others - I'm wondering if it could be related to a permissions issue - maybe the guest (the cron job) doesn't have permissions to access those tallies...
Strange, well then i have to add it to the cronjob in the OS instead...
Reply With Quote
  #243  
Old 08-18-2004, 01:10 PM
kingady kingady is offline
 
Join Date: Jul 2003
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice, im gonnaa do this right now
Reply With Quote
  #244  
Old 08-20-2004, 12:18 AM
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I seen someone with "newest member" on his ?
Did I miss some code?
Reply With Quote
  #245  
Old 08-20-2004, 06:11 AM
Natch's Avatar
Natch Natch is offline
 
Join Date: Nov 2002
Location: Australia
Posts: 851
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope - that's a customisation: you can in this script pull in any data you like, and output it to the image.
Reply With Quote
  #246  
Old 08-20-2004, 09:08 AM
DWard's Avatar
DWard DWard is offline
 
Join Date: Mar 2004
Location: Peterborough, UK
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Show newest user in Signature Stats
This will show you how to display the newest user in your signature image

Open your signature.php file and Find:
Code:
	$totalonline = $numberregistered + $numberguest;
Below that, add:
Code:
// GETTING NEWEST USER
      
 	$newestuser = $DB_site->query("SELECT username FROM " . TABLE_PREFIX . "user AS user ORDER BY userid DESC LIMIT 1");
      	$nuser = mysql_result($newestuser,0);
Then your $output string should be a little like this (look for bold text):
Code:
$output = "MEMBERS: $numbermembers THREADS: $totalthreads POSTS: $totalposts ONLINE: $totalonline NEWEST USER: $nuser";
If you have any problems, just reply in this thread
Reply With Quote
  #247  
Old 08-20-2004, 02:28 PM
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks DWard
Reply With Quote
  #248  
Old 08-20-2004, 04:07 PM
DWard's Avatar
DWard DWard is offline
 
Join Date: Mar 2004
Location: Peterborough, UK
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No worries! If anybody needs something else in their signature, contact me and I'll get on it
Reply With Quote
  #249  
Old 08-20-2004, 04:10 PM
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here's a shot in the dark...
i have a BitTorrent tracker intergrate into my vB3 and I have the stats output in my forum index.
Is it possible to add this to the signature too?

http://bbs.metallifukinca.com/index.php?
the tracker stats are bellow then forums.


thanks
Reply With Quote
  #250  
Old 08-20-2004, 05:52 PM
DWard's Avatar
DWard DWard is offline
 
Join Date: Mar 2004
Location: Peterborough, UK
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It may be, could you send me a screenshot of the table your stats are being read from?
Reply With Quote
  #251  
Old 08-21-2004, 08:58 PM
joergh's Avatar
joergh joergh is offline
 
Join Date: Oct 2001
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Big Kahuna
The reason the bad graphic in the above post now looks good is that I found the answer on the F5hosting forum.

For those others of you who have been waiting days for the detailed answer on how to make the washed out graphics work -- the answe is (drum roll)

The image you are using has more than 256 colours so the method in the hack will never work. The function they should have used to create the initial image is imagecreatetruecolor and not imagecreate, so if you replace the line

Code:
$img = imagecreate($width,$height);
with

Code:
$img = imagecreatetruecolor($width,$height);
it should work.
Great! Thank you so much , I tried everything before i found your post!

joergh
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 10:21 AM.


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.13338 seconds
  • Memory Usage 2,316KB
  • Queries Executed 27 (?)
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
  • (5)bbcode_code
  • (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
  • (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_postinfo_query
  • fetch_postinfo
  • 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