https://github.com/realityripple/safeanon
👤️ MantisBT Plugin - Prevent anonymous users from posting URLs in public notes.
https://github.com/realityripple/safeanon
anonymous-users mantisbt mantisbt-plugin spam-filter spam-filtering spam-prevention
Last synced: 3 months ago
JSON representation
👤️ MantisBT Plugin - Prevent anonymous users from posting URLs in public notes.
- Host: GitHub
- URL: https://github.com/realityripple/safeanon
- Owner: RealityRipple
- License: unlicense
- Created: 2019-08-22T20:37:15.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-06-11T02:34:15.000Z (almost 3 years ago)
- Last Synced: 2025-01-11T04:44:14.462Z (4 months ago)
- Topics: anonymous-users, mantisbt, mantisbt-plugin, spam-filter, spam-filtering, spam-prevention
- Language: PHP
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Safe Anon
MantisBT Plugin to prevent anonymous users from posting URLs in public notes.How to install
--------------1. Copy SafeAnon folder into plugins folder.
2. Open Mantis with browser.
3. Log in as administrator.
4. Go to Manage -> Manage Plugins.
5. Find SafeAnon in the list.
6. Click Install.Optional:
The event `EVENT_BUGNOTE_DATA` does not currently pass whether the note in question is public or private. If you wish to allow private notes to bypass this plugin, please make the following change to your MantisBT installation:core/bugnote_api.php; Line 262
> `- $t_bugnote_text = event_signal( 'EVENT_BUGNOTE_DATA', $p_bugnote_text, $c_bug_id );`
> `+ $t_bugnote_text = event_signal( 'EVENT_BUGNOTE_DATA', array( $p_bugnote_text, $p_private ), $c_bug_id );`Please be aware that this may break other plugins that use the `EVENT_BUGNOTE_DATA` signal. You should check your plugins' hook lists to make any necessary changes. Any functions that are called by the signal should include a new `$p_private` parameter between `$p_bugnote_text` and `$c_bug_id`.
Supported Versions
------------------- MantisBT 1.2.x and higher - Unknown
- MantisBT 2.0 and higher - Supported