2

Currently, if users have a registration on website they can post their comments without login too, only using their email address. In this way registered users' avatar will be shown on the site. If any (anonym, not-registered) users know their email address they can post comments like a registered users' (or admin) using their avatar.

Is there any way to dont allow registered users to post comments without being logged in? Error attention? or any way?

On my site registered and unregistered users can be able to post comment. There is no way to hold all comments for moderation, or required registration for all users. Thx

1 Answer 1

2

Maybe I don't understand your question correctly, but... I think there's an option that does exactly what you need...

If you log in as Administrator and go to Settings->Discussion you should see this option "Users must be registered and logged in to comment".

enter image description here

8
  • hy, thx but is not good way for me. If this checked users can post comment only after registration. I would like to allow the comments for all users. So I need a solution like this: "Registered users must logged in to comment." and "Unregistered users can comment without being logged in."
    – cartmen123
    Commented Jun 8, 2018 at 14:50
  • So what exactly do you want to achieve? Commented Jun 8, 2018 at 14:52
  • So I need a solution like this: "Registered users must logged in to comment." and "Unregistered users can comment without being logged in." If the users have registration they must be logged in, if not they can post comment.
    – cartmen123
    Commented Jun 8, 2018 at 14:56
  • And how do you want to check if user is registered when he's not logged in? Commented Jun 8, 2018 at 14:58
  • This is the issue. Im not a programmer. Maybe a any function? Eg.: if (is_user_"have registration"()) { Is there any solution for this?
    – cartmen123
    Commented Jun 8, 2018 at 15:04

Not the answer you're looking for? Browse other questions tagged or ask your own question.