21 May 2009 – Added function for when comment is deleted. send curl to api added settings page link to green box on plugins page using action and image on menulinks
added public api_url for easier updating
add_filter('plugin_action_links', array(&$this,'commentluv_action'), -10, 2); // add a settings page link to the plugin description. use 2 for allowed vars
add_action('admin_menu', array(&$this, 'admin_menu'));
// hook the options page
function admin_menu(){
$menutitle = ' ';
$menutitle .= 'CommentLuv';
add_options_page('CommentLuv Settings', $menutitle, 8, basename(__FILE__), array(&$this, 'handle_options'));
}
/>
// add the settings link
function commentluv_action ($links, $file){
$this_plugin = plugin_basename(__FILE__);
if ($file == $this_plugin){
$links[] = "<a href='options-general.php?page=commentluv.php'>" . ' ' . __('Settings', $this->plugin_domain) . "";
}
return $links;
}
basic skeleton is now done for no-frills version. the frills to be added..
Plugin Update 21 May 2009
Post Views for May :
andy
@commentluv
Latest posts by andy (see all)
Doing so means you get exposure to thousands and thousands of other CommentLuv users and your posts get sent out to the massive subscriber list.
Google loves this site and indexes it multiple times per day and posts always get lots of comments so you can be sure of some excellent exposure.
See the Write For Us page for more details
btw.. you can get this author box here
21 May 2009 – Added function for when comment is deleted. send curl to api added settings page link to green box on plugins page using action and image on menulinks
added public api_url for easier updating
add_filter('plugin_action_links', array(&$this,'commentluv_action'), -10, 2); // add a settings page link to the plugin description. use 2 for allowed vars
add_action('admin_menu', array(&$this, 'admin_menu'));
// hook the options page
function admin_menu(){
$menutitle = ' ';
$menutitle .= 'CommentLuv';
add_options_page('CommentLuv Settings', $menutitle, 8, basename(__FILE__), array(&$this, 'handle_options'));
}
function commentluv_action ($links, $file){
$this_plugin = plugin_basename(__FILE__);
if ($file == $this_plugin){
$links[] = "<a href='options-general.php?page=commentluv.php'>" . ' ' . __('Settings', $this->plugin_domain) . "";
}
return $links;
}
basic skeleton is now done for no-frills version. the frills to be added..
Info link : in php and jquery
click track : in jquery
error check for returned post : in php
user choice of inserted text : in php
user choice of styling : in php
mu compatibility check : in php
code tidy: in php and jquery
How the new CommentLuv plugin will be different
Plugin at full functionality beta 1
Plugin at 80% of the way there
Plugin progress 20 May 2009
BOL Newsletter #57 – Contest , Sales dissapointment