CommentLuv - Version 2.93.3

Version Description

  • updated : readme now says minimum wp 3.6 required
  • updated : add_removeluv_link now detects if $post is not available (prevents error on dashboard comments)
  • fixed : sidebar for wordpress 3.8 now shows properly (removed width setting on #poststuff div)
  • updated : sidebar facebook widget updated to use comluv.com version
Download this release

Release Info

Developer commentluv
Plugin Icon 128x128 CommentLuv
Version 2.93.3
Comparing to
See all releases

Code changes from version 2.93.2 to 2.93.3

Files changed (2) hide show
  1. commentluv.php +9 -5
  2. readme.txt +21 -4
commentluv.php CHANGED
@@ -2,7 +2,7 @@
2
  Plugin Name: CommentLuv
3
  Plugin URI: http://comluv.com/
4
  Description: Reward your readers by automatically placing a link to their last blog post at the end of their comment. Encourage a community and discover new posts.
5
- Version: 2.93.2
6
  Author: Andy Bailey
7
  Author URI: http://www.commentluv.com
8
  Copyright (C) <2011> <Andy Bailey>
@@ -28,7 +28,7 @@ if (! class_exists ( 'commentluv' )) {
28
  var $plugin_url;
29
  var $plugin_dir;
30
  var $db_option = 'commentluv_options';
31
- var $version = "2.93.1";
32
  var $slug = 'commentluv-options';
33
  var $localize;
34
  var $is_commentluv_request = false;
@@ -201,6 +201,10 @@ if (! class_exists ( 'commentluv' )) {
201
  */
202
  function add_removeluv_link($actions){
203
  global $post;
 
 
 
 
204
  $user_can = current_user_can('edit_posts', $post->ID);
205
  $cid = get_comment_ID();
206
  $data = get_comment_meta($cid,'cl_data');
@@ -1408,8 +1412,8 @@ if (! class_exists ( 'commentluv' )) {
1408
  ?>
1409
  <div class="wrap">
1410
  <h2><?php _e('CommentLuv Settings v',$this->plugin_domain);?><?php echo $this->version;?></h2>
1411
- <div id="poststuff" style="margin-top:10px; width: 965px;">
1412
- <div id="mainblock" style="float: left; width:710px">
1413
  <form method="post" action="options.php">
1414
  <?php settings_fields( 'commentluv_options_group' ); // the name given in admin init
1415
  // after here, put all the inputs and text fields needed
@@ -1797,7 +1801,7 @@ if (! class_exists ( 'commentluv' )) {
1797
  <tr><td><strong><?php _e('Social',$this->plugin_domain);?>:</strong></td><td><a title="Follow CommentLuv on Twitter" href="http://twitter.com/commentluv/" target="_blank"><img src="<?php echo $this->plugin_url;?>images/twitter.png"/></a> <a title="Join me on LinkedIn" href="http://uk.linkedin.com/in/commentluv" target="_blank"><img src="<?php echo $this->plugin_url;?>images/linkedin.png"/></a> <a title="Join me on Facebook" href="http://www.facebook.com/CommentLuv" target="_blank"><img src="<?php echo $this->plugin_url;?>images/facebook.png"/></a></td></tr>
1798
  <tr><td><strong><?php _e('Help',$this->plugin_domain);?>:</strong></td><td><a href="http://support.commentluv.com/" target="_blank"><?php _e('Help Desk',$this->plugin_domain);?></a></td></tr>
1799
  <tr class="alt"><td colspan="2"><?php _e('Do you like this plugin?',$this->plugin_domain);?></td></tr>
1800
- <tr><td colspan="2"><iframe src="http://www.facebook.com/plugins/like.php?app_id=156518444414150&amp;href=www.facebook.com%2Fcommentluv&amp;send=false&amp;layout=standard&amp;width=230&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=50" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:220px; height:50px;" allowTransparency="true"></iframe></td></tr>
1801
  <tr class="alt"><td colspan="2"><?php _e('News',$this->plugin_domain);?>:</td></tr>
1802
  <tr><td colspan="2">
1803
  <?php
2
  Plugin Name: CommentLuv
3
  Plugin URI: http://comluv.com/
4
  Description: Reward your readers by automatically placing a link to their last blog post at the end of their comment. Encourage a community and discover new posts.
5
+ Version: 2.93.3
6
  Author: Andy Bailey
7
  Author URI: http://www.commentluv.com
8
  Copyright (C) <2011> <Andy Bailey>
28
  var $plugin_url;
29
  var $plugin_dir;
30
  var $db_option = 'commentluv_options';
31
+ var $version = "2.93.3";
32
  var $slug = 'commentluv-options';
33
  var $localize;
34
  var $is_commentluv_request = false;
201
  */
202
  function add_removeluv_link($actions){
203
  global $post;
204
+ if(!$post){
205
+ // must be showing on the dashboard
206
+ return $actions;
207
+ }
208
  $user_can = current_user_can('edit_posts', $post->ID);
209
  $cid = get_comment_ID();
210
  $data = get_comment_meta($cid,'cl_data');
1412
  ?>
1413
  <div class="wrap">
1414
  <h2><?php _e('CommentLuv Settings v',$this->plugin_domain);?><?php echo $this->version;?></h2>
1415
+ <div id="poststuff" style="margin-top:10px; ">
1416
+ <div id="mainblock" style="float: left; width:78%">
1417
  <form method="post" action="options.php">
1418
  <?php settings_fields( 'commentluv_options_group' ); // the name given in admin init
1419
  // after here, put all the inputs and text fields needed
1801
  <tr><td><strong><?php _e('Social',$this->plugin_domain);?>:</strong></td><td><a title="Follow CommentLuv on Twitter" href="http://twitter.com/commentluv/" target="_blank"><img src="<?php echo $this->plugin_url;?>images/twitter.png"/></a> <a title="Join me on LinkedIn" href="http://uk.linkedin.com/in/commentluv" target="_blank"><img src="<?php echo $this->plugin_url;?>images/linkedin.png"/></a> <a title="Join me on Facebook" href="http://www.facebook.com/CommentLuv" target="_blank"><img src="<?php echo $this->plugin_url;?>images/facebook.png"/></a></td></tr>
1802
  <tr><td><strong><?php _e('Help',$this->plugin_domain);?>:</strong></td><td><a href="http://support.commentluv.com/" target="_blank"><?php _e('Help Desk',$this->plugin_domain);?></a></td></tr>
1803
  <tr class="alt"><td colspan="2"><?php _e('Do you like this plugin?',$this->plugin_domain);?></td></tr>
1804
+ <tr><td colspan="2"><iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FCommentLuv%2F156438857738200&amp;width=210&amp;colorscheme=light&amp;show_faces=true&amp;stream=false&amp;header=false&amp;height=450" scrolling="no" frameborder="1" style="border:none; overflow:auto; width:210px; height:400px;" allowTransparency="true"></iframe></td></tr>
1805
  <tr class="alt"><td colspan="2"><?php _e('News',$this->plugin_domain);?>:</td></tr>
1806
  <tr><td colspan="2">
1807
  <?php
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: commentluv, @hishaman (css additions)
3
  Donate link:http://comluv.com/about/donate
4
  Tags: commentluv, comments, last blog post, linkluv, comment luv , commentlove, comment love
5
- Requires at least: 3.0
6
- Tested up to: 3.7.1
7
- Stable tag: 2.93.2
8
 
9
  Reward your readers by automatically placing a link to their last blog post at the end of their comment. Encourage a community and discover new posts.
10
 
@@ -28,6 +28,14 @@ You can get a free companion plugin at http://www.commentluv.com
28
 
29
  Now with updated function to allow you to delete or spam comments where the user has removed their url after getting a last blog post link (helps prevents spammer abuse)
30
 
 
 
 
 
 
 
 
 
31
  Many thanks to the following who provided translations
32
 
33
  Italian [Gianni Diuno](http://gidibao.net/ "Italian translation")
@@ -87,6 +95,15 @@ Please see the videos in the settings page for explanations of how they work.
87
 
88
  == ChangeLog ==
89
 
 
 
 
 
 
 
 
 
 
90
  * updated : get_user_by_email removed from functions.
91
 
92
  = 2.93.1 =
@@ -413,7 +430,7 @@ Please see the videos in the settings page for explanations of how they work.
413
 
414
  = 2.93 =
415
 
416
- updated javascript compatibility
417
 
418
  == Configuration ==
419
 
2
  Contributors: commentluv, @hishaman (css additions)
3
  Donate link:http://comluv.com/about/donate
4
  Tags: commentluv, comments, last blog post, linkluv, comment luv , commentlove, comment love
5
+ Requires at least: 3.6
6
+ Tested up to: 3.8
7
+ Stable tag: 2.93.3
8
 
9
  Reward your readers by automatically placing a link to their last blog post at the end of their comment. Encourage a community and discover new posts.
10
 
28
 
29
  Now with updated function to allow you to delete or spam comments where the user has removed their url after getting a last blog post link (helps prevents spammer abuse)
30
 
31
+ NOTE!
32
+
33
+ The links that CommentLuv adds are valuable for the people that leave comments so you will need to make sure that spammers do not try to take advantage of your blog by filling it with useless comments just to get a link. Be a good blogger and prevent them from leaving their crap on your site by requiring moderation on first comments and do not accept 'great post thanks!' type of comments.
34
+
35
+ There has been great success in beating spam by installing [G.A.S.P](http://wordpress.org/plugins/growmap-anti-spambot-plugin/ "Growmap Anti Spambot Plugin") . It will bring your blog back under your control and it's free!
36
+
37
+ remember.. if you let anyone comment on your blog without restriction then you WILL get spammed whether you have CommentLuv or not. Be strict with your comment policy and be take responsibility for your own blog by being selective with the comments you accept and the internet will be a happier, spam free and useful place again! :-)
38
+
39
  Many thanks to the following who provided translations
40
 
41
  Italian [Gianni Diuno](http://gidibao.net/ "Italian translation")
95
 
96
  == ChangeLog ==
97
 
98
+ = 2.93.3 =
99
+
100
+ * updated : readme now says minimum wp 3.6 required
101
+ * updated : add_removeluv_link now detects if $post is not available (prevents error on dashboard comments)
102
+ * fixed : sidebar for wordpress 3.8 now shows properly (removed width setting on #poststuff div)
103
+ * updated : sidebar facebook widget updated to use comluv.com version
104
+
105
+ = 2.93.2 =
106
+
107
  * updated : get_user_by_email removed from functions.
108
 
109
  = 2.93.1 =
430
 
431
  = 2.93 =
432
 
433
+ updated javascript compatibility and wp3.8 compatibility
434
 
435
  == Configuration ==
436