You are here: Home
Support site for Tips and Tricks HQ premium products
Maybe the similar problem could be with comments.
If you don’t want to exaclty allow each comment,
you could update line 790 in wp_eMember1.php from
if($perms->is_permitted_comment($id))
to
if(!$perms->is_protected_comment($id)||$perms->is_permitted_comment($id))
I’ve found this error too. There is a problem with missing check when you are using category permission, but not posts protection.
Modify line 683 in wp_eMember1.php in function auth_check_post
from
if($perms->is_permitted_post($id))
to
if(!$perms->is_protected_post($id)||$perms->is_permitted_post($id))
and then you dont need to set all posts as protected.
Or set all posts as protected everytime you create a new post.
I recommend to fix this problem directly in the next release of eMember.
Could any admin provide a comment if this is a good solution?
Thanks
Jan