rah/rah_unlog_me 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rah/rah_unlog_me

Composer 安装命令:

composer require rah/rah_unlog_me

包简介

Excludes site admins from Textpattern CMS visitor logs

README 文档

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

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2022-05-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固