@pwFoo there was a bug in a code.
Please, update plugin to the last version (0.3.6), change again the lines 60, 61 and 65 of library.js, reload, restart and test again. Sorry for the inconvenience
does any one know whether one plugin can meet bellowing requirement:
"Only reply user can see the post content"
if no,which hook I should use to get it work? I will code my own.
This is an interesting plugin idea which I've seen before on other software.
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
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:
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
Sure, I will submit this plugin as open source if I finish it. However this is the first plug-in I write and took me times to learn it.