Yes you can use them inside the AMD module but keep in mind once you add an event listener on the window object it will be called everytime there is an action:ajaxify.end. If you don't want it triggered after you leave that page you need to turn it off with $(window).off('eventName', myMethod)
Modification of plugin "groups-autoassigncategory"
-
Hello, I really like this plugin: https://github.com/adlerosn/nodebb-plugin-groups-autoassigncategory
But I really need following changes:
1. An update (and test!) of all dependencies and changes like:
[recommended in warning logs] var db = require.main.require("./src/database") [current, deprecated version] var db = module.parent.require('./database');
2. Setup permissions like this (or give an option in the admin panel):
-
Guests, Spiders, Registered Users: No permissions at all (not even read or see)
-
Group members: All permissions except "see deleted posts", "permanently delete" and "moderate" (I hope I got the translations right, it's the last three checkboxes).
My Forum with a lot of users will require this and I'd really appreciate it.
-