Version Description
Download this release
Release Info
Developer | teamplaylotto |
Plugin | CommentLuv |
Version | 2.5.2 |
Comparing to | |
See all releases |
Code changes from version 2.5.1 to 2.5.2
- commentluv.php +7 -7
- readme.txt +1 -1
commentluv.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Plugin Name: commentluv
|
3 |
Plugin URI: http://www.commentluv.com/download/ajax-commentluv-installation/
|
4 |
Description: Plugin to show a link to the last post from the commenters blog in their comment. Just activate and it's ready. Will parse a feed from most sites that have a feed location specified in its head html. See the <a href="options-general.php?page=commentluv">Settings Page</a> for styling and text output options.
|
5 |
-
Version: 2.5.
|
6 |
Author: Andy Bailey
|
7 |
Author URI: http://www.fiddyp.co.uk/
|
8 |
|
@@ -10,6 +10,7 @@ Author URI: http://www.fiddyp.co.uk/
|
|
10 |
You can now edit the options from the dashboard
|
11 |
*********************************************************************
|
12 |
updates:
|
|
|
13 |
2.5.1 - fix for pesky IE and Chrome
|
14 |
2.5 2nd oct 08 - fix for the people that can rtfm and added checkbox for traditonal users to be happy. show badge but no action for admin (again for the !rtfm's)
|
15 |
2.2 1st Oct 08 - the big fat update! fix all images for WP2.5 - 2.5.2 and added the luvheart info box option and made ready for luvcontests..
|
@@ -170,9 +171,8 @@ function commentluv_setup()
|
|
170 |
function commentluv_activation(){
|
171 |
// set version for future releases if they need to change a value
|
172 |
$version=get_option('cl_version');
|
173 |
-
if($version<
|
174 |
-
update_option('cl_version','
|
175 |
-
update_option('cl_commentform_id','');
|
176 |
}
|
177 |
}
|
178 |
|
@@ -245,7 +245,7 @@ function show_cl_options() {
|
|
245 |
add_option('cl_badge_pos','');
|
246 |
add_option('cl_prepend','');
|
247 |
commentluv_activation();
|
248 |
-
add_option('cl_version','
|
249 |
add_option('cl_select_text','choose a different post to show');
|
250 |
}
|
251 |
|
@@ -292,13 +292,13 @@ function cl_style_script(){
|
|
292 |
|
293 |
// start the javascript output
|
294 |
if(is_single()) {
|
295 |
-
echo '<!-- Styling and script added by commentluv 2.5 http://www.commentluv.com -->';
|
296 |
echo '<style type="text/css">abbr em{'.get_option('cl_style').'} #lastposts { width: 300px; } </style>';
|
297 |
echo "\n<script type=\"text/javascript\" src=\"".WP_PLUGIN_URL."/commentluv/js/commentluv.js\"></script>";
|
298 |
if(get_option('cl_click_track')=="on"){
|
299 |
echo "\n<script type=\"text/javascript\" src=\"".WP_PLUGIN_URL."/commentluv/js/processclick.js\"></script>\n";
|
300 |
}
|
301 |
-
if(get_option('cl_heart_tip')==TRUE){
|
302 |
echo "<link rel=\"stylesheet\" href=\"".WP_PLUGIN_URL."/commentluv/include/tipstyle.css\" type=\"text/css\" />\n";
|
303 |
echo "<script type=\"text/javascript\"><!--//--><![CDATA[//><!--\n";
|
304 |
echo "jQuery(document).ready(function(){\n".
|
2 |
Plugin Name: commentluv
|
3 |
Plugin URI: http://www.commentluv.com/download/ajax-commentluv-installation/
|
4 |
Description: Plugin to show a link to the last post from the commenters blog in their comment. Just activate and it's ready. Will parse a feed from most sites that have a feed location specified in its head html. See the <a href="options-general.php?page=commentluv">Settings Page</a> for styling and text output options.
|
5 |
+
Version: 2.5.2
|
6 |
Author: Andy Bailey
|
7 |
Author URI: http://www.fiddyp.co.uk/
|
8 |
|
10 |
You can now edit the options from the dashboard
|
11 |
*********************************************************************
|
12 |
updates:
|
13 |
+
2.5.2 - 4 oct 08 - oh dear silly me, forgot to enclose an ==TRUE with quotes. (line 302) heart info box now can be switched off. thanks Ute from http://www.utes-dezines.de for you feedback.
|
14 |
2.5.1 - fix for pesky IE and Chrome
|
15 |
2.5 2nd oct 08 - fix for the people that can rtfm and added checkbox for traditonal users to be happy. show badge but no action for admin (again for the !rtfm's)
|
16 |
2.2 1st Oct 08 - the big fat update! fix all images for WP2.5 - 2.5.2 and added the luvheart info box option and made ready for luvcontests..
|
171 |
function commentluv_activation(){
|
172 |
// set version for future releases if they need to change a value
|
173 |
$version=get_option('cl_version');
|
174 |
+
if($version<252){
|
175 |
+
update_option('cl_version','252');
|
|
|
176 |
}
|
177 |
}
|
178 |
|
245 |
add_option('cl_badge_pos','');
|
246 |
add_option('cl_prepend','');
|
247 |
commentluv_activation();
|
248 |
+
add_option('cl_version','252');
|
249 |
add_option('cl_select_text','choose a different post to show');
|
250 |
}
|
251 |
|
292 |
|
293 |
// start the javascript output
|
294 |
if(is_single()) {
|
295 |
+
echo '<!-- Styling and script added by commentluv 2.5.2 http://www.commentluv.com -->';
|
296 |
echo '<style type="text/css">abbr em{'.get_option('cl_style').'} #lastposts { width: 300px; } </style>';
|
297 |
echo "\n<script type=\"text/javascript\" src=\"".WP_PLUGIN_URL."/commentluv/js/commentluv.js\"></script>";
|
298 |
if(get_option('cl_click_track')=="on"){
|
299 |
echo "\n<script type=\"text/javascript\" src=\"".WP_PLUGIN_URL."/commentluv/js/processclick.js\"></script>\n";
|
300 |
}
|
301 |
+
if(get_option('cl_heart_tip')=="TRUE"){
|
302 |
echo "<link rel=\"stylesheet\" href=\"".WP_PLUGIN_URL."/commentluv/include/tipstyle.css\" type=\"text/css\" />\n";
|
303 |
echo "<script type=\"text/javascript\"><!--//--><![CDATA[//><!--\n";
|
304 |
echo "jQuery(document).ready(function(){\n".
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: Andy Bailey
|
|
3 |
Tags: comments, linkluv
|
4 |
Requires at least: 2.5
|
5 |
Tested up to: 2.6.2
|
6 |
-
Stable tag: 2.5.
|
7 |
|
8 |
Appends a titled link using AJAX to the authors last blog post on their comment giving back some luv to the people that join your discussion. Compatible with logged on users and Wordpress MU. Visit CommentLuv.com for detailed instructions on features.
|
9 |
|
3 |
Tags: comments, linkluv
|
4 |
Requires at least: 2.5
|
5 |
Tested up to: 2.6.2
|
6 |
+
Stable tag: 2.5.2
|
7 |
|
8 |
Appends a titled link using AJAX to the authors last blog post on their comment giving back some luv to the people that join your discussion. Compatible with logged on users and Wordpress MU. Visit CommentLuv.com for detailed instructions on features.
|
9 |
|