the user's personal information in the pictures below , such as the number of posts, reputation and so on. any plugin?who knows?
@Mega as @Schamper said, I only discovered this last week, so we use require.parent.parent/etc for everything, but require.main works just as well.
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.
@daftcyborg users automatically watch topics they create. So yes that notification option does what you want.
Check your network!
@julian thanks, i got it~
nodebb-plugin-dbsearch and nodebb-plugin-solr use those hooks 🙂