No need to post a full guide as @yariplus had the correct answer all the time. I just did not understand it at first.
I need help in developing a plugin
Hi, I am totally new in nodebb development. i wanna build a plugin.
How can i know if a user replayed to a topic or not in hooks?
You can check if a user replied in a topic with
db.isSortedSetMember('tid:' + tid+ ':posters', uid, callback);
Thank you. But I think Nodebb's Docs Needs Improvement.
Sir, How I suppose to do that?
I am Planning To Make a plugin Which Hides Contents Inside a tag. and Keep it hidden until the viewer replies to the post.
I wanna do something like this.
// Contents Should Be hidden Until the user Replies to this post
I have created a simple plugin which hides the contents. But How can I show the content after the user replies?
Please Have a look at the repo.
Hi Anybody here?
I would imagine you would add what @baris mentioned in here:
if user is member of the poster set, return content as is