rah/rah_unlog_me

Excludes site admins from Textpattern CMS visitor logs

Fund package maintenance!
www.paypal.me/jukkasvahn

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 1

Open Issues: 0

Type:textpattern-plugin

1.5.0 2022-05-13 15:31 UTC

This package is auto-updated.

Last update: 2024-11-13 20:44:47 UTC


README

Download | Packagist | Issues

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.

Install

Using Composer:

$ composer require rah/rah_unlog_me

Or download an installer package.

Preferences

After installation, you can find rah_unlog_me’s settings from Textpattern’s Preferences panel, under Visitor log exclusions section.

Exclude site authors’ IPs from the logs?

If set to Yes, site admin’s visits are not logged while logged-in to the Textpattern admin.

Additional IPs to exclude from the logs (comma-separated)

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._%

Changelog

Version 1.5.0 – 2022/05/13

  • 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.

Version 1.4.1 – 2012/09/10

  • Improved: Cleaned up the installer and the migration script.

Version 1.4 – 2012/07/11

  • 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.

Version 1.3 – 2011/12/06

  • 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.

Version 1.2 – 2011/06/03

  • 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.

Version 1.1 – 2011/03/14

  • 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.

Version 1.0 – 2011/03/13

  • 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.

Version 0.1 – 2009/05/24

  • First release