@PitaJ said in State of available plugins:
./nodebb reset plugin="nodebb-plugin-im-broken"
that's not how you disable a plugin...
./nodebb reset -p nodebb-plugin-im-broken
This is an interesting plugin idea which I've seen before on other software.
https://github.com/NodeBB/NodeBB/blob/master/src/topics/create.js#L214
On this hook you want to save into database list of users who have replied.
Likely this hook: https://github.com/NodeBB/NodeBB/blob/master/src/posts.js#L99
If user has not replied to this post (also check if this is the first post in the topic) then replace content with "Please reply to this post to view content"
Something like that. I spent all of 30 seconds thinking of this maybe it's not 100% right, but good luck and hope this helps
@psychobunny said:
If user has not replied to this post (also check if this is the first post in the topic) then replace content with "Please reply to this post to view content"
Thanks @psychobunny I will try
Oh, actually, I made this sort of plugin as part of a "support forum" plugin.
Only OP and administrators can see the topic. It may help guide you towards what you want to do:
Turns a single category into a "Support Forum", topic creators can only see their own topics - GitHub - julianlam/nodebb-plugin-support-forum: Turns a single category into a "Support Forum", topic creators can only see their own topics
GitHub (github.com)
I finished part of this plugin and need help for :
Sounds like you're 80% there. I would release now and make a post for your plugin on our community. If you're lucky usually people who need the same thing will help out open source ftw
Also, #2, see my plugin https://github.com/psychobunny/nodebb-plugin-question-and-answer