Community Support Forums — WordPress® ( Users Helping Users ) — 2011-04-28T22:07:04-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=6243 2011-04-28T22:07:04-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6243&p=13743#p13743 <![CDATA[Re: Hiding Comments]]> Statistics: Posted by BobTabor — April 28th, 2011, 10:07 pm


]]>
2011-04-28T21:57:48-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6243&p=13742#p13742 <![CDATA[Re: Hiding Comments]]> Depending on your theme, upgrade message and membership options page link, code could look something like this on the single.php and page.php theme files:

Code:
<?php if (current_user_can("access_s2member_level1"))
{  comments_template('', true); } else { ?>
<div class='promsg'><h2>Pro members get to participate in post discussions!</h2><br />
<p><b>This post currently has <?php comments_number('no responses','one response','% responses'); ?>.</b><br />Upgrade to Pro now to enjoy interaction with fellow members.<br />
<a href="http://mysite.com/membership_options_page">> Get Pro Membership</a></p></div>
<?php } ?>

Statistics: Posted by artEV — April 28th, 2011, 9:57 pm


]]>
2011-04-28T17:11:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6243&p=13728#p13728 <![CDATA[Re: Hiding Comments]]>

This is not something s2Member controls by default, but you could customize it using s2Member's advanced conditionals in the theme files. WP Admin -> s2Member -> API / Scripting -> Advanced Conditionals and Advanced Query Conditionals

Let me know if that helps.

Statistics: Posted by Cristián Lávaque — April 28th, 2011, 5:11 pm


]]>
2011-04-28T16:34:12-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6243&p=13718#p13718 <![CDATA[Hiding Comments]]> Statistics: Posted by BobTabor — April 28th, 2011, 4:34 pm


]]>