Exclude set of IP addresses from Textpattern CMS’ visitor logs. Can automatically filter out your own hits, site admins and hits made by bots. The plugin adds easy-to-use logging options to Textpattern’s Preferences panel.
Using Composer:
$ composer require rah/rah_unlog_me
Or download an installer package.
After installation, you can find rah_unlog_me’s settings from Textpattern’s Preferences panel, under Visitor log exclusions section.
If set to Yes, site admin’s visits are not logged while logged-in to the Textpattern admin.
The second option of rah_unlog_me is a field where you can define a comma-separated (,
) list of IPs which will be excluded from the logs.
This option supports wildcards. %
matches any number of characters, and _
matches exactly one character. With the wildcards it’s easy to exclude whole address blocks. Following would exclude local devices from the visitor log:
::_%, fc00::_%, 10._%, 127._%, 172.16._%, 192.168.0._%
- Now actively block hits instead of cleaning the database after. While giving performance benefits, current versions of Texptattern do not save the IP addresses to logs, so cleaning wouldn’t be possible either.
- Now requires Textpattern CMS >= 4.8.0.
- Improved: Cleaned up the installer and the migration script.
- Changed: Moved embedded language strings to Textpacks.
- Added: Finnish translation.
- Added: Excluded IP list supports wildcard.
%
matches zero or more characters and_
exactly one character. - Now requires PHP5 or newer.
- Changed: Use the exact same method as Textpattern to check logged in user’s IP. Just for consistency, doesn’t really affect anything.
- Removed: JavaScript on Preferences panel. Causes more issues than adds. Not everyone wants everyone to navigate to the plugin’s pane.
- Imrpoved: Don’t throw up JavaScript to top of Preferences pane when JavaScript is disabled.
- Improved: Sweep pre-defined list of IPs with a single query.
- Fixed: Typo in the uninstaller. Called step from “delete” to “deleted”.
- Added: Forgotten flags.
- Added: Missing privileges for the plugins pane’s options link.
- Fixed: Typo in docs. Changed required TXP version from 4.0.7 to 4.2.0.
- Integrated plugin’s preferences to Textpattern’s native preferences pane.
- Better excluding/removing script. No longer searches IPs from the logs if it doesn’t need to; takes no action when logs are off, and removes the additional IPs from logs only when accessing the logs pane.
- Language string support.
- Now requires TXP 4.2.0 for full feature support.
- First release