This works great! THANKS!
This works great! THANKS!
i like the short stats style very much... ( All info avalilble in Dash Board )
May be they should do one which pull stats from Awstats?
May be they should do one which pull stats from Awstats?
Soteke: I'm really not familiar with how localization works. The data I pull from hostip could be passed through a filter or what not, just really not sure how it works.
Reevo: The easiest way to clear the database is to jump into something like phpMyAdmin and delete the tables by hand. They should be called wp_ss_stats and wp_ss_search.
Anyone think of what I can do to get the ShartStat entries to go away?
Dump the database or clear the tables.
Is it as simple as just deleting the tables I don't need?
Is it as simple as just deleting the tables I don't need?
If you clear the tables (delete the entires in the tables), then you won't have to run ShortStat's installer script again. If you dump them (delete the tables entirely), then you will have to run ShortStat's installer script again.
Nice one, sorted now, thanks for the advice all. Back to a healthy 1.75meg file!
Don't know why, but the plugin slows down the loading of my web page HUGELY!
great plugin ...
after running it for a while it suddenly stopped working today. After testing various things, I've found that the Google Sitemaps plugin ( version 2.7 ) by Arne Brachhold
conflicts with it somehow. After deactivating the google sitemaps plugin, the stats are working again.
anybody else run into this ?
Is there any way to have w-shortstat remember the unique hits from previous days in the week, rather than general hits?
Thanks.
@raanan_nyc
Good sleuthing. wp-shortstat didn't work for me when I tried it out. I thought I was going crazy. I just tested it, with and without Google Sitemaps, and reproduced your results.
I want to continue using Google Sitemaps. My workaround is to install the original ShortStat, rather than use wp-shortstat.
@raanan_nyc thanks for tracking that down. I wondered why my wp_shortstat stopped counting! Turns out, it was the same day I installed the Sitemaps plugin.
Advice? Which one should I run? Or, will the wp_shortstat author be able to update this plugin to workaroud the problem?
I'd love to have Shortstat back, but Sitemap seems important for search results...
is anybody in touch with the author of this plug-in ?
http://jrm.cc/about
perhaps he's not aware of this bug ? i sent an email via the contact form ...
anybody out there find a workaround beyond using a different version of the plugin ?
Upon investigation, it looks like the two are indeed tripping over each other. The Google Sitemaps includes admin_functions.php because it needs the get_home_path() function provided in it, but the WP-ShortStat plugin specifically will not log the hit if admin_functions.php is loaded to avoid logging the admin pages (makes sense, I guess).
Since it seems that I would never be publishing, editing or deleting a post without being in the admin interface, I think it's safe to disable the inclusion in the Google Sitemaps plugin.
To do that, open Google Sitemaps 2.7 sitemap.php file and scroll down to line 159. Change it from:
require_once(ABSPATH . 'wp-admin/admin-functions.php');
to
// require_once(ABSPATH . 'wp-admin/admin-functions.php');
save it and re-upload it.
So far so good on my site :)
--Steve
hmm i have shortstat and sitemaps both running w/o any apparent problems?
v1.3 of wp-shortstat is counting admin visits. This was fixed in v1.2, is there a patch?
I've collected several updates for wp-shortstat and postet a new version to http://blog.happyarts.de/2006/01/17/65. Enjoy.
The happyharts version is still not counting stats when Google Sitemaps plugin ( version 2.7 ) by Arne Brachhold is active.
I've tested that bluecamel's solution of editing Google Sitemaps allows the two plugins to play with each other but how does it affect how Google Sitemaps works??
Had the same problem with the Google Sitemap Plugin as bluecamel now. But i've fixed the wp-shortstat plugin instead of the sitemap plugin (which behaves correct). You may download it here: http://blog.happyarts.de/2006/02/02/74 . This time in english, not german :)
Hello, I'm using the happy arts fix.
Since you are working on it, can you check why all the countries appear as "Indeterminable"?
I'm running Linux, Apache, in Safe Mode with allow_url_fopen Off
Thanks for your work!
Thanks, Happy Arts. I *don't* have the Google Sitemap Plugin, but my wp-shortstat stopped working today after I upgraded to WP 2.0.1 from 1.5.2. I found your fix just now and it seems to be counting again. I don't know what the problem/conflict was though, since I'm not using the Sitemap. Is there some basic conflict with 2.0.1? Matt's list had wp-ss1.3 mentioned as working. The only plug-in I disabled was the database back-up plug-in, figuring I'd activate it only when backing up.
A post at the thread below fixed things for me. Apparently a WordPress function was renamed, breaking it. One quick edit, and things started to work.
I'm using wp-popstats 2.00 now, tons better than this buggy plugin: http://www.deltablog.com/2006/02/09/wordpress-plugin-popstats-2/
It looks to me like this stat plug-in counts hits from the admin. I added the following code in the track() function right after global $wpdb & it seemed to do the trick to exclude hits from me looking at my own site.
global $userdata;
global $user_level;
get_currentuserinfo();
if($user_level == '10'
)return; // Don't track hits from the blog admin
I'm no PHP coder, so use at your own risk & someone can correct this if its wrong.
This topic has been closed to new replies.