Mini Stats

14th Nov 2006 Danny
Introduction

Plugin updated 26th December 2007 - Please ensure you have the latest version installed

Add some statistics to your blog posts, including total number of posts, comments, words and views. Also includes lists of posts with the most comments, views and words.

Contents
  1. Introduction
  2. Installation (v1.x)
  3. Installation (v2.2+)
 
 
 
 

27 comments

does it work fine with version 1.8.x? thanks
 
11/23/06 @ 19:53
It should work for all 1.8.x series, let us know if it doesn't ;)

¥
 
11/24/06 @ 17:38
thank you, i have re-installed it and is working fine,
 
12/14/06 @ 02:31
Comment from: Mitchell
Are you going to get this plugin to work on page 1.
 
01/11/07 @ 14:24
Comment from: jeff
I installed it but it doesn't seem to be doing anything.

When I call it from the skin like this:


call_by_code( 'ministats', array(
'stats' => array('views')
) ); ?>

I get nothing at all added to my page. (I.e., it looks like you did before I installed the plug-in.)

When I call it like this:
call_by_code( 'ministats', array() ); ?>

I get nothing as well.

I am running version 1.9.2

When am I doing wrong?
 
02/22/07 @ 21:31
Comment from: jeff
please disregard my prior post. I am apparently an idiot.

The code in question was effectively commented out. I find it much harder for it to work properly that way.

Everything is working fine now.

-Jeff

 
02/22/07 @ 22:26
Comment from: dub27
1.9.2

error message on display

Notice: Undefined offset: 3 in C:\Documents and Settings\HP_Administrator\My Documents\websites\b2evolution\blogs\plugins\ministats_plugin\_ministats.plugin.php on line 219

 
02/27/07 @ 16:58
1.10.2

error message on display:

(1)
Notice: Undefined offset: 1 in /path/to/blog/plugins/ministats_plugin/_ministats.plugin.php on line 219

This is a brand new blog with only the default posts so far.
 
06/14/07 @ 23:59
Comment from: Danny
I contacted you by email. Once we get this sorted I'll make a new release.
 
06/15/07 @ 01:00
I integrated those changes you sent me, and have finally upgraded my production blog to 1.10.2... One thing I'm noticing is that in the ministats sidebar display, I'm getting some listings for Most Viewed Posts with just the number of views, but no post title... Does this have to do with private or unpublished posts? Maybe cross-posted posts? I can't figure out which posts they are because there's no title.. Anyway, you can see it in action in the sidebar...

I was also getting the same thing for Most Commented Posts, so much so that I had to disable that section entirely because 5 out of the 8 posts were showing up with no titles. Again, I don't know if it has to do with Private posts, or Unpublished posts.. or maybe even posts that are cross-posted across blogs? I can't seem to figure out where they're coming from.

Anyway, I love this plugin, except for the few little issues that seem to be popping up.
 
07/06/07 @ 04:25
Comment from: Esther
Hello love the plugin but have the same problems as above. I have to set off the comments as well because I have a brandnew blog with not so many comments so far :(
 
07/25/07 @ 19:25
Comment from: Marcus
Could you please update this plugin for b2evo 2.2!! I love this little plugin ant its a must have for my comming 2,2 installation. I would appriciate an update very much. Thanks!
 
12/21/07 @ 18:40
Comment from: Danny
Marcus,
I'm working on it. I'll have it out as quick as I can get it all functioning.

Danny
 
12/21/07 @ 18:45
Comment from: Danny
The plugin now works with 2.2+
 
12/26/07 @ 17:20
Is there a way to call one widget at a time? I see a line of code in the comments here:
call_by_code( 'ministats', array() ); ?>

But I'm not sure if that is all the code needed.

I basically have customized the right-side of my skin and I'd like to call each individual widget at a time..instead of the entire "Sidebar" section.

Can you help?

Edgar.
 
12/28/07 @ 19:34
I'm running b2evo 2.2.0 and I installed the plugin. The plugin works great except I'm getting this error:

Notice: Undefined index: block_title_start in plugins/ministats_plugin/_ministats.plugin.php on line 241

Notice: Undefined index: block_title_end in plugins/ministats_plugin/_ministats.plugin.php on line 241
Stats
Notice: Undefined index: text in plugins/ministats_plugin/_ministats.plugin.php on line 313

I went ahead and installed the widget as well and made sure the options were selected there. That didn't fix it.

Thoughts?
 
12/28/07 @ 20:47
Comment from: Mark
Is this known to work with 2.3? I am having some trouble (have not looked at it closely).
 
01/04/08 @ 16:45
Comment from: Mark
The error I am seeing is Warning Plugin class file [plugins/_ministats.plugin.php] is not readable! in the plugin part of backoffice.
 
01/04/08 @ 17:33
Hi! There's a little problem in the 2.2.1 version: the folder name is called minstats, so b2evolution can't find the plugin class! Pretty easy to solve, tough. Just rename the folder and reinstall the plugin!
 
01/10/08 @ 13:46
Comment from: Danny
Thanks, Walter. I corrected the file on SF.
 
01/10/08 @ 19:25
Comment from: JB
The download link URL for this file is the following:

http://download/plugins/ministats_plugin0.9.zip

Which doesn't work. What's the valid download URL?
 
01/18/08 @ 16:11
Comment from: Danny
JB,
Thanks, I corrected the link.
Danny
 
01/18/08 @ 16:20
Comment from: Nicole
Doesn't seem to work for me.
Error message:
Table 'nicolebo_b2evolution.T_posts' doesn't exist(Errno=1146)

sniff....
 
01/22/08 @ 03:47
Splendid plug-in, worked out-of-the-box on 2.4.0 (Those 2.x widgets rock). Great stuff, thank you.

Some feedback for you: I often bump up posts by redating them, and I notice that in such cases the most recent post stat only shows the most recent post that was actually posted, not any that got edited.
I'd love to be able to call these stats from outside of b2evo and/or in my static pages - is that going to be worth the trouble?
I notice that there's reference to date format in the code, but no front-end for that. Have I missed something here? I'd love to change the date format to match the format on my posts.
And finally... will this plugin be adding much of a load on a popular site (should I ever have one)? Any chance of a 10-minute cache or suchlike?
 
04/11/08 @ 16:55
Comment from: ameo
looks nice , i'll try it and tell you if it worked or not . hope my luck is better than the commenter above me :)
 
05/11/08 @ 23:12
Comment from: simoinfonet
helo 'm running b2evo 2.4 and I installed the plugin. The plugin dont works cept I'm getting this error: Fatal error: Class 'ItemList' not found in /var/www/chevalmag/www/b2evolution/plugins/ministats_plugin/_ministats.plugin.php on line 254 is your plugin compatible with this version ? thanks .
 
08/11/08 @ 17:58
Comment from: John
Just a note in case anyone else has the same small problem I had. I installed the plug-in but nothing showed up. I'm using B2evo version 2.4.5 and a 3 column skin (simple_zen) and I had to do some additional steps to get it working. After installing using the method at the top - I then had to go to Blog Settings > Widgets and then 'Add Widget' at the Sidebar 2 section. After that it was working fine.

Nice plug-in - Thanks.
 
11/09/08 @ 04:48

This post has 1 feedback awaiting moderation...

Comments are closed for this post.

 

B.O.P.I.T