Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Forum+ecDownloads Stats on Signature Image Details »»
Forum+ecDownloads Stats on Signature Image
Version: 3.00, by Mr Chad Mr Chad is offline
Developer Last Online: Apr 2009 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 12-08-2005 Last Update: 06-08-2006 Installs: 49
Additional Files  
No support by the author.

If you like it click


Installation Time: <5 mins
Files: 1
Plugins: 1
VB Version: This actually works on 3.5.0 - 3.5.4 for 3.6.0 - 3.6.4 go here


Description:

This Hack will but your vb Forum stats (i.e. No. of Members, Threads and Posts) on your Signature Image. It uses the layout from sig.jpg, calls the stats from your Databank and creates a new images called signature.jpg

This hack uses the PHP-GD Function, so be shure you have this enabled on your server. If you don?t be shure about this, ask your host or look in your PHP-Info.

Installation Instructions:
  1. Open signature.php in a text editor and set the variables at top according to your requirements (These are settings for stats text placement and with and height of signature image)
  2. Upload signature.php to your forums directory
  3. Open sig.jpg in your favourite Graphics Programm and make a real cool Signature image
  4. Save it with the same name and upload it to your forum directory
  5. Install the plugin and wait 5 mins
Examples:





FAQ: N/A

If you like it click


This hack was based on tkeil69575's hack.


To add extra stats look in the signature.php for more info.

Supporters / CoAuthors

Show Your Support

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

Comments
  #22  
Old 12-09-2005, 08:59 PM
Mr Chad's Avatar
Mr Chad Mr Chad is offline
 
Join Date: Jul 2005
Posts: 911
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh, guess i learned something.
Reply With Quote
  #23  
Old 12-09-2005, 09:29 PM
WNxWakko's Avatar
WNxWakko WNxWakko is offline
 
Join Date: Apr 2003
Location: Paradise, Texas
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know you said to put the signature.php in the Forum/ directory, but setting up the cron is not easy for it being in that directory. Just for anyone else to know, you can just put the signature.php file in your includes/cron/ directory and it still works the same without changing any settings. Then you can just use the defaut cron setup.

Here is my working Signature,


I do have a question or two.

How did you add the number online bit. Also the info in my sig is not perfectly calculated to what the board says on members, posts and threads. Is it excluding certain usergroups and forums? members are about 20 off, threads are about 3000 off.
Reply With Quote
  #24  
Old 12-09-2005, 09:40 PM
Mr Chad's Avatar
Mr Chad Mr Chad is offline
 
Join Date: Jul 2005
Posts: 911
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its because its not calling the global.php, so it just goes straight to the database im thinking its adding all the things you deleted. because lets say you make thread 100 and then you delete it, and someone makes another thread its going to be 101 not 100 again. It just pulls the ID number.
Reply With Quote
  #25  
Old 12-09-2005, 09:47 PM
WNxWakko's Avatar
WNxWakko WNxWakko is offline
 
Join Date: Apr 2003
Location: Paradise, Texas
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm ok. I just found the difference in members, Its excluding all that are in the Awaiting Moderation usergroup on my board.

The threads bit is really really far off,
1,357,759 is actual, its about 22,104 off.
Reply With Quote
  #26  
Old 12-09-2005, 10:02 PM
Mr Chad's Avatar
Mr Chad Mr Chad is offline
 
Join Date: Jul 2005
Posts: 911
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WNxWakko
hmm ok. I just found the difference in members, Its excluding all that are in the Awaiting Moderation usergroup on my board.

The threads bit is really really far off,
1,357,759 is actual, its about 22,104 off.
yea it doesnt look at what was deleted.

like make a new thread and look at the thread number, same w/ the post number.

oh and the currently online thing. I made mine up lol, im working on a way to pull it out.
Reply With Quote
  #27  
Old 12-10-2005, 03:10 AM
Mr Chad's Avatar
Mr Chad Mr Chad is offline
 
Join Date: Jul 2005
Posts: 911
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok just find:
Code:
$totalposts=number_format($postb['posts']);
and replace with this
Code:
$totalposts=number_format($postb['posts'] - 22640);
Reply With Quote
  #28  
Old 12-10-2005, 03:34 AM
Mr Chad's Avatar
Mr Chad Mr Chad is offline
 
Join Date: Jul 2005
Posts: 911
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im just messin around and i figured our how to call up stats from ecdownloads mod.
Reply With Quote
  #29  
Old 12-10-2005, 06:39 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Woah I wanted to make this!!
Thanks you saaved me lots of time!!!
Reply With Quote
  #30  
Old 12-10-2005, 06:46 AM
Mr Chad's Avatar
Mr Chad Mr Chad is offline
 
Join Date: Jul 2005
Posts: 911
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michelle
Woah I wanted to make this!!
Thanks you saaved me lots of time!!!
lol no problem.
Reply With Quote
  #31  
Old 12-11-2005, 12:16 AM
board.trash board.trash is offline
 
Join Date: Aug 2005
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack, thank you !

can you tell me how can i change the font type?
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 04:01 PM.


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.07551 seconds
  • Memory Usage 2,303KB
  • Queries Executed 26 (?)
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_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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