Guest bloggers heaven
Recent post : How I Get 5,000+ Backlinks With One Click Of A Mouse Button W...
Recent post : A man who treats his woman like a Princess
Recent post : Legend Behind Valentine’s Day
Recent post : Successful WordPress Website Checklist
Recent post : Tumblr Login
Using Magazine Theme on The Genesis Framework ·Copyright © 2012 · Log in
Get the exclusive 15 ways to generate traffic ebook
Thanks For Subscribing. Please Check Your Inbox NOW!
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 261 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