MyBB Central
Monthly Stats - Printable Version

+- MyBB Central (http://www.mybbcentral.com)
+-- Forum: Archives (http://www.mybbcentral.com/forum-33.html)
+--- Forum: Mybb 1.4x Series Topics (http://www.mybbcentral.com/forum-26.html)
+---- Forum: Mybb 1.4x Plugins and Hacks (http://www.mybbcentral.com/forum-27.html)
+---- Thread: Monthly Stats (/thread-2355.html)

Pages: 1 2 3 4 5 6 7 8 9 10


Monthly Stats - labrocca - Feb 03, 2009

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.


RE: Monthly Stats - sadiqsaad - Feb 03, 2009

Wow this seems nice and handy.

TY for the great plugin L, keep up the great work Big Grin


RE: Monthly Stats - crabby - Feb 03, 2009

very useful thanks!


RE: Monthly Stats - IT LEGEND KILLER - Feb 03, 2009

this is really fantastic

kepp it up labb


RE: Monthly Stats - ridwan sameer - Feb 03, 2009

nice plugin
nice plugin


RE: Monthly Stats - sadiqsaad - Feb 05, 2009

Just installed, working perfectly. God bless you Labrocca.


RE: Monthly Stats - Hapatio - Feb 06, 2009

Just installed on a test forum and showing a load of errors. The test forum has no threads or posts is that the reason?


RE: Monthly Stats - MattR - Feb 06, 2009

Well, what are the errors??


RE: Monthly Stats - Hapatio - Feb 06, 2009

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?


RE: Monthly Stats - labrocca - Feb 06, 2009

Yeah there isn't any error checking for empty forums. I assume all forums have posts and threads.