
The docs suggest in various spots the following:
Quote:The Banned Items module allows you to "ban" specific items from your site:
...
It also includes functionality for other modules to register additional ban "types" for use in the system.
...
It also includes functionality for other modules to register additional ban "types" for use in the system.
I looked but could not find any examples of this in the code or in the documentation. Admittedly I may have missed it but I just do not see it.
So my question is how would I, for example, register a new type in jrBanned? I presume that I can do so in a module and that would add a new type ( e.g. 'censored' ) so that we could use jrBanned to create a list of censored words and then use jrBanned functions to test them in the specific contexts where we wish to apply them.
I just do not know how to register the new type. FIgured this would be a decent start (this is in the ntCensor module init):
jrCore_register_module_feature('jrBanned','banned_type', 'ntCensor','censored');But apparently not.
--
TiG
updated by @tig: 05/02/18 09:50:11AM