Plugin Directory

Changeset 847293

Timestamp:
01/28/2014 10:32:51 PM (10 years ago)
Author:
a.hoereth
Message:

Version 1.1.1

Location:
kudos/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • kudos/trunk/js/kudos.js

    r702197 r847293  
    2323    this.element.children('.kudo-object').mouseenter(this.start);
    2424    this.element.children('.kudo-object').mouseleave(this.end);
    25 
    2625    if (kudosdata.unkudo)
    2726      this.element.children('.kudo-object').click(this.unkudo);
     
    2928      this.element.children('.kudo-object').css('cursor','default');
    3029
    31     jQuery(document).on('touchstart', this.element.children('.kudo-object'), this.start);
    32     return jQuery(document).on('touchend', this.element.children('.kudo-object'), this.end);
     30    jQuery(, this.start);
     31    return jQuery(, this.end);
    3332  };
    3433
     
    195194          //  $(this).removeClass("kudo-complete").addClass("kudo-animate");
    196195        }, "json"
    197       ).fail(function() { alert("failed"); }); // for development
     196      ).fail(function() { alert("failed"); }); // for development
    198197    }
    199198  });
     
    229228          //  $(this).removeClass("kudo-animate").addClass("kudo-complete");
    230229        }, "json"
    231         ).fail(function() { alert("failed here"); });
     230        ).fail(function() { alert("failed here"); });
    232231      }
    233232    }
  • kudos/trunk/kudos.php

    r702197 r847293  
    55Description: Svbtle.com style kudos for your blog.
    66Author: Alexander Höreth
    7 Version: 1.1
     7Version: 1.1
    88Author URI: http://yrnxt.com
    99License: GPL2
     
    2828
    2929if (!defined('KUDO_VER'))
    30     define('KUDO_VER', '1.1');
     30    define('KUDO_VER', '1.1');
    3131
    3232// symlink proof
  • kudos/trunk/php/filter.php

    r702197 r847293  
    8181     * @since 1.0
    8282     *
    83      * @uses $this::content
     83     * @uses $thiscontent
    8484     * @param  string $excerpt excerpt before filtering
    8585     * @return string          excerpt + Kudos
    8686     */
    8787    public function excerpt($excerpt){
    88         return $this::content($excerpt);
     88        return $thiscontent($excerpt);
    8989    }
    9090
  • kudos/trunk/php/functions.php

    r702203 r847293  
    6767 * @return string               Kudo html code
    6868 */
    69 function get_kudos( $post_id = null, $attr ){
     69function get_kudos( $post_id = null, $attr ){
    7070    extract( $attr );
    7171    //  $class, $style, $counter, $text, $hover
  • kudos/trunk/php/help.php

    r702197 r847293  
    7777     */
    7878    public function tabs() {
    79         $screen = get_current_screen();
    80         if( ($screen->id != $this->settings->hook) || (get_bloginfo('version') < 3.3) )
     79        if (get_bloginfo('version') < 3.3)
    8180            return;
    8281
     82
     83
    8384        // PHP FUNCTIONS HELP TAB
    84         $screen->add_help_tab( array(
    85             'id'            => 'kudos_functions',
    86             'title'   => 'Kudos: '.__('PHP-Functions','kudos'),
    87             'content' => $this->functions
    88         ));
     85        if ($screen->id==$this->settings->hook){
     86            $screen->add_help_tab( array(
     87                'id'            => 'kudos_functions',
     88                'title'   => 'Kudos: '.__('PHP-Functions','kudos'),
     89                'content' => $this->functions
     90            ));
     91        }
    8992
    9093        // SHORTCODE HELP TAB
    91         $screen->add_help_tab( array(
    92             'id'            => 'kudos_shortcode',
    93             'title'   => 'Kudos: Shortcode',
    94             'content' => $this->shortcode
    95         ));
     94        if (($screen->id=='post')||($screen->id==$this->settings->hook)){
     95            $screen->add_help_tab( array(
     96                'id'            => 'kudos_shortcode',
     97                'title'   => 'Kudos: Shortcode',
     98                'content' => $this->shortcode
     99            ));
     100        }
    96101    }
    97102
  • kudos/trunk/php/upgrade.php

    r702197 r847293  
    4040
    4141}
    42 
    43 ?>
  • kudos/trunk/readme.txt

    r702197 r847293  
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1111Requires at least: 3.1
    12 Tested up to: 3.6
    13 Stable tag: 1.1
     12Tested up to: 3.
     13Stable tag: 1.1
    1414
    1515Brings Kudos, an unobtrusive alternative to Facebook's like, to your WordPress blog.
     
    2121simply hovers the Kudo-Button: A small animation starts for as long as the visitor does leave his cursor on the Kudo. When the animation is finished and the Kudo-Button is filled the count goes up by one. By clicking the then filled button the visitor can take his Kudo off the post again.
    2222
    23 See the plugin in action on [yrnxt.com](http://yrnxt.com/wordpress/kudos/).
     23See the plugin in action on [yrnxt.com](http://yrnxt.com/wordpress/kudos/).
    2424
    2525[Dustin Curtis](http://dcurt.is/codename-svbtle), creator of svbtle.com and inventor of Kudos, describes Kudos like this:
     
    5757== Changelog ==
    5858
     59
     60
     61
    5962= 1.1: 2013-04-23 =
    6063* Added option to disable unkudo'ing
Note: See TracChangeset for help on using the changeset viewer.