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
  #232  
Old 09-28-2007, 10:25 PM
admolot admolot is offline
 
Join Date: Jan 2006
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Brilliant mod. Is there anyway to set the display for 'forum activity' to show forums with 0 posts?
Reply With Quote
  #233  
Old 09-29-2007, 12:43 AM
chris.williams chris.williams is offline
 
Join Date: Sep 2007
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The description states that you can set this so that only administrators can see the stats. How do you do this?
Reply With Quote
  #234  
Old 09-29-2007, 01:57 AM
Merrillizer Merrillizer is offline
 
Join Date: Oct 2006
Location: Hampton, NH Marshland
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed. Real nice. Thanks!

http://www.marshmarauders.org/forums/statistics.php
Reply With Quote
  #235  
Old 09-30-2007, 02:39 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chris.williams View Post
The description states that you can set this so that only administrators can see the stats. How do you do this?
In the options you can set that

vBulletin Options >> Statistics Options
Reply With Quote
  #236  
Old 09-30-2007, 02:40 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by admolot View Post
Brilliant mod. Is there anyway to set the display for 'forum activity' to show forums with 0 posts?
I don't think so, I think they were left out willingly. Don't remember, it has been a while.
Reply With Quote
  #237  
Old 10-10-2007, 07:26 PM
hnjco hnjco is offline
 
Join Date: Jul 2006
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I moved my forum to new server and then upgrade this mod and now getting this error when i click to view.

Quote:
Database error in vBulletin 3.6.8:

Invalid SQL:

SELECT COUNT(*) AS total
FROM vbull_post
WHERE visible = 1;

MySQL Error : Got error 127 from storage engine
Error Number : 1030
Date : Wednesday, October 10th 2007 @ 06:23:48 PM
Script : http://www.geopakistani.com/forums/statistics.php
Referrer : http://www.geopakistani.com/forums/index.php?
IP Address : *********
Username : *****
Classname : vB_Database
Reply With Quote
  #238  
Old 10-14-2007, 02:20 PM
Nickbe Nickbe is offline
 
Join Date: Jul 2007
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you are an admin and want it so only you can see the statistics link on the navbar ad this code to the navbar template as opposed to the code shown in the text file. (add in the same location)

Quote:
<if condition="is_member_of($vbulletin->userinfo, 6)"><td class="vbmenu_control"><a href="statistics.php$session[sessionurl_q]">$vbphrase[statistics_statistics]</a></td></if>

If you want it so only the admin and mods can see use this code:

Quote:
<if condition="is_member_of($vbulletin->userinfo, 6, 7)"><td class="vbmenu_control"><a href="statistics.php$session[sessionurl_q]">$vbphrase[statistics_statistics]</a></td></if>

This works with the default settings for mod and admin usergroup ID's. If you want to add additional usergroup id's just edit this part of the code

Quote:
($vbulletin->userinfo, 6, 7)

Just add the user group id's in this format 6, 7, 2, 3, 4

I figured I would write this since I myself used this code so only I could see statistics on the navbar. I did not want my members seeing them but I still wanted easy access through the navbar.

Note: I know you can restrict certain usergroups from viewing the statistics page itself but I though it would be annoying as a normal member to see statistics link in the navbar but be restricted from viewing the page.
Reply With Quote
  #239  
Old 10-15-2007, 10:29 AM
sduckie2k5 sduckie2k5 is offline
 
Join Date: Oct 2005
Location: Colorado
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, everything seems to work but I get this error when viewing registrations although, it shows the stats for it as well. Heres the error and it appears at the top of the page:

Warning: Division by zero in \ statsmod \ statistics_registrations.php on line 57

any suggestions? Thanks
Reply With Quote
  #240  
Old 10-22-2007, 09:42 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod has some bugs depending of what info you are missing on your forums.

This mod is now "Re-usable Code", meaning anyone can modify it and release his own version. I encourage someone doing that as I'm not updating this anymore for the time being.
Reply With Quote
  #241  
Old 10-23-2007, 05:24 AM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the average is wrong cause it sais 60 while i have an old average age stats which shows 33 . i think it caclulates people who have emplty birthday , and how do i make stats like this http://www.s10planet.com/forum/statistics.php meaning having not so many drop down menus. also in profile stats it doesnt display the N/A (there few people who have the mandatory custom fields unset cause they dont visit the forum before all fields became mandatory) + it doesnt display the percentages order from highest to lowest but with the order of the fields instead
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 05:47 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.05506 seconds
  • Memory Usage 2,316KB
  • 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
  • (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_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