Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Dream's Forum Statistics Details »»
Dream's Forum Statistics
Version: 3.2, by Dream Dream is offline
Developer Last Online: Sep 2010 Show Printable Version Email this Page

Category: Statistics Modifications - Version: 3.6.8 Rating:
Released: 02-28-2007 Last Update: 12-03-2007 Installs: 300
Uses Plugins Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

Warning: This add-on is not good for big forums, it calculates all the info on the fly.

This will add a page with statistics to your forum.

Forum Statistics
- Newest Members
- Posts per day (last x days)
- Posts per month (last x months)
- Forum open since
- Average posts per day overall
- Average threads per day overall
- Average replies per thread overall
- Active members percentage
- Oldest thread

Top Posters
- last year
- this year
- last month
- this month
- last 24 hours
- last 7 days
- last 30
- overall

Threads
- most viewed
- most replied
- top rated
- most replied in the last X days (choose X in the options, default is 10).

Polls
- Most voted
- Latest polls

Users
- Top Thread Starters
- Top Reputation
- Top Referrers
- Top Posts Per Day Average
- Users with most attachments
- Most viewed/downloaded attachments
- Latest attachments

Thank You Hack
- Most Thanked Users
- Who Thanked Most
- Most Thanked Posts

Attachments Statistics
- Statistics for each attachment extension
- Most viewed/downloaded attachments for each extension
- Latest attachments for each extension
- Total attachments and downloads for each extension and overall
- Average downloads per attachment

Most Active Forums
- Last year
- This year
- Last month
- This month
- Last 30 days
- Last 7 days
- Last 24 hours
- Overall

Age Statistics
- Oldest/youngest members
- How many members on each age range

Custom Profile Fields Statistics
- Percentage of each option chosen by your members

Registration Statistics
- Daily registrations
- Monthly registrations

Statistics for each forum
Choose the forum you want to view statistics from. Only forums people have permission to see are shown.

Options in the Admin Control Panel
You can exclude forums/usergroups/users from the statistics, disable the attachments statistics page and set other options.

Administrators Only Option
You can set the statistics to be shown only to administrators.

Installation
You just need to import a product and upload a few files (statistics.php and statsmod/ folder). There are options in the Admin Control Panel, the modification is fully phrased and a few templates are added. An optional navbar template edit is needed to supply a link to statistics.php.

New Poll Bar Images
You have the option to use a new set of poll bar images that comes with this mod as your default poll bar images.

Please leave the url to your statistics.php in this thread for me to use as a live demo if you can.

Live Demos:
http://www.s10planet.com/forum/statistics.php
http://www.yaxleyvillage.com/statistics.php
http://jpicforum.info/statistics.php
http://www.vbulletin-ressources.com/...statistics.php
http://www.torreiravirtual.net/fairplay/statistics.php

Show Your Support

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

Comments
  #172  
Old 05-25-2007, 07:09 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BWJ View Post
I send you a PM with a link to my forum with 161 (I think) different custom field categories... So you can see you program tested to its outmost...

There you will also see a bug:

Warning: Invalid argument supplied for foreach() in /statsmod/statistics_user_profile.php on line 43
Warning: Division by zero in /statsmod/statistics_user_profile.php on line 60
I'm gonna look into this, thanks for reporting it.
Reply With Quote
  #173  
Old 05-26-2007, 03:12 PM
Miki_29 Miki_29 is offline
 
Join Date: Sep 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BWJ View Post
Warning: Division by zero in /statsmod/statistics_user_profile.php on line 60
I've had the same problem on statistics_registration.php...

Just change:
$percent = ($counter['count'] / $total_counter) * 100;

By:
If ($total_counter > 0){
$percent = ($counter['count'] / $total_counter) * 100;
}


Hope it helps...

By the way, here's the link for my statistics page, translated to Portuguese:
Fairplay Forum
Reply With Quote
  #174  
Old 05-27-2007, 11:55 PM
Aimee1969 Aimee1969 is offline
 
Join Date: Apr 2007
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed thank you
Reply With Quote
  #175  
Old 05-28-2007, 07:56 AM
BWJ BWJ is offline
 
Join Date: Aug 2005
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Miki_29 View Post
I've had the same problem on statistics_registration.php...

Just change:
$percent = ($counter['count'] / $total_counter) * 100;

By:
If ($total_counter > 0){
$percent = ($counter['count'] / $total_counter) * 100;
}


Hope it helps...

By the way, here's the link for my statistics page, translated to Portuguese:
Fairplay Forum

Sorry to ask. I could not find this code to replace: In which file?
Reply With Quote
  #176  
Old 06-02-2007, 08:09 AM
Miki_29 Miki_29 is offline
 
Join Date: Sep 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BWJ View Post
Sorry to ask. I could not find this code to replace: In which file?
The file you mentioned:
/statsmod/statistics_user_profile.php on line 60
Reply With Quote
  #177  
Old 06-02-2007, 01:00 PM
BWJ BWJ is offline
 
Join Date: Aug 2005
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Miki_29 View Post
The file you mentioned:
/statsmod/statistics_user_profile.php on line 60
Sorry for my very stupid question...! I naturally searched for it - but for some reason didn't find it.

Anyway it helped with the "line 60" error.

Now there are two left:

Warning: Invalid argument supplied for foreach() in /statsmod/statistics_user_profile.php on line 43
and
Warning: Invalid argument supplied for foreach() in /statsmod/statistics_user_profile.php on line 32

Both errors also existed before. I didn't see the "line 32" in the first place due to the many error lines.
Reply With Quote
  #178  
Old 06-03-2007, 04:16 PM
Miki_29 Miki_29 is offline
 
Join Date: Sep 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BWJ View Post
Now there are two left:

Warning: Invalid argument supplied for foreach() in /statsmod/statistics_user_profile.php on line 43
and
Warning: Invalid argument supplied for foreach() in /statsmod/statistics_user_profile.php on line 32

Both errors also existed before. I didn't see the "line 32" in the first place due to the many error lines.
I'm afraid I can't help you with that one... I don't know much of programing on php, I go on self learning, by trying... And it's hard to try to fix a problem I don't have


By the way, sorry if there are gramar errors on my english (hope there aren't many )
Reply With Quote
  #179  
Old 06-03-2007, 04:47 PM
jerseyda6 jerseyda6 is offline
 
Join Date: Apr 2007
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmmmmmmm
Reply With Quote
  #180  
Old 06-05-2007, 01:05 AM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BWJ, just disable warnings in your PHP configuration and you are done
Reply With Quote
  #181  
Old 06-05-2007, 01:40 AM
txspaderz's Avatar
txspaderz txspaderz is offline
 
Join Date: Apr 2006
Location: Houston
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Hack!

Suggestion: Could you add an option to the drop down menu to show ALL the Statistics on the page at once? I would love that, as I'm the only user that checks this page, so Server load isn't a problem.

Much Thanks again!
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:39 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.04947 seconds
  • Memory Usage 2,323KB
  • 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
  • (6)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