CommentLuv - Version 2.90.9.3

Version Description

  • fix : another empty src badge bug
  • fix : link not showing in admin page if a setting was enabled
  • added : empty index files in directories to prevent indexing of plugins folders
  • updated : images updated by Byteful Traveller (byteful.com)
Download this release

Release Info

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

Code changes from version 2.90.9.2 to 2.90.9.3

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.90.9.2
6
  Author: Andy Bailey
7
  Author URI: http://www.commentluv.com
8
  Copyright (C) <2011> <Andy Bailey>
@@ -28,7 +28,7 @@
28
  var $plugin_url;
29
  var $plugin_dir;
30
  var $db_option = 'commentluv_options';
31
- var $version = "2.90.9.2";
32
  var $slug = 'commentluv-options';
33
  var $localize;
34
  var $is_commentluv_request = false;
@@ -330,6 +330,7 @@
330
  * called by a cron action
331
  */
332
  function check_version(){
 
333
  $version = $this->php_version($this->version);
334
  $options = $this->get_options();
335
  $url = 'http://version.commentluv.com/';
@@ -418,7 +419,9 @@
418
  *
419
  */
420
  function display_badge(){
 
421
  global $clbadgeshown;
 
422
  $options = $this->get_options();
423
  if($clbadgeshown == true){
424
  return;
@@ -434,7 +437,6 @@
434
  // dropdown choice
435
  if($options['badge_choice'] == 'drop_down'){
436
  if($options['badge_type'] != 'none'){
437
- $badges = array('default'=>'CL91_default.png','default_image'=>'CL91_default.png','white'=>'CL91_White.gif','black'=>'CL91_Black.gif');
438
  $imgurl = $this->plugin_url.'images/'.$badges[$options['badge_type']];
439
  }
440
  }
@@ -453,7 +455,7 @@
453
  $badgecode = '';
454
  } else {
455
  if(!$imgurl){
456
- $imgurl = $this->plugin_url.'images/'.$badges['CL91_default.png'];
457
  }
458
  $badgecode = $before.'<img alt="CommentLuv badge" src="'.$imgurl.'"/>'.$after;
459
  }
@@ -693,8 +695,10 @@
693
  // check if author has a url. do not add the link if user has set to hide links for comments with no url
694
  $authurl = $comment->comment_author_url;
695
  $showlink = true;
696
- if($authurl == '' && isset($options['hide_link_no_url']) && $options['hide_link_no_url'] == 'on'){
697
- $showlink = false;
 
 
698
  }
699
  if($showlink){
700
  // construct string to be added to comment
@@ -1225,7 +1229,7 @@
1225
  <img align="left" src="<?php echo $this->plugin_url;?>images/privacy-guarantee.png"/><?php _e('I promise not to sell your details or send you spam. You will ONLY receive emails about plugin updates.',$pd);?>
1226
  </td>
1227
  <td>
1228
- <p><?php _e('Do you like CommentLuv? How about an even better version with much more control over dofollow and some awesome social enticements that will make your posts go viral by offering your readers more choice of posts if they +1, Like or tweet your post! Get CommentLuv Premium Today!',$pd);?></p>
1229
  <?php
1230
  if(isset($o['subscribed'])){
1231
  echo '<div class="submit">'.__('You have already subscribed, if you have not received the verification within 12 hours, please click the button to resend or try the form at',$pd).' <a target="_blank" href="http://www.commentluv.com/">www.commentluv.com</a><br><input style="margin:0 auto; display: block;" type="button" id="cl_notify" value="'.__('Resend Verification',$pd).'"/></div>';
@@ -1598,7 +1602,7 @@
1598
  <tr><td><img src="<?php echo $this->plugin_url;?>images/fr.png"/> <?php _e('French',$this->plugin_domain);?></td><td><a target="_blank" href="http://etreheureux.fr/">Jean-Luc Matthys</a></td></tr>
1599
  <tr><td><img src="<?php echo $this->plugin_url;?>images/dk.png"/> <?php _e('Danish',$this->plugin_domain);?></td><td><a target="_blank" href="http://w3blog.dk/">Jimmy Sigenstroem</a></td></tr>
1600
  <tr><td><img src="<?php echo $this->plugin_url;?>images/ru.png"/> <?php _e('Russian',$this->plugin_domain);?></td><td><a target="_blank" href="http://lavo4nik.ru/">Max</a></td></tr>
1601
- <tr><td><img src="<?php echo $this->plugin_url;?>images/bd.png"/> <?php _e('Bengali',$this->plugin_domain);?></td><td><a target="_blank" href="http://www.explorefeed.com/">Amrik Verdi</a></td></tr>
1602
  <tr><td><img src="<?php echo $this->plugin_url;?>images/il.png"/> <?php _e('Hebrew',$this->plugin_domain);?></td><td><!--<a target="_blank" href="http://www.maorb.info/">Maor Barazany</a>--></td></tr>
1603
 
1604
 
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.90.9.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.90.9.3";
32
  var $slug = 'commentluv-options';
33
  var $localize;
34
  var $is_commentluv_request = false;
330
  * called by a cron action
331
  */
332
  function check_version(){
333
+ //debugbreak();
334
  $version = $this->php_version($this->version);
335
  $options = $this->get_options();
336
  $url = 'http://version.commentluv.com/';
419
  *
420
  */
421
  function display_badge(){
422
+ //DebugBreak();
423
  global $clbadgeshown;
424
+ $badges = array('default'=>'CL91_default.png','default_image'=>'CL91_default.png','white'=>'CL91_White.gif','black'=>'CL91_Black.gif');
425
  $options = $this->get_options();
426
  if($clbadgeshown == true){
427
  return;
437
  // dropdown choice
438
  if($options['badge_choice'] == 'drop_down'){
439
  if($options['badge_type'] != 'none'){
 
440
  $imgurl = $this->plugin_url.'images/'.$badges[$options['badge_type']];
441
  }
442
  }
455
  $badgecode = '';
456
  } else {
457
  if(!$imgurl){
458
+ $imgurl = $this->plugin_url.'images/'.$badges['default_image'];
459
  }
460
  $badgecode = $before.'<img alt="CommentLuv badge" src="'.$imgurl.'"/>'.$after;
461
  }
695
  // check if author has a url. do not add the link if user has set to hide links for comments with no url
696
  $authurl = $comment->comment_author_url;
697
  $showlink = true;
698
+ if(!$isadminpage){
699
+ if($authurl == '' && isset($options['hide_link_no_url']) && $options['hide_link_no_url'] == 'on'){
700
+ $showlink = false;
701
+ }
702
  }
703
  if($showlink){
704
  // construct string to be added to comment
1229
  <img align="left" src="<?php echo $this->plugin_url;?>images/privacy-guarantee.png"/><?php _e('I promise not to sell your details or send you spam. You will ONLY receive emails about plugin updates.',$pd);?>
1230
  </td>
1231
  <td>
1232
+ <p><?php _e('Do you like CommentLuv? How about an even better version with much more control over dofollow and some awesome social enticements that will make your posts go viral by offering your readers more choice of posts if they +1, Like or tweet your post? Get CommentLuv Premium Today!',$pd);?></p>
1233
  <?php
1234
  if(isset($o['subscribed'])){
1235
  echo '<div class="submit">'.__('You have already subscribed, if you have not received the verification within 12 hours, please click the button to resend or try the form at',$pd).' <a target="_blank" href="http://www.commentluv.com/">www.commentluv.com</a><br><input style="margin:0 auto; display: block;" type="button" id="cl_notify" value="'.__('Resend Verification',$pd).'"/></div>';
1602
  <tr><td><img src="<?php echo $this->plugin_url;?>images/fr.png"/> <?php _e('French',$this->plugin_domain);?></td><td><a target="_blank" href="http://etreheureux.fr/">Jean-Luc Matthys</a></td></tr>
1603
  <tr><td><img src="<?php echo $this->plugin_url;?>images/dk.png"/> <?php _e('Danish',$this->plugin_domain);?></td><td><a target="_blank" href="http://w3blog.dk/">Jimmy Sigenstroem</a></td></tr>
1604
  <tr><td><img src="<?php echo $this->plugin_url;?>images/ru.png"/> <?php _e('Russian',$this->plugin_domain);?></td><td><a target="_blank" href="http://lavo4nik.ru/">Max</a></td></tr>
1605
+ <tr><td><img src="<?php echo $this->plugin_url;?>images/bd.png"/> <?php _e('Bengali',$this->plugin_domain);?></td><td><a target="_blank" href="http://www.explorefeed.com/">Amrik Virdi</a></td></tr>
1606
  <tr><td><img src="<?php echo $this->plugin_url;?>images/il.png"/> <?php _e('Hebrew',$this->plugin_domain);?></td><td><!--<a target="_blank" href="http://www.maorb.info/">Maor Barazany</a>--></td></tr>
1607
 
1608
 
css/index.html ADDED
File without changes
css/index.php ADDED
File without changes
images/CL91_Black.gif CHANGED
Binary file
images/CL91_White.gif CHANGED
Binary file
images/index.html ADDED
File without changes
images/index.php ADDED
File without changes
images/littleheart.gif CHANGED
Binary file
images/littleheartplus.gif CHANGED
Binary file
index.html ADDED
File without changes
index.php ADDED
File without changes
js/index.html ADDED
File without changes
js/index.php ADDED
File without changes
lang/index.html ADDED
File without changes
lang/index.php ADDED
File without changes
readme.txt CHANGED
@@ -4,7 +4,7 @@ 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.3
7
- Stable tag: 2.90.9.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
 
@@ -43,7 +43,7 @@ Norwegian [Hanna](http://www.drommeland.com/ "Norwegian Translation")
43
  French [Jean-Luc Matthys](http://etreheureux.fr/ "French Translation")
44
  Danish [Jimmy Sigenstroem](http://w3blog.dk/ "Danish Translation")
45
  Russian [Max](http://lavo4nik.ru/ "Russian Translation")
46
- Bengali [Amrik Verdi](http://www.explorefeed.com/ "Bengali Translation")
47
 
48
  == Installation ==
49
 
@@ -72,6 +72,12 @@ Please see the videos in the settings page for explanations of how they work.
72
  4. edit post comments
73
 
74
  == ChangeLog ==
 
 
 
 
 
 
75
  = 2.90.9.2 =
76
  * fix : sometimes badge was showing empty src
77
  * added : Bengali language
@@ -275,9 +281,9 @@ Please see the videos in the settings page for explanations of how they work.
275
 
276
  == Upgrade Notice ==
277
 
278
- = 2.90.9.1 =
279
 
280
- If you have w3 total cache then please update your commentluv!
281
 
282
  == Configuration ==
283
 
4
  Tags: commentluv, comments, last blog post, linkluv, comment luv , commentlove, comment love
5
  Requires at least: 3.0
6
  Tested up to: 3.3
7
+ Stable tag: 2.90.9.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
 
43
  French [Jean-Luc Matthys](http://etreheureux.fr/ "French Translation")
44
  Danish [Jimmy Sigenstroem](http://w3blog.dk/ "Danish Translation")
45
  Russian [Max](http://lavo4nik.ru/ "Russian Translation")
46
+ Bengali [Amrik Virdi](http://www.explorefeed.com/ "Bengali Translation")
47
 
48
  == Installation ==
49
 
72
  4. edit post comments
73
 
74
  == ChangeLog ==
75
+ = 2.90.9.3 =
76
+ * fix : another empty src badge bug
77
+ * fix : link not showing in admin page if a setting was enabled
78
+ * added : empty index files in directories to prevent indexing of plugins folders
79
+ * updated : images updated by Byteful Traveller (byteful.com)
80
+
81
  = 2.90.9.2 =
82
  * fix : sometimes badge was showing empty src
83
  * added : Bengali language
281
 
282
  == Upgrade Notice ==
283
 
284
+ = 2.90.9.3 =
285
 
286
+ Bug fix release. Please update
287
 
288
  == Configuration ==
289
 
videos/index.html ADDED
File without changes
videos/index.php ADDED
File without changes