Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author AdvancedCoding

    (@advancedcoding)

    Hi emielm,
    If you want to restrict replying to product author comments, just change this line -> if ($this->is_guest_can_reply() && $this->is_customer_can_reply())
    to -> if ($this->is_guest_can_reply() && $this->is_customer_can_reply() && $comment->user_id != get_post($comment->comment_post_ID)->post_author) in comment-form/tpl-comment.php (line 80)

    Hope this will help you.

    Thread Starter emielm

    (@emielm)

    Hi and thanks a lot for your reply. Sorry I didn’t respond earlier.

    I think I should rephrase what we want to achieve:
    We want only specific users like the product author to be able to reply to posted questions, so all other users/visitors are excluded from replying to it.
    The code you sent excludes the product author from being able to reply to comments, right?

    Besides, we would also like these users to receive an email notification of a new comment post.

    Hope there’s a way to do both.

    Thanks in advance for your reply!

    Plugin Author gVectors Team

    (@gvectors-team)

    Ok, we see that.
    We’re currently adding this feature with an option to turn/off this and are going to release it with next WooDiscuz version in a few hours.

    However I can’t understand the idea of this requirement. The person who asked a question after getting reply from product author should be able continue the discussion and reply to author’s reply. But you’re going to block it with this option. If you don’t mind could you please explain this aspect?

    Thread Starter emielm

    (@emielm)

    Thanks for your reply and the update in advance!

    I understand your questions about this. Please allow me to explain:

    We want only the product author to be able to reply, because these product authors are exterrnal vendors (it’s a marketplace site). They are obligated to answer questions about the products they sell, according to our terms.
    That’s why we want the product author to receive an email when a question is posted and in order to save us work on moderating answers from other people (which are probably spammy), we want the product author to have exclusive rights to answer the question. If possible it would be even better if the original poster of the question was able to reply too, of course. Can this be added to the options too? That would be awesome! All users have to be logged in by the way in order to ask a question.

    Thanks for your help again!

    Plugin Author gVectors Team

    (@gvectors-team)

    Hi emielm,
    We just released WooDiscuz 1.1.3 with the option you were talking about.
    We’ve added an option to keep comment threads private for product author and thread starter. This option will not allow users reply in other users’ threads, however those will be readable for all. Please update.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Restrict reply to specific user?’ is closed to new replies.