Keep in mind require.main's "scope" is app.js, so you'd have to do require.main.require('./src/groups.js'); if you want access to the groups lib.
require.main will always be app.js for plugins, since plugins are only called by NodeBB.
On my community people asking if it's possible to post anonymously on an topic in a selected category.
Is there a way or a plugin to make it possible that people can post something anonymously? That the username and avatar are black or censored or something.
@MJ enable guest posting in that category. They will have to logout before posting.
@pichalite wel it's a category where guest aren't allowed in so that's the hard part
It would be nice if there was a checkbox before posting or a plugin so people can post anonymously
@MJ there is no plugin
@MJ Another quicker option if the plugin isn't possible in a good amount of time; and if your community is small and trustworthy, you can create an account called anonymous and sticky a topic in a forum only they can see with the password for the account.