24 May 2009
First beta is done!
Added last 2 functions, info box and click tracking.
removed jTip and pop jquery plugins and replaced with own function.
PHP used wp_set_comment_status action to update comluv with delete/approve status for a particular last blog/tweet/digg
add_action('wp_set_comment_status',array(&$this,'update_cl_status'), 1, 3); // call when status of comment changes // hook the set comment status action
function update_cl_status($cid, $status) {
// get comment stuff from id
if($status != 'spam') {
if($status != 'delete') {
$status = 'approve';
}
$comment = get_comment($cid);
if(strpos($comment->comment_content,"[rq=")){
Almost ready for first round of beta testers so keep an eye out in your inbox for news!
Plugin at full functionality beta 1
Article by Andy Bailey
I am the creator of CommentLuv and site owner and administrator of ComLuv.com
Andy Bailey has written 190 articles for ComLuv.com
I normally write at The ComLuv Network
24 May 2009
First beta is done!
Added last 2 functions, info box and click tracking.
removed jTip and pop jquery plugins and replaced with own function.
PHP used wp_set_comment_status action to update comluv with delete/approve status for a particular last blog/tweet/digg
add_action('wp_set_comment_status',array(&$this,'update_cl_status'), 1, 3); // call when status of comment changes
// hook the set comment status action
function update_cl_status($cid, $status) {
// get comment stuff from id
if($status != 'spam') {
if($status != 'delete') {
$status = 'approve';
}
$comment = get_comment($cid);
if(strpos($comment->comment_content,"[rq=")){
Almost ready for first round of beta testers so keep an eye out in your inbox for news!