MyBB Central

Full Version: Monthly Stats
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10
License is attached inside extras folder by using this software you agree to the terms of that license.

Plugin Name: Monthly Stats
Plugin Author: Jesse Labrocca
Plugin Website: http://www.MybbCentral.com
Plugin Version: 1.0a
Plugin Mybb Compatibility: 1.4x
Plugin File Edits: None
Plugin File Uploads: 2
Plugin Description: This plugin will add a section to view your monthly stats for posts and threads from admincp.

Installation

1. Upload the files from the zip.

2. Login to your admincp and ACTIVATE the plugin (Monthly Stats) in the plugin manager.

3. You will see a new option in the admin under "Tools & Maintenance" for "Monthly Stats".

That's it.

Screenshots are all available inside the extras folder.

This plugin is language compatible.

DEMO: http://www.mybbcentral.com

NOTE: If you have a very large forum this can take a while to parse. It took me 25 seconds for 400,000 posts.

UPDATE v1.0a Dec 29,2009
======================
Fixed an admin language bug for admin permissions.
To upgrade simple upload the inc/plugins/monthly_stats.php file.
Wow this seems nice and handy.

TY for the great plugin L, keep up the great work Big Grin
very useful thanks!
this is really fantastic

kepp it up labb
nice plugin
nice plugin
Just installed, working perfectly. God bless you Labrocca.
Just installed on a test forum and showing a load of errors. The test forum has no threads or posts is that the reason?
Well, what are the errors??
Code:
Warning [2] array_count_values() [function.array-count-values]: The argument should be an array - Line: 105 - File: inc/plugins/monthly_stats.php PHP 5.2.5 (Linux)
File Line Function
[PHP]   errorHandler->error
/inc/plugins/monthly_stats.php 105 array_count_values
[PHP]   monthly_stats
/inc/class_plugins.php 101 call_user_func_array
/admin/index.php 376 pluginSystem->run_hooks

Warning [2] Invalid argument supplied for foreach() - Line: 105 - File: inc/plugins/monthly_stats.php PHP 5.2.5 (Linux)
File Line Function
/inc/plugins/monthly_stats.php 105 errorHandler->error
[PHP]   monthly_stats
/inc/class_plugins.php 101 call_user_func_array
/admin/index.php 376 pluginSystem->run_hooks

Warning [2] array_count_values() [function.array-count-values]: The argument should be an array - Line: 118 - File: inc/plugins/monthly_stats.php PHP 5.2.5 (Linux)
File Line Function
[PHP]   errorHandler->error
/inc/plugins/monthly_stats.php 118 array_count_values
[PHP]   monthly_stats
/inc/class_plugins.php 101 call_user_func_array
/admin/index.php 376 pluginSystem->run_hooks

Warning [2] Invalid argument supplied for foreach() - Line: 118 - File: inc/plugins/monthly_stats.php PHP 5.2.5 (Linux)
File Line Function
/inc/plugins/monthly_stats.php 118 errorHandler->error
[PHP]   monthly_stats
/inc/class_plugins.php 101 call_user_func_array
/admin/index.php 376 pluginSystem->run_hooks

Warning [2] Invalid argument supplied for foreach() - Line: 124 - File: inc/plugins/monthly_stats.php PHP 5.2.5 (Linux)
File Line Function
/inc/plugins/monthly_stats.php 124 errorHandler->error
[PHP]   monthly_stats
/inc/class_plugins.php 101 call_user_func_array
/admin/index.php 376 pluginSystem->run_hooks

I was guessing it was due to no threads?
Yeah there isn't any error checking for empty forums. I assume all forums have posts and threads.
Pages: 1 2 3 4 5 6 7 8 9 10