Community Support Forums — WordPress® ( Users Helping Users ) — 2010-07-22T23:14:37-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=420 2010-07-22T23:14:37-05:00 http://www.primothemes.com/forums/viewtopic.php?t=420&p=1752#p1752 <![CDATA[Re: Hidden Until Contribute Comment]]> However, you can do something like this in PHP.

Code:
<?php
function current_user_has_comments(){
    $get= wp_get_current_commenter();
    if($get["comment_author"])
        return true;
}

if(current_user_has_comments()){
    // do something here
}
?>

Statistics: Posted by Jason Caldwell — July 22nd, 2010, 11:14 pm


]]>
2010-07-21T19:24:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=420&p=1692#p1692 <![CDATA[Hidden Until Contribute Comment]]>
username1 from Miami
username2 from Denver
Both reading post number 1

If username1 comments, a special "VIP" section about Miami is "visible" (within post number 1) for viewing while section about Denver is "hidden". Obviously large section is not ideal, just thinking of one or two liner "VIP" tips.

I think of it as contribute and get rewarded

Statistics: Posted by alberto — July 21st, 2010, 7:24 pm


]]>