This will require integration with your WordPress theme.
- In your theme directory, find the comments.php file.
- In your comments.php file, find the section of code that builds the comment form.
- Wrap your comment form with some Advanced Conditionals.
You'll end up with something like this:
- Code:
<?php if(is_user_logged_in() && current_user_can("access_s2member_level1")){ ?>
// display the comment form that came with your theme.
<?php } else { ?>
You must be logged in as a Member before you can leave a Comment.
<?php } ?>
Further documention on Advanced Conditionals, is available in your WP Dashboard, under:
s2Member -> API Scripting -> Advanced ConditionalsStatistics: Posted by Jason Caldwell — July 8th, 2010, 5:32 am
]]>