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

Reply
 
Thread Tools
Top Statistics - Multiple Types Details »»
Top Statistics - Multiple Types
Version: 1.00, by Chroder Chroder is offline
Developer Last Online: May 2011 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-03-2004 Last Update: Never Installs: 27
 
No support by the author.

This hack is basically 5 hacks in one: Top Posters, Newest Members, Latest Threads, Latest Posts and Online Today. I've tried to make each as featureful as the singular hacks, though I'm open to suggestions. Each stat type can be turned on and off, and everything save Online Today has a limit variable where you can limit the amount of records to retrieve from the database. A "feature" overview:

  • [Enable/Disable] Top Posters
  • [Enable/Disable] Latest Threads
  • [Enable/Disable] Latest Posts
  • [Enable/Disable] Online Today
  • [Enable/Disable] Newest Members
  • [Limit] Number of Top Posters to display
  • [Limit] Number of Latest Threads to display
  • [Limit] Number of Latest Posts to display
  • [Limit] Number of Newest Members to display
  • Use user permissions when gathering Latest Threads and Latest Posts
  • Specify forums to skip when gathering Latest Threads and Latest Posts (overrides the user permission setting)
  • Specify the specific forums that Latest Threads and Latest Posts should come from (overrides both the above setting, and user permission setting)
  • Online Today also retrieves "openhtml" and "closehtml" (ie. admins are bold and italic)
  • Online Today includes buddy/invisible marks (Buddy: + and Invisible: *)
  • Invisible users remain hidden except to those who can see them
Screen Shot Here
Live Demo
Download Here

Show Your Support

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

Comments
  #2  
Old 01-04-2004, 05:05 AM
Mijae's Avatar
Mijae Mijae is offline
 
Join Date: Nov 2001
Location: Russia
Posts: 523
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent hack. One question tho, do I just type False instead of true if I want to disable something? The only queries I want my forumhome to run with this hack is the for last threads/posts/top posters.
Reply With Quote
  #3  
Old 01-04-2004, 05:31 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this when you posted it at vB.nl, so...

*licks install*
Reply With Quote
  #4  
Old 01-04-2004, 05:45 AM
Chroder's Avatar
Chroder Chroder is offline
 
Join Date: Sep 2003
Location: Toronto, Ontario
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by v0id
Excellent hack. One question tho, do I just type False instead of true if I want to disable something? The only queries I want my forumhome to run with this hack is the for last threads/posts/top posters.
Yep false or 0. Here's what yours would look like:

PHP Code:
$suoptions['top_posters']    = true;  // Turn on top posters?
  
$suoptions['latest_threads'] = true;  // Turn on latest threads?
  
$suoptions['latest_posts']   = true;  // Turn on latest posts?
  
$suoptions['newest_members'] = false;  // Turn on newest members?
  
$suoptions['online_today']   = false;  // Turn on online today? 
Reply With Quote
  #5  
Old 01-04-2004, 05:50 AM
Chroder's Avatar
Chroder Chroder is offline
 
Join Date: Sep 2003
Location: Toronto, Ontario
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Link14716
I installed this when you posted it at vB.nl, so...

*licks install*
I updated it on the 2nd. Minor tweaks to the code and templates -- if you havent already, you may want to look over it again. My post at vb.nl has the HTML file with "updated" titles throughout what was updated.
Reply With Quote
  #6  
Old 01-04-2004, 07:21 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any way to make this a separate stats page?
Reply With Quote
  #7  
Old 01-04-2004, 11:36 AM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed and works like a Dream, thank god for vB3's collapsing though otherwise it would take up soo much space, i agree with Boofo, a seperate page would be nice Or a pop up maybe for each part?
Reply With Quote
  #8  
Old 01-04-2004, 03:12 PM
TheAnt TheAnt is offline
 
Join Date: Sep 2003
Location: Iceland
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, this'll work like a charm with my sidebar mod.

*install
Reply With Quote
  #9  
Old 01-04-2004, 03:44 PM
Itworx4me's Avatar
Itworx4me Itworx4me is offline
 
Join Date: Feb 2002
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like your hack except for somethings. It doesn't use the vbphrase system and there are no conditional in your code. Plus you are using standard html and not xml for your templates. Fix your hack and I will think about using it. Good job on the hack though.
Reply With Quote
  #10  
Old 01-04-2004, 04:30 PM
TouchingVirus's Avatar
TouchingVirus TouchingVirus is offline
 
Join Date: Nov 2001
Location: Bogland
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Itworx4me
...Fix your hack and I will think about using it. ....

Fix the hack, there is nothing wrong with it! Just it doesnt have what you want

Thanks for the hack Chroder
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 12:09 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.13848 seconds
  • Memory Usage 2,295KB
  • Queries Executed 23 (?)
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
  • (1)bbcode_php
  • (3)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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