WordPress Statistics Plugin – BAStats

I’ve been looking for quite a while to find a good statistics package that could give me an idea of what is going on on the site over and above the default Analog stats that my web provider provides.

Tonight I came across the beta version of BAStats, by Owen Winkler. The package is a WordPress plugin and as such was installed and functional in minutes.

I’ll have to figure out whether it winds up being useful, but the amount of data it collects for the amount of effort I had to put into installing it is definitely worth it. Currently, through my administration panel I can report on the following metrics:

  • Top Page Hits
  • Top Hosts
  • Top Referring Pages
  • Top Operating Systems
  • Top User Agents
  • Top Search Phrases
  • Recent Page Hits
  • Recent Hosts
  • Recent Referring Pages
  • Recent Operating Systems
  • Recent User Agents
  • Recent Search Phrases
  • Graph Top 5 Page Hits – Segmented
  • Graph Top Page Hits

I don’t have enough data to see what the last two items do, but it looks like I now have quite a bit of information at my fingertips. I’m hoping this stuff is more intelligible than trying to sift through the analog stats. Time will tell. Right now all I see is crawlers.


I was receiving some errors in the control panel and a data type error on the main page. To remove these messages, I did the following:

In the file BAStats_options.php, change the function check_option to look like the following:

function check_option($opt)
$settings = get_settings('bas_options');
if (!$settings) { $settings = array(); }
if(in_array($opt, $settings)) echo ' checked="checked"';

At line 115 , change the following code

if(in_array('log_spam', $options) && in_array('referer_spam', $settings))

to the following:

if(!is_array($options))$options = array();
if(!is_array($settings))$settings = array();
if(in_array('log_spam', $options) && in_array('referer_spam', $settings))

These changes should fix the errors you are receiving.

New Theme on Site

Since the release of WordPress 1.5 I’ve noticed a lot of Kubrick around now that one does not have to work to get it going. As the days ticked by I started getting really annoyed with the look of the site so I decided it was time to change. After looking around a little bit, I found this theme you are looking at right now called ShadedGrey.

This is probably one of the cleanest, well organized themes that I have come across so far. It was designed by Sadish Balasubramanian.

Best part of it, aside from customizing the sidebar a bit, I didn’t have to work to get it going. It took all of about 10 minutes of customization to get the site looking as it does right now and I think things look a lot more organized and pleasant to the eye since the change. I personally feel the site has never looked better than it does right now.

Have I mentioned what a great piece of software WordPress is?