Google
Ph: 37000000000
- Projects -     - Mouldy Soups -     - Mouldy Bread -     - Contact -     - Links -     - Cheap Plastic Stuff -     - Photo Gallery -

Mr Mist’s Blog

It’s very sensible

bblogreader

This is the project page for my Bad Behaviour Log Reader plugin, which helps you out view the BB logs.

The readme for the plugin is reproduced here. 

The most current version of the plugin that I know of is 1.4, (Updated 20080812).

=== Bad Behaviour Log Reader ===
Tags: Bad Behaviour, Logs, antispam, reader
Requires at least: 2.2.1
Tested up to: 2.6.1
Stable tag: 1.4

This plugin allows you to view the full Bad Behaviour logs from within Wordpress.

== Description ==

This plugin allows you to view the full Bad Behaviour logs from within Wordpress. It adds a couple of menu pages BBLR Options and BB Log Reader into the Options menu bar from where you can access the relevant functionality.

Version 1.3 now allows the viewing of the log without the warnings, and (I think) should localise the times.

== Installation ==

1. Upload `bblr.php` to the `/wp-content/plugins/` directory
2. Activate the plugin through the ‘Plugins’ menu in WordPress
3. Optionally set a “number of log entries per page” value in the Options -> BBLR Options menu.

== Frequently Asked Questions ==

What version of Bad Behaviour does this work with?

I have tested it with version 2.0.10 and 2.0.16 - It would work with any other version of Bad Behaviour that uses the same database table structure.

What’s the point?

It lets you view the logs that Bad Behaviour keeps for you without you having to leave Wordpress
and examine your mysql database.  Handy if you don’t know SQL or don’t want to leave the Wordpress area.

What you choose to do with that information, is, of course, pretty much up to you.

== Background Info ==

This plugin was originally developed by a chap called Simon Elvery on an old version of WP and BB and then updated by Jonathan Murray  to work with newer versions.   That was a while ago.  Since then I started to use Wordpress (well, this weekend actually), installed Bad Behaviour, and thought “I really need to be able to see these logs without using phpmyadmin”.  I then decided to write a plugin that would do that, but did a bit of hunting around first and these guys’ plugins were what I found, so I expanded on them, and this is the result.
 

== Changelog ==

V1.0 Initial Release
v1.1 Moved main plugin page under Plugins in menu structure
Added link from activity box.
v1.3 Included checkbox for filtering out warnings
Localisation of time values.
v1.4 Only shows dashboard entry for authorised users.
Couple of bits of cleanup.

Current Version -
Download the current version of BBLogReader (.zip format) (1.4)
Previous Versions -
Download the current version of BBLogReader (.zip format) (1.3)
Download the previous version of BBLogReader (.zip format) (1.1)

Plugin Blog Entry.

5 Responses to “bblogreader”

Boje Says:

Thank you, nice work and much better than searching DB-tables…

Would be cool only to see the blocked ones in the backend, how do I change some lines of code to do so? Any idea?
Fantastic to have that as a option ;)

Greetings!

Mrmist Says:

I agree, that would be a useful option. I’ll try to look at it this weekend, shouldn’t be too difficult to filter them and add a check box.

craig Says:

boje: for a Q&D hack, just change the select line to exclude key=00000000

e.g. change:

SELECT * FROM ‘.$table_prefix.’bad_behavior ORDER BY

to:

SELECT * FROM ‘.$table_prefix.’bad_behavior where `key` != “00000000″ ORDER BY

mrmist: here’s a patch for BBLR to display log entries in localtime rather than GMT. i guess you don’t notice the problem if you’re in the UK where localtime IS GMT.

i would have preferred to mail it to you, but couldn’t find your email address. hope it survives the cut & paste into the comment form. if not, email me and i’ll send it as an attachment.



@@ -160,7 +160,7 @@
$alternate = ($alternate == ‘Bisque’) ? ‘Aquamarine’ : ‘Bisque’;
echo “”;
echo “Client IP: {$entry->ip} ”;
- echo “Date: {$entry->date} ”;
+ echo “Date: ” . strftime(”%Y-%m-%d %H:%M:%S”, strtotime($entry->date . ” GMT”)) . “ ”;
echo “Request URI: ”;
/*
echo chunker($entry->request_uri, 20, 20); +++ bblr.php 2008-05-02 23:15:37.000000000 +1000— bblr.php.orig 2008-04-28 12:29:04.000000000 +1000

Mrmist Says:

I really need to get around to working on this :D

baron Says:

hi. Thanks for plugin

perfect.

Regards

Leave a Reply


Bad Behavior has blocked 308 access attempts in the last 7 days.


You are viewing a mobilized version of this site...
View original page here

How do you rate mobile version of this page?

Mobilized by Mowser Mowser