plugin:hidingip
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:hidingip [2018-07-19 22:23] – [Hiding IPs Plugin] typo correction tmomas | plugin:hidingip [2020-07-14 10:08] (current) – Compatible with hogfather hokkaidoperson | ||
---|---|---|---|
Line 5: | Line 5: | ||
author | author | ||
email : dosankomali@yahoo.co.jp | email : dosankomali@yahoo.co.jp | ||
- | type : Action | + | type : Action, Helper |
- | lastupdate : 2018-06-02 | + | lastupdate : 2018-11-05 |
- | compatible : Greebo, | + | compatible : Greebo, |
- | tags : | + | tags : ip, anonymous |
downloadurl: | downloadurl: | ||
Line 16: | Line 16: | ||
:!: [[ja: | :!: [[ja: | ||
- | :!: This plugin is still experimental. | ||
:!: I’m not a native English speaker, so this page may contain some mistakes in English sentences. | :!: I’m not a native English speaker, so this page may contain some mistakes in English sentences. | ||
Line 39: | Line 38: | ||
It doesn' | It doesn' | ||
After you install this plugin, it'll automatically hide IPs in: | After you install this plugin, it'll automatically hide IPs in: | ||
- | * Recent Changes | + | * Recent Changes |
- | * Old Revisions | + | * Old Revisions |
- | * Showing Diffs | + | * Showing Diffs (via an event [[devel: |
- | * Last Modified | + | * Last Modified |
- | * Page Locking | + | * Page Locking |
The plugin will rewrite only superficial data, core data won't be overwritten. | The plugin will rewrite only superficial data, core data won't be overwritten. | ||
+ | |||
+ | When to run this plugin can be specified on the config (see [[# | ||
+ | |||
+ | ==== Helper Plugin Option ==== | ||
+ | You can use the localization of the alternative text used by this plugin.\\ | ||
+ | Here is a sample of the code: | ||
+ | <code PHP> | ||
+ | if (!isset($_SERVER[' | ||
+ | if(!plugin_isdisabled(' | ||
+ | $hidingip = plugin_load(' | ||
+ | $user = $hidingip-> | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | A practical sample can be seen in the program of my [[plugin: | ||
==== How IPs are Replaced ==== | ==== How IPs are Replaced ==== | ||
=== In Recent Changes and Old Revisions === | === In Recent Changes and Old Revisions === | ||
- | When '' | + | When '' |
Thus this plugin detects the ' | Thus this plugin detects the ' | ||
If the '' | If the '' | ||
Line 58: | Line 72: | ||
=== In Last Modified and Page Locking === | === In Last Modified and Page Locking === | ||
- | Simply replace the texts that is likely | + | :!: **UPDATED**\\ |
+ | If '' | ||
:!: You can't use the user name like IPs (that' | :!: You can't use the user name like IPs (that' | ||
+ | |||
+ | ===== Configuration and Settings ===== | ||
+ | You can change the following setting by using the [[plugin: | ||
+ | |||
+ | ^Option^Description^Value Type^Default Value^ | ||
+ | |'' | ||
+ | |'' | ||
===== Development ===== | ===== Development ===== | ||
Line 69: | Line 91: | ||
* **2018-06-02** | * **2018-06-02** | ||
* modified text garbling | * modified text garbling | ||
+ | * **2018-10-24** | ||
+ | * Update with bug fixing (The problem about WARNING level errors, and the problem that the plugin didn't work well if [[config: | ||
+ | * **2018-10-30** | ||
+ | * Adding some options (configs and the helper plugin section) | ||
+ | * **2018-11-05** | ||
+ | * Fixed invalid syntax | ||
=== Known Bugs and Issues === | === Known Bugs and Issues === | ||
Line 86: | Line 114: | ||
===== Discussion ===== | ===== Discussion ===== | ||
- | |||
- | |||
- | |||
plugin/hidingip.1532031826.txt.gz · Last modified: 2018-07-19 22:23 by tmomas