Guest bloggers heaven
Recent post : Aweber Review. The Email Software
Recent post : The Real Secret Behind Ctrl+Alt+Delete!
Recent post : Facebook Fan Pages – Key To Social Media Marketing
Recent post : Posture: Don’t make this mistake!
Recent post : 340 Comment Luv Blogs With PR For You To Comment To
Using Magazine Theme on The Genesis Framework ·Copyright © 2012 · Log in
Plugin progress 20 May 2009
Article by Andy Bailey
I am the creator of CommentLuv and site owner and administrator of ComLuv.com
Andy Bailey has written 276 articles for ComLuv.com
I normally write at http://comluv.com
20 May 2009 – Insert choice and request id fields to form. Major update to ajax script. Process posted data. Replace data with hidden span on display comment, Add confirm comment call and show message if spam.
add_action('comment_post',array(&$this,'approve_comment'));approve_comment function gets passed the id of the comment
// hook the post comment to send confirm to comluvfunction approve_comment($cid){
// get comment stuff from id
$comment = get_comment($cid);
if($comment->status != "spam"){
can get spam status by get_comment putting all comment data into $comment object
$comment->comment_content
ref: http://codex.wordpress.org/Function_Reference/get_comment
Loading...