Wordpress Plugins – Extensions

Just another WordPress.com weblog

Wibstats 0.5.5

Author: Chris Taylor
Wibstats is a WordPress plugin that gives a WordPress site, or each blog in a WordPress MU or BuddyPress installation, their own visitor statistics. The data stored includes the page viewed, date and time of visit, visitors browser, operating system and screen resolution, and the geographic location of the visitor (country and city) where it is possible to determine that information
Installation:
For standard WordPress:

The plugin should be placed in your /wp-content/plugins/ directory, so it looks like this:

/wp-content/plugins/
/wp-content/plugins/wibstats/
/wp-content/plugins/wibstats/wibstats.php
/wp-content/plugins/wibstats/wibstats-includes/

For WordPress MU or BuddyPress:

The plugin should be placed in your /wp-content/mu-plugins/ directory (not /wp-content/plugins/) so it looks like this:

/wp-content/mu-plugins/
/wp-content/mu-plugins/wibstats.php
/wp-content/mu-plugins/wibstats-includes/

Wibstats for WordPress MU requires no activation. The database table for each blog should be created automatically.

faq:
Why did you write this plugin?

I looked around for a suitable statistics plugin for one of my websites (wibsite.com) but was disappointed in the options available. In fact I tried one of the most popular ones but it was very badly written and I had to remove it as it was killing my server. So, I decided to write one myself.

The stats aren’t working? What’s gone wrong?

There are two reasons visitor stats might not be working:

1) The wp_footer() action is not being fired in your template. Please ensure that the wp_footer() action is in your footer.php file.

2) The statistics tables could not be created. If your WordPress database user does not have CREATE TABLE provileges you will need to run these two SQL scripts (replacing [prefix] with your WordPress database prefix, for example “wp_”). For WordPress MU the [prefix] needs to be replaced with the base database prefix AND the blog id (for example “wp_123”):

CREATE TABLE [prefix]wibstats_sessions (
id mediumint( 9 ) NOT NULL AUTO_INCREMENT,
timestamp bigint( 11 ),
ipaddress VARCHAR( 24 ),
sessionid VARCHAR( 50 ),
colordepth VARCHAR( 3 ),
screensize VARCHAR( 12 ),
browser VARCHAR( 50 ),
version VARCHAR( 12 ),
platform VARCHAR( 50 ),
page VARCHAR( 255 ),
title varchar( 255 ),
referrer VARCHAR( 255 ),
referrer_domain VARCHAR( 255 ),
terms VARCHAR( 255 ),
city VARCHAR( 50 ),
country VARCHAR( 50 ),
countrycode VARCHAR( 3 ),
latitude FLOAT( 10,6 ),
longitude FLOAT( 10,6 ),
PRIMARY KEY ( id ),
KEY timestamp ( timestamp ),
KEY ipaddress ( ipaddress ),
KEY sessionid ( sessionid ),
KEY colordepth ( colordepth ),
KEY screensize ( screensize ),
KEY browser ( browser ),
KEY version ( version ),
KEY platform ( platform ),
KEY page ( page ),
KEY title ( title ),
KEY referrer ( referrer ),
KEY referrer_domain ( referrer_domain ),
KEY terms ( terms ),
KEY city ( city ),
KEY country ( country ),
KEY countrycode ( countrycode ),
KEY latitude ( latitude ),
KEY longitude ( longitude )
);

CREATE TABLE [prefix]wibstats_pages (
id mediumint( 9 ) NOT NULL AUTO_INCREMENT,
timestamp bigint( 11 ),
page VARCHAR( 255 ),
title varchar( 255 ),
sessionid VARCHAR( 50 ),
referrer VARCHAR( 255 ),
referrer_domain VARCHAR( 255 ),
terms VARCHAR( 255 ),
PRIMARY KEY ( id ),
KEY timestamp ( timestamp ),
KEY page ( page ),
KEY title ( title ),
KEY sessionid ( sessionid ),
KEY referrer ( referrer ),
KEY referrer_domain ( referrer_domain ),
KEY terms ( terms )
);

For more information and support leave a comment here: http://www.stillbreathing.co.uk/projects/mu-wibstats/

Wibstats 0.5.5

Advertisements

May 14, 2010 - Posted by | download, extension, extensions, free, get, internet, plugin, plugins, Uncategorized, wordpress

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: