#3438 - Hooks for the punish form

Identifier #3438
Issue type Feature request or suggestion
Title Hooks for the punish form
Status Completed
Tags

Risk: Database change (custom)

Roadmap: v11 (custom)

Handling member PDStig
Addon cns_warnings
Description Patrick: "I would recommend the warnings bundled addon to also work via. hooks. That way, certain features / addons can have their own entries in the punishment form. For example, say if I create an addon where users earn charms for their profile... and I want staff to be able to revoke charms as a form of punishment. The addon can then create a hook for the punishment form allowing me to choose charms to revoke for that user.

Another reason would be if I decide to make and release my karma addon. It'd be much easier to implement into the warnings system via. hooks."
Steps to reproduce

Related to

#5476 - Add a warning hook to allow specifying recent point transactions to reverse

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated