Came across Bad Behaviour which is a plugin for WordPress which is a set of PHP scripts which prevents spambots from accessing your site by analyzing their actual HTTP requests and comparing them to profiles from known spambots. It goes far beyond User-Agent and Referer, however.
Also found out that Mark Jaquith’s blog showed some kind of stats in the footer.
Having not found any Stats plugin for BB, I wrote to him. He promptly responded with the function he is using to retrieve the number of spams blocked by BB.
And I decided to convert it into a plugin for WordPress.
Overview:
This is a plugin to display number of blocked access attempts of Bad Behavior Plugin.
Note that this IS NOT Bad Behavior plugin. It is a stats plugin for Bad Behavior. This plugin is useless if you do not have Bad Behavior installed
Thanks! I will have to link to this, but I can’t really do it until you get your permalink fixed. It’s giving me a 404. I had to access the post manually by /index.php?p=302.
You might also be able to improve the situation somewhat by adding
ErrorDocument 404 /index.php?error=404
to .htaccess to force WP to process the request. In some cases this can get your permalinks working again, as well.I have gotten the site working again.
For some reason the .htaccess file disappeared.
It’s fixed now hopefully.
Thanks for the
ErrorDocument
code. I have added that to the .htaccessNow I guess you can link to the plugin.
I have also released the plugin via WP-Plugin manager.
Lastly, who did you find the id of my post?
The ID of your post is in the (Read more…) link. I’ll link back to here as soon as I get some sleep. 🙂
Cool.
Been having some site problems lately.
Added the plugin to WP-Plugins.org.
Still learning the system.
Nice to see you back up again! And like this look a million times better than the old one!!
I say, stick to a look that works rather than trying to create new ones that don’t!
[…] May 30th, 2005 WordPress Plugin: Bad Behavior Stats The Bad Behavior Stats plugin is for those using Bad Behaviour which is a plu […]
Great plugin addition for BB!
Just one thing, though . . . I found it odd that you would perform an add_action to wp_footer. That’s certainly not what I wanted to happen. Perhaps it would be a nicer idea to comment the line out in the original code so that those who want it added to wp_footer could do a quick uncomment.
[…] log. To begin with I sat up till the wee hours of 21st morning to complete and release my Bad Behavior Stats Plugin. Had to meet Madam C by 9am and so I was ab […]
Thanks for the suggestion. I guess I will put it on a to-do list.
But, how about having a user setting where a user can set if they want to auto-add it to wp_footer or not?
I have some more features in mind that I think I can add.
[…] Well, I released my first plugin on May 25, 2005. […]
[…] Well, I released my first plugin on May 25, 2005. […]
[…] I haven’t yet given it a shot, and I don’t think my plugin Bad Behavior Stats is compatible with this release. A closer look once I get the time. […]