Plugin Directory

Changeset 204345


Ignore:
Timestamp:
02/11/2010 09:01:32 PM (16 years ago)
Author:
teamplaylotto
Message:

minor updates for duplicate links and updated images

Location:
commentluv/trunk
Files:
4 added
9 edited

Legend:

Unmodified
Added
Removed
  • commentluv/trunk/commentluv-manager.php

    r127333 r204345  
    2424                    </p>
    2525                    <p>
     26                    <label for="infoback"><?php _e('Info panel background color',$this->plugin_domain);?></label><br>
     27                    <input type="text" size ="8" name="infoback" value="<?php echo stripslashes($infoback);?>"/>
     28                    <span style="background-color:<?php echo stripslashes($infoback);?>">....</span>
     29                    </p>
     30                    <p>
    2631                    <input type="checkbox" name="cl_use_template" <?php echo $use_template;?>/>
    2732                    <label for="cl_use_template"><?php _e('Use template insert to show badge and checkbox?',$this->plugin_domain);?> ( &lt;?php cl_display_badge(); ?&gt; )</label>
     
    4348    </table> <p></p>
    4449        <h3><?php _e('CommentLuv Member Area',$this->plugin_domain);?></h3>         
    45         <p><?php _e('If you register your site for free at <a href="http://comluv.com">ComLuv.com</a> you will be able to open up lots of features that are for members only like link tracking so you can see which of the comments you make on CommentLuv blogs are getting the last blog post clicked and the ability to send back more than just blog posts. You can even create your own WP2.7 blog there with commentluv pre-installed!.',$this->plugin_domain);?></p>
     50        <p><?php _e('If you register your site for free at <a href="http://comluv.com">ComLuv.com</a> you will be able to choose from your 10 last posts when you comment on other CommentLuv blogs. You can even add more urls and default links. .',$this->plugin_domain);?></p>
    4651                                       
    4752                    <h3><?php _e('Technical Settings',$this->plugin_domain);?></h3>
  • commentluv/trunk/commentluv.php

    r185785 r204345  
    33Plugin URI: http://comluv.com/download/commentluv-wordpress/
    44Description: Plugin to show a link to the last post from the commenters blog by parsing the feed at their given URL when they leave a comment. Rewards your readers and encourage more comments.
    5 Version: 2.7.64
     5Version: 2.7.66
    66Author: Andy Bailey
    77Author URI: http://fiddyp.co.uk/
     
    3737            $this->plugin_url = trailingslashit ( WP_PLUGIN_URL . '/' . dirname ( plugin_basename ( __FILE__ ) ) );
    3838            $this->api_url = 'http://api.comluv.com/cl_api/commentluvapi.php';
     39            //$this->api_url = 'http://firedwok.com/api/cl_api/commentluvapi.php';
    3940            add_action ( 'admin_menu', array (&$this, 'admin_menu' ) );
    4041            add_action ( 'template_redirect', array (&$this, 'commentluv_scripts' ) ); // template_redirect always called when page is displayed to user
     
    9697                wp_localize_script ( 'commentluv', 'cl_settings', array ('name' => $author_name, 'url' => $url_name, 'comment' => $comment_name, 'email' => $email_name, 'prepend' => $prepend, 'badge' => $badge,
    9798                                             'show_text' => $show_text, 'badge_text' => $badge_text, 'heart_tip' => $heart_tip, 'default_on' => $default_on, 'select_text' => $select_text,
    98                                              'cl_version' => $this->cl_version, 'images' => $this->plugin_url . 'images/', 'api_url' => $this->api_url, 'refer' => $refer_page ) );
     99                                             'cl_version' => $this->cl_version, 'images' => $this->plugin_url . 'images/', 'api_url' => $this->api_url, 'refer' => $refer_page,
     100                                             'infoback' => $infoback,'usetemplate'=>$use_template) );
    99101            }
    100102        }
     
    107109        function get_options() {
    108110            // default values
    109             $options = array ('comment_text' => '[name]&#180;s last [type] ..[lastpost]', 'select_text' => 'choose a different post to show', 'default_on' => 'on', 'heart_tip' => 'on', 'use_template' => '', 'badge' => 'CL91x17-white2.gif', 'show_text' => 'CommentLuv Enabled', 'author_name' => 'author', 'url_name' => 'url', 'comment_name' => 'comment', 'email_name' => 'email', 'prepend' => '' );
     111            $options = array ('comment_text' => '[name]&#180;s last [type] ..[lastpost]', 'select_text' => 'choose a different post to show', 'default_on' => 'on', 'heart_tip' => 'on', 'use_template' => '', 'badge' => 'CL91x17-white2.gif', 'show_text' => 'CommentLuv Enabled', 'author_name' => 'author', 'url_name' => 'url', 'comment_name' => 'comment', 'email_name' => 'email', 'prepend' => '', 'infoback' => 'pink' );
    110112            // get saved options unless reset button was pressed
    111113            $saved = '';
     
    152154                $options ['email_name'] = $_POST ['cl_email_name'];
    153155                $options ['use_template'] = $_POST['cl_use_template'];
     156                $options ['infoback'] = htmlspecialchars($_POST['infoback']);
    154157
    155158                // check for errors
     
    264267        function cl_post($commentdata) {
    265268            if (isset ( $_POST ['cl_post'] ) && $_POST ['request_id'] != '' && is_numeric ( $_POST ['choice_id'] ) && isset ( $_POST ['cl_type'] )) {
     269                if(!defined('LUVEDIT')){
     270                    define("LUVEDIT",1);
     271                } else {
     272                    // already been here so shoo!
     273                    return $commentdata;
     274                }
    266275                // get values posted
    267276                $luvlink = $_POST ['cl_post'];
  • commentluv/trunk/js/commentluv.js

    r156739 r204345  
    6969        $(document).click(heart_small);
    7070        function heart_big(){
    71             $("body").append('<span id="heart_tip_big" style="position:absolute; z-index: 101; background-color: pink; width: 62px;"><img src="' + cl_settings['images'] + 'loader.gif" alt="Loading" width="62" height="13" /></span>');
     71            $("body").append('<span id="heart_tip_big" style="position:absolute; z-index: 101; background-color: ' + cl_settings['infoback'] + '; width: 62px;"><img src="' + cl_settings['images'] + 'loader.gif" alt="Loading" width="62" height="13" /></span>');
    7272            // find where to put left edge of info box (in case at right hand side of screen
    7373            //opera Netscape 6 Netscape 4x Mozilla
     
    9595            var linkspan = $(this).parents(".cluv");
    9696            var link = $(linkspan).find("a:first").attr("href");
    97             var url = cl_settings['api_url'] + "?type=info&refer=" + cl_settings['refer'] + "&url=" + link + '&version='+ cl_settings['cl_version'] + '&callback=?';
     97            var url = cl_settings['api_url'] + "?type=info&refer=" + cl_settings['refer'] + '&version='+ cl_settings['cl_version'] + '&callback=?' + "&url=" + link ;
    9898            do_info(url);
    9999        }
  • commentluv/trunk/readme.txt

    r185785 r204345  
    55Requires at least: 2.8
    66Tested up to: 2.9
    7 Stable tag: 2.7.64
     7Stable tag: 2.7.66
    88   
    99Reward 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.
     
    3535= Will this plugin work with Disqus/Intense Debate/js-kit? =
    3636
    37 There is currently a version available for JS-Kit (Echo).
    38 Intense Debate and Disqus may be suppported soon.
     37Intense Debate comments have a commentluv plugin built in. Just enable from your ID dashboard
    3938
    4039= I am having a problem getting it to work =
     
    4847
    4948== ChangeLog ==
     49
     50= 2.766 =
     51* Check if function has been called before to prevent two links being added.
     52* updated images (supplied by http://byteful.com)
     53
     54= 2.765 =
     55* Hollys changes. Allow user choice of colour for the info panel background.
    5056
    5157= 2.764 =
Note: See TracChangeset for help on using the changeset viewer.