Support » Plugin: Group Comments for LearnDash » Teacher Comment Moderation and hiding comments for non Group members

  • Resolved lijitimit


    Well, must say this plugin came in at a rather perfect time in my development! I was looking for a classroom communication system and POOF! I’m testing right now and I have 2 questions:
    1. What is the best set up for teachers to be able to moderate comments for their respective groups? Obviously we don’t want them moderating comments site wide.
    2. In your exploration of LD groups code, have you by chance found a conditional to recognize if someone is in a group, eg. is ld_group() ? The reason I ask is that in my testing, the comments respond to LD groups perfectly, however if a user is NOT in a group but they are enrolled in a course, they can comment and other users not in groups can see their comments. My goal is to only allow “classroom” (group comments) and remove comments for any other user.
    Thanks for creating this!

    • This topic was modified 2 years, 9 months ago by  lijitimit.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author dennishall


    Thanks for the feedback and your questions.

    To answer your questions:
    1. As described in the in Installation tab: To configure this plugin: section, Settings are done in the WP-Admin > Settings > Discussion page. Step 2 describes what WordPress comments can be configured to. You will find a selection that comments must be moderated to be displayed.

    2. The logic would suggest that not being in a group means the user is, by default, in the WordPress subscribers group – which is a WP user type – like a group. So the plugin is working even outside LeanrDash for you.

    I hope this information helps.

    Sorry, must have missed a line there. Thanks for the reply!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Teacher Comment Moderation and hiding comments for non Group members’ is closed to new replies.