WordPress.org

Plugin Directory

Changeset 1600118


Ignore:
Timestamp:
02/20/17 21:59:25 (3 months ago)
Author:
alimir
Message:

Upgraded to 2.4.2

Location:
wp-ulike
Files:
136 added
10 edited

Legend:

Unmodified
Added
Removed
  • wp-ulike/trunk/admin/admin.php

    r1277050 r1600118  
    5959     * @since           1.7 
    6060     * @updated         2.0 
     61     * @updated         2.4.2 
    6162     * @return          String 
    6263     */ 
     
    7475        'parent'   => false, 
    7576        'title'    =>  __( 'WP ULike', WP_ULIKE_SLUG ), 
     77        'position' =>  313, 
    7678        'icon_url' => 'dashicons-smiley' 
    7779      ), 
     
    9496    ) ); 
    9597 
    96      
     98    /** 
     99     * Delete all the users likes logs by ajax process.  
     100     * 
     101     * @author          Alimir       
     102     * @since           2.2 
     103     * @return          Void 
     104     */  
    97105    function wp_ulike_delete_all_logs() { 
    98106        global $wpdb; 
     
    116124        }         
    117125    } 
    118      
     126 
     127    /** 
     128     * Delete all likes number by ajax process.  
     129     * 
     130     * @author          Alimir       
     131     * @since           2.2 
     132     * @return          Void 
     133     */ 
    119134    function wp_ulike_delete_all_data() { 
    120135        global $wpdb; 
     
    151166     * @since           1.0 
    152167     * @updated         2.2 
     168     * @updated         2.4.2 
    153169     * @return          String 
    154170     */ 
    155171    add_action('admin_menu', 'wp_ulike_admin_menu'); 
    156172    function wp_ulike_admin_menu() { 
    157      
     173         
     174        global $menu; 
     175         
    158176        //Post Like Logs Menu 
    159177        $posts_screen       = add_submenu_page(null, __( 'Post Likes Logs', WP_ULIKE_SLUG ), __( 'Post Likes Logs', WP_ULIKE_SLUG ), 'manage_options', 'wp-ulike-post-logs', 'wp_ulike_post_likes_logs'); 
     
    177195         
    178196        //WP ULike About Menu 
    179         add_submenu_page('wp-ulike-settings', __( 'About WP ULike', WP_ULIKE_SLUG ), __( 'About WP ULike', WP_ULIKE_SLUG ), 'manage_options', 'wp-ulike-about', 'wp_ulike_about_page');  
    180     } 
     197        add_submenu_page('wp-ulike-settings', __( 'About WP ULike', WP_ULIKE_SLUG ), __( 'About WP ULike', WP_ULIKE_SLUG ), 'manage_options', 'wp-ulike-about', 'wp_ulike_about_page'); 
     198         
     199        $newvotes = wp_ulike_get_number_of_new_likes(); 
     200        $menu[313][0] .= $newvotes ? " <span class='update-plugins count-1'><span class='update-count'>". number_format_i18n($newvotes) ."</span></span> " : ''; 
     201         
     202    } 
     203 
     204    /** 
     205     * The counter of last likes by the admin last login time. 
     206     * 
     207     * @author          Alimir       
     208     * @since           2.4.2 
     209     * @return          String 
     210     */ 
     211    function wp_ulike_get_number_of_new_likes() 
     212    { 
     213        global $wpdb; 
     214         
     215        if(isset($_GET["page"]) && stripos($_GET["page"], "wp-ulike-statistics") !== false && is_super_admin()) 
     216            update_option('wpulike_lastvisit', current_time('mysql',0)); 
     217         
     218        $request =  "SELECT 
     219                    (SELECT COUNT(*) FROM ".$wpdb->prefix."ulike WHERE (date_time<=NOW() AND date_time>='".get_option( 'wpulike_lastvisit')."')) 
     220                    + 
     221                    (SELECT COUNT(*) FROM ".$wpdb->prefix."ulike_activities WHERE (date_time<=NOW() AND date_time>='".get_option( 'wpulike_lastvisit')."')) 
     222                    + 
     223                    (SELECT COUNT(*) FROM ".$wpdb->prefix."ulike_comments WHERE (date_time<=NOW() AND date_time>='".get_option( 'wpulike_lastvisit')."')) 
     224                    + 
     225                    (SELECT COUNT(*) FROM ".$wpdb->prefix."ulike_forums WHERE (date_time<=NOW() AND date_time>='".get_option( 'wpulike_lastvisit')."'));";       
     226     
     227        return $wpdb->get_var($request); 
     228    } 
     229 
     230    /** 
     231     * Set the admin login time. 
     232     * 
     233     * @author          Alimir       
     234     * @since           2.4.2 
     235     * @return          Void 
     236     */ 
     237    add_action('wp_logout', 'wp_ulike_set_lastvisit'); 
     238    function wp_ulike_set_lastvisit() { 
     239        if (is_super_admin()) 
     240        update_option('wpulike_lastvisit', current_time('mysql',0)); 
     241        else 
     242        return; 
     243    } 
  • wp-ulike/trunk/admin/classes/class-pagination.php

    r1097594 r1600118  
    11<?php 
    2 if ( ! class_exists( 'pagination' ) ) { 
    32 
    4 class pagination{ 
    5 /* 
    6 Script Name: *Digg Style Paginator Class 
    7 Script Version: 0.4 
    8 Author: Victor De la Rocha 
    9 */ 
     3class wp_ulike_pagination{ 
    104 
    115        /*Default values*/ 
     
    202196            } 
    203197    } 
    204      
    205 } 
    206  
    207 ?> 
  • wp-ulike/trunk/admin/logs.php

    r1277050 r1600118  
    108108     * @since           1.7 
    109109     * @updated         2.1  
     110     * @updated         2.4.2    
    110111     * @return          String 
    111112     */      
     
    115116        $items      = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike"); 
    116117        if($items > 0) { 
    117                 $p = new pagination; 
     118                $p = new wp_ulike_pagination; 
    118119                $p->items($items); 
    119120                $p->limit(wp_ulike_logs_return_per_page()); // Limit entries per page 
     
    230231     * @since           1.7 
    231232     * @updated         2.1  
     233     * @updated         2.4.2    
    232234     * @return          String 
    233235     */ 
     
    237239        $items      = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike_comments"); 
    238240        if($items > 0) { 
    239                 $p = new pagination; 
     241                $p = new wp_ulike_pagination; 
    240242                $p->items($items); 
    241243                $p->limit(wp_ulike_logs_return_per_page()); // Limit entries per page 
     
    356358     * @since           1.7 
    357359     * @updated         2.1  
     360     * @updated         2.4.2 
    358361     * @return          String 
    359362     */  
     
    363366        $items      = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike_activities"); 
    364367        if($items > 0) { 
    365                 $p = new pagination; 
     368                $p = new wp_ulike_pagination; 
    366369                $p->items($items); 
    367370                $p->limit(wp_ulike_logs_return_per_page()); // Limit entries per page 
     
    478481     * @author          Alimir       
    479482     * @since           2.2 
     483     * @updated         2.4.2 
    480484     * @return          String 
    481485     */  
     
    485489        $items      = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->prefix."ulike_forums"); 
    486490        if($items > 0) { 
    487                 $p = new pagination; 
     491                $p = new wp_ulike_pagination; 
    488492                $p->items($items); 
    489493                $p->limit(wp_ulike_logs_return_per_page()); // Limit entries per page 
  • wp-ulike/trunk/assets/js/wp-ulike-scripts.js

    r1579042 r1600118  
    11/** 
    2  * WP ULike Plugin 2.4.1 
     2 * WP ULike Plugin 2.4.2 
    33 * 
    44 * http://wordpress.org/plugins/wp-ulike/ 
     
    4040            jQuery.ajax({ 
    4141              type:'POST', 
     42              cache: false, 
    4243              url: ulike_obj.ajaxurl, 
    4344              data:{ 
  • wp-ulike/trunk/assets/js/wp-ulike-scripts.min.js

    r1579042 r1600118  
    11/** 
    2  * WP ULike Plugin 2.4.1 
     2 * WP ULike Plugin 2.4.2 
    33 * 
    44 * http://wordpress.org/plugins/wp-ulike/ 
     
    66 * 
    77 */ 
    8 jQuery(document).ready(function(a){a(document).on("click",".wp_ulike_btn",function(b){var c=a(this).data("ulike-type"),d=a(this).data("ulike-status"),e=a(this).data("ulike-id"),g=(a(this).data("ulike-class"),a(b.target).closest("a").parent());if(1==ulike_obj.notifications){var h=ulike_obj.like_notice,i=ulike_obj.unlike_notice;toastr.options={closeButton:!1,debug:!1,newestOnTop:!1,progressBar:!1,positionClass:"toast-bottom-right",preventDuplicates:!1,showDuration:"300",hideDuration:"1000",timeOut:"5000",extendedTimeOut:"1000",showEasing:"swing",hideEasing:"linear",showMethod:"fadeIn",hideMethod:"fadeOut"}}""!=e&&(jQuery.ajax({type:"POST",url:ulike_obj.ajaxurl,data:{action:"wp_ulike_process",id:e,type:c},beforeSend:function(){g.html('<a class="loading"></a><span class="count-box">...</span>')},success:function(a){var b=jQuery(a).find("response_data").text();1==d&&("image"==ulike_obj.button_type?g.html("<a data-ulike-id='"+e+"' data-ulike-type='"+c+"' data-ulike-status='2' class='wp_ulike_btn image-unlike'></a><span class='count-box'>"+b+"</span>"):g.html("<a data-ulike-id='"+e+"' data-ulike-type='"+c+"' data-ulike-status='2' class='wp_ulike_btn text'>"+ulike_obj.button_text_u+"</a><span class='count-box'>"+b+"</span>"),"undefined"!=typeof h&&""!=h&&toastr.success(h)),2==d&&("image"==ulike_obj.button_type?g.html("<a data-ulike-id='"+e+"' data-ulike-type='"+c+"' data-ulike-status='1' class='wp_ulike_btn image'></a><span class='count-box'>"+b+"</span>"):g.html("<a data-ulike-id='"+e+"' data-ulike-type='"+c+"' data-ulike-status='1' class='wp_ulike_btn text'>"+ulike_obj.button_text+"</a><span class='count-box'>"+b+"</span>"),"undefined"!=typeof i&&""!=i&&toastr.error(i)),3==d&&("image"==ulike_obj.button_type?g.html("<a class='image-unlike user-tooltip' title='Already Voted'></a><span class='count-box'>"+b+"</span>"):g.html("<a class='text user-tooltip' title='Already Voted'>"+ulike_obj.button_text_u+"</a><span class='count-box'>"+b+"</span>"),"undefined"!=typeof h&&""!=h&&toastr.success(h)),4==d&&("image"==ulike_obj.button_type?g.html("<a class='image' title='You Liked This'></a><span class='count-box'>"+b+"</span>"):g.html("<a class='text' title='You Liked This'>"+ulike_obj.button_text+"</a><span class='count-box'>"+b+"</span>"),"undefined"!=typeof h&&""!=h&&toastr.success(h))}}),b.preventDefault())})}); 
     8jQuery(document).ready(function(a){a(document).on("click",".wp_ulike_btn",function(b){var c=a(this).data("ulike-type"),d=a(this).data("ulike-status"),e=a(this).data("ulike-id"),g=(a(this).data("ulike-class"),a(b.target).closest("a").parent());if(1==ulike_obj.notifications){var h=ulike_obj.like_notice,i=ulike_obj.unlike_notice;toastr.options={closeButton:!1,debug:!1,newestOnTop:!1,progressBar:!1,positionClass:"toast-bottom-right",preventDuplicates:!1,showDuration:"300",hideDuration:"1000",timeOut:"5000",extendedTimeOut:"1000",showEasing:"swing",hideEasing:"linear",showMethod:"fadeIn",hideMethod:"fadeOut"}}""!=e&&(jQuery.ajax({type:"POST",cache:!1,url:ulike_obj.ajaxurl,data:{action:"wp_ulike_process",id:e,type:c},beforeSend:function(){g.html('<a class="loading"></a><span class="count-box">...</span>')},success:function(a){var b=jQuery(a).find("response_data").text();1==d&&("image"==ulike_obj.button_type?g.html("<a data-ulike-id='"+e+"' data-ulike-type='"+c+"' data-ulike-status='2' class='wp_ulike_btn image-unlike'></a><span class='count-box'>"+b+"</span>"):g.html("<a data-ulike-id='"+e+"' data-ulike-type='"+c+"' data-ulike-status='2' class='wp_ulike_btn text'>"+ulike_obj.button_text_u+"</a><span class='count-box'>"+b+"</span>"),"undefined"!=typeof h&&""!=h&&toastr.success(h)),2==d&&("image"==ulike_obj.button_type?g.html("<a data-ulike-id='"+e+"' data-ulike-type='"+c+"' data-ulike-status='1' class='wp_ulike_btn image'></a><span class='count-box'>"+b+"</span>"):g.html("<a data-ulike-id='"+e+"' data-ulike-type='"+c+"' data-ulike-status='1' class='wp_ulike_btn text'>"+ulike_obj.button_text+"</a><span class='count-box'>"+b+"</span>"),"undefined"!=typeof i&&""!=i&&toastr.error(i)),3==d&&("image"==ulike_obj.button_type?g.html("<a class='image-unlike user-tooltip' title='Already Voted'></a><span class='count-box'>"+b+"</span>"):g.html("<a class='text user-tooltip' title='Already Voted'>"+ulike_obj.button_text_u+"</a><span class='count-box'>"+b+"</span>"),"undefined"!=typeof h&&""!=h&&toastr.success(h)),4==d&&("image"==ulike_obj.button_type?g.html("<a class='image' title='You Liked This'></a><span class='count-box'>"+b+"</span>"):g.html("<a class='text' title='You Liked This'>"+ulike_obj.button_text+"</a><span class='count-box'>"+b+"</span>"),"undefined"!=typeof h&&""!=h&&toastr.success(h))}}),b.preventDefault())})}); 
  • wp-ulike/trunk/inc/classes/class-ulike.php

    r1277050 r1600118  
    220220         * @since           2.0 
    221221         * @updated         2.3       
     222         * @updated         2.4.2         
    222223         * @return          String 
    223224         */  
     
    230231            $second_condition   = true; //check for by_username login method 
    231232             
     233            /* I removed this section (by_cookie_ip method) for some tests on v2.4.2 
    232234            if($loggin_method       == 'by_cookie_ip'){ 
    233235                $condition      = $this->wpdb->get_var("SELECT COUNT(*) FROM ".$this->wpdb->prefix.$data['table']." WHERE ".$data['column']." = '".$data['id']."' AND ip = '".$data['user_ip']."'"); 
    234236                $second_column  = 'ip'; 
    235237                $second_val     = $data['user_ip']; 
    236             } 
    237             else if($loggin_method  == 'by_username'){ 
     238            }*/ 
     239            //else if($loggin_method    == 'by_username'){ 
    238240                $condition      = $this->wpdb->get_var("SELECT COUNT(*) FROM ".$this->wpdb->prefix.$data['table']." WHERE ".$data['column']." = '".$data['id']."' AND user_id = '".$data['user_id']."'"); 
    239241                $user_info      = get_userdata($data['user_id']);// check for user data 
     
    243245                if(!is_user_logged_in()) 
    244246                $tmp1           = $this->get_template($data["id"],$data["method"],$liked,1,2); 
    245             } 
     247            //} 
     248             
    246249             
    247250            if($data["type"] == 'post'){ 
    248                 if($condition == 0 && !isset($_COOKIE[$data["cookie"].$data["id"]])){ 
     251                if($condition == 0 /*&& !isset($_COOKIE[$data["cookie"].$data["id"]])*/){ 
    249252                    if ($button_type == 'image') { 
    250253                        $counter = $tmp1['like_img']; 
     
    254257                    } 
    255258                } 
    256                 else if($condition != 0 && isset($_COOKIE[$data["cookie"].$data["id"]]) && $second_condition){ 
     259                else if($condition != 0 /*&& isset($_COOKIE[$data["cookie"].$data["id"]])*/ && $second_condition){ 
    257260                    if($this->get_user_status($data['table'],$data['column'],$second_column,$data['id'],$second_val) == "like"){ 
    258261                        if ($button_type == 'image') { 
     
    281284            }//end post button 
    282285            else if($data["type"] == 'process'){ 
    283                 if($condition == 0 && !isset($_COOKIE[$data["cookie"].$data["id"]])){ 
     286                if($condition == 0 /*&& !isset($_COOKIE[$data["cookie"].$data["id"]])*/){ 
    284287                    $newLike = $data["get_like"] + 1; 
    285288                    $this->update_meta_data($data["id"], $data["key"], $newLike); 
     
    288291                        wp_ulike_bp_activity_add($data['user_id'],$data['id'],$data['key']); 
    289292                    }    
    290                     setcookie($data["cookie"].$data["id"], time(), time()+3600*24*365, '/'); 
     293                    //setcookie($data["cookie"].$data["id"], time(), time()+3600*24*365, '/'); 
    291294                    do_action('wp_ulike_mycred_like', $data['id'], $data['key']);    
    292295                    $counter = wp_ulike_format_number($newLike); 
    293296                } 
    294                 else if($condition != 0 && isset($_COOKIE[$data["cookie"].$data["id"]]) && $second_condition){ 
     297                else if($condition != 0  /*&&isset($_COOKIE[$data["cookie"].$data["id"]])*/ && $second_condition){ 
    295298                    if($this->get_user_status($data['table'],$data['column'],$second_column,$data['id'],$second_val) == "like"){ 
    296299                        $newLike = $data["get_like"] - 1; 
  • wp-ulike/trunk/lang/wp-ulike-fa_IR.po

    r1579042 r1600118  
    22msgstr "" 
    33"Project-Id-Version: WP ULike\n" 
    4 "POT-Creation-Date: 2017-01-20 23:21+0330\n" 
    5 "PO-Revision-Date: 2017-01-20 23:21+0330\n" 
     4"POT-Creation-Date: 2017-02-21 00:46+0330\n" 
     5"PO-Revision-Date: 2017-02-21 00:46+0330\n" 
    66"Last-Translator: Alimir <alimir71@yahoo.com>\n" 
    77"Language-Team: alimir.ir <info@alimir.ir>\n" 
     
    7575msgstr "معرفی وردپرس یولاک" 
    7676 
    77 #: ../admin/about.php:131 ../admin/stats.php:36 ../admin/admin.php:179 
     77#: ../admin/about.php:131 ../admin/stats.php:36 ../admin/admin.php:197 
    7878msgid "About WP ULike" 
    7979msgstr "درباره وردپرس یولایک" 
     
    167167"ابزراک ویژه برترین لایک کنندگان اضافه شده است." 
    168168 
    169 #: ../admin/about.php:218 ../admin/stats.php:23 ../admin/admin.php:175 
     169#: ../admin/about.php:218 ../admin/stats.php:23 ../admin/admin.php:193 
    170170msgid "WP ULike Statistics" 
    171171msgstr "آماره وردپرس یولایک" 
     
    179179msgstr "یا" 
    180180 
    181 #: ../admin/about.php:218 ../admin/admin.php:72 
     181#: ../admin/about.php:218 ../admin/admin.php:73 
    182182msgid "WP ULike Settings" 
    183183msgstr "تنظیمات وردپرس یولایک" 
     
    227227"org/plugins/wp-ulike\">مخزن وردپرس</a> مشخص کنید..." 
    228228 
    229 #: ../admin/logs.php:17 ../admin/logs.php:142 ../admin/logs.php:212 
    230 #: ../admin/logs.php:263 ../admin/logs.php:337 ../admin/logs.php:390 
    231 #: ../admin/logs.php:460 ../admin/logs.php:512 ../admin/logs.php:582 
     229#: ../admin/logs.php:17 ../admin/logs.php:143 ../admin/logs.php:213 
     230#: ../admin/logs.php:265 ../admin/logs.php:339 ../admin/logs.php:393 
     231#: ../admin/logs.php:463 ../admin/logs.php:516 ../admin/logs.php:586 
    232232msgid "Logs" 
    233233msgstr "وقایع" 
     
    237237msgstr "آیا از حذف این آیتم اطمینان دارید؟!" 
    238238 
    239 #: ../admin/logs.php:138 ../admin/logs.php:259 ../admin/logs.php:386 
    240 #: ../admin/logs.php:508 
     239#: ../admin/logs.php:139 ../admin/logs.php:261 ../admin/logs.php:389 
     240#: ../admin/logs.php:512 
    241241msgid "WP ULike Logs" 
    242242msgstr "وقایع اتفاقیه در وردپرس یولایک" 
    243243 
    244 #: ../admin/logs.php:139 ../admin/stats.php:42 ../admin/admin.php:159 
     244#: ../admin/logs.php:140 ../admin/stats.php:42 ../admin/admin.php:177 
    245245msgid "Post Likes Logs" 
    246246msgstr "وقایع لایک در نوشتارها" 
    247247 
    248 #: ../admin/logs.php:149 ../admin/logs.php:270 ../admin/logs.php:397 
    249 #: ../admin/logs.php:519 
     248#: ../admin/logs.php:150 ../admin/logs.php:272 ../admin/logs.php:400 
     249#: ../admin/logs.php:523 
    250250msgid "ID" 
    251251msgstr "شناسه" 
    252252 
    253 #: ../admin/logs.php:150 ../admin/logs.php:271 ../admin/logs.php:398 
    254 #: ../admin/logs.php:520 
     253#: ../admin/logs.php:151 ../admin/logs.php:273 ../admin/logs.php:401 
     254#: ../admin/logs.php:524 
    255255msgid "Username" 
    256256msgstr "نام کاربری" 
    257257 
    258 #: ../admin/logs.php:151 ../admin/logs.php:272 ../admin/logs.php:399 
    259 #: ../admin/logs.php:521 
     258#: ../admin/logs.php:152 ../admin/logs.php:274 ../admin/logs.php:402 
     259#: ../admin/logs.php:525 
    260260msgid "Status" 
    261261msgstr "وضعیت" 
    262262 
    263 #: ../admin/logs.php:152 
     263#: ../admin/logs.php:153 
    264264msgid "Post ID" 
    265265msgstr "شناسه نوشتار" 
    266266 
    267 #: ../admin/logs.php:153 
     267#: ../admin/logs.php:154 
    268268msgid "Post Title" 
    269269msgstr "عنوان نوشتار" 
    270270 
    271 #: ../admin/logs.php:154 ../admin/logs.php:276 ../admin/logs.php:402 
    272 #: ../admin/logs.php:524 
     271#: ../admin/logs.php:155 ../admin/logs.php:278 ../admin/logs.php:405 
     272#: ../admin/logs.php:528 
    273273msgid "Date / Time" 
    274274msgstr "تاریخ / زمان" 
    275275 
    276 #: ../admin/logs.php:155 ../admin/logs.php:277 ../admin/logs.php:403 
    277 #: ../admin/logs.php:525 
     276#: ../admin/logs.php:156 ../admin/logs.php:279 ../admin/logs.php:406 
     277#: ../admin/logs.php:529 
    278278msgid "IP" 
    279279msgstr "آدرس IP" 
    280280 
    281 #: ../admin/logs.php:156 ../admin/logs.php:278 ../admin/logs.php:404 
    282 #: ../admin/logs.php:526 
     281#: ../admin/logs.php:157 ../admin/logs.php:280 ../admin/logs.php:407 
     282#: ../admin/logs.php:530 
    283283msgid "Actions" 
    284284msgstr "کارها" 
    285285 
    286 #: ../admin/logs.php:174 ../admin/logs.php:296 ../admin/logs.php:422 
    287 #: ../admin/logs.php:544 ../admin/stats.php:198 
     286#: ../admin/logs.php:175 ../admin/logs.php:298 ../admin/logs.php:425 
     287#: ../admin/logs.php:548 ../admin/stats.php:198 
    288288msgid "Guest User" 
    289289msgstr "کاربر مهمان" 
    290290 
    291 #: ../admin/logs.php:219 ../admin/logs.php:345 ../admin/logs.php:468 
    292 #: ../admin/logs.php:590 
     291#: ../admin/logs.php:220 ../admin/logs.php:347 ../admin/logs.php:471 
     292#: ../admin/logs.php:594 
    293293msgid "" 
    294294"<strong>ERROR:</strong> No Record Found. (This problem is created because " 
     
    298298"است که شما هیچ اطلاعاتی را در این جدول ندارید)" 
    299299 
    300 #: ../admin/logs.php:260 ../admin/stats.php:43 ../admin/admin.php:163 
     300#: ../admin/logs.php:262 ../admin/stats.php:43 ../admin/admin.php:181 
    301301msgid "Comment Likes Logs" 
    302302msgstr "وقایع لایک در دیدگاه ها" 
    303303 
    304 #: ../admin/logs.php:273 
     304#: ../admin/logs.php:275 
    305305msgid "Comment ID" 
    306306msgstr "شناسه دیدگاه" 
    307307 
    308 #: ../admin/logs.php:274 
     308#: ../admin/logs.php:276 
    309309msgid "Comment Author" 
    310310msgstr "نویسنده دیدگاه" 
    311311 
    312 #: ../admin/logs.php:275 
     312#: ../admin/logs.php:277 
    313313msgid "Comment Text" 
    314314msgstr "متن دیدگاه" 
    315315 
    316 #: ../admin/logs.php:387 ../admin/stats.php:44 ../admin/admin.php:167 
     316#: ../admin/logs.php:390 ../admin/stats.php:44 ../admin/admin.php:185 
    317317msgid "Activity Likes Logs" 
    318318msgstr "وقایع لایک در فعالیت ها" 
    319319 
    320 #: ../admin/logs.php:400 
     320#: ../admin/logs.php:403 
    321321msgid "Activity ID" 
    322322msgstr "شناسه فعالیت" 
    323323 
    324 #: ../admin/logs.php:401 
     324#: ../admin/logs.php:404 
    325325msgid "Permalink" 
    326326msgstr "لینک همیشگی" 
    327327 
    328 #: ../admin/logs.php:438 
     328#: ../admin/logs.php:441 
    329329#, php-format 
    330330msgid "<a href=\"%1$s\">Activity Permalink</a>" 
    331331msgstr "<a href=\"%1$s\">مشاهده فعالیت</a>" 
    332332 
    333 #: ../admin/logs.php:509 ../admin/stats.php:45 ../admin/admin.php:171 
     333#: ../admin/logs.php:513 ../admin/stats.php:45 ../admin/admin.php:189 
    334334msgid "Topics Likes Logs" 
    335335msgstr "وقایع لایک در تاپیک ها" 
    336336 
    337 #: ../admin/logs.php:522 
     337#: ../admin/logs.php:526 
    338338msgid "Topic ID" 
    339339msgstr "شناسه تاپیک" 
    340340 
    341 #: ../admin/logs.php:523 
     341#: ../admin/logs.php:527 
    342342msgid "Topic Title" 
    343343msgstr "عنوان تاپیک" 
     
    488488"title=\"Wordpress ULike\" target=\"_blank\">علي ميرزائي</a>" 
    489489 
    490 #: ../admin/admin.php:75 ../inc/wp-functions.php:307 
     490#: ../admin/admin.php:76 ../inc/wp-functions.php:307 
    491491msgid "WP ULike" 
    492492msgstr "وردپرس یولایک" 
    493493 
    494 #: ../admin/admin.php:83 
     494#: ../admin/admin.php:85 
    495495msgid "Settings saved." 
    496496msgstr "تنظیمات ذخیره شد" 
    497497 
    498 #: ../admin/admin.php:113 ../admin/admin.php:141 
     498#: ../admin/admin.php:121 ../admin/admin.php:156 
    499499msgid "Failed! An Error Has Occurred While Deleting All ULike Logs/Data" 
    500500msgstr "خطا! مشکلی در عملیات حذف وقایع/داده ها وجود دارد" 
    501501 
    502 #: ../admin/admin.php:115 ../admin/admin.php:143 
     502#: ../admin/admin.php:123 ../admin/admin.php:158 
    503503msgid "Success! All ULike Logs/Data Have Been Deleted" 
    504504msgstr "هووورا! همه وقایع/داده ها با موفقیت حذف شدند" 
     
    774774 
    775775#: ../admin/classes/class-settings.php:81 
    776 #: ../admin/classes/tmp/settings.php:169 ../inc/classes/class-ulike.php:423 
     776#: ../admin/classes/tmp/settings.php:169 ../inc/classes/class-ulike.php:426 
    777777msgid "Users who have LIKED this post:" 
    778778msgstr "کاربرانی که این مطلب را پسندیده اند:" 
     
    12451245msgstr "برای امتیاز دهی به این فعالیت، لطفا وارد شوید: " 
    12461246 
    1247 #: ../inc/wp-ulike.php:352 
     1247#: ../inc/wp-ulike.php:353 
    12481248msgid "Error: This Method Is Not Exist!" 
    12491249msgstr "خطا: این متد وجود خارجی ندارد!" 
  • wp-ulike/trunk/readme.txt

    r1579042 r1600118  
    55Tags: wp ulike, wordpress youlike plugin, like button, rating, vote, voting, most liked posts, wordpress like page, wordpress like post, wordpress vote page, wordpress vote post, wp like page, wp like post, wp like plugin, buddypress like system, buddypress votes, comment like system, voting button, wordpress, buddypress, statistics, stats likes, bbpress, bbPress like, WP-Translations, forums, community, credit, points, mycred, users, ultimate member 
    66Requires at least: 3.5 
    7 Tested up to: 4.7.1 
    8 Stable tag: 2.4.1 
     7Tested up to: 4.7.2 
     8Stable tag: 2.4.2 
    99License: GPLv2 or later 
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    180180== Changelog == 
    181181 
     182= 2.4.2 = 
     183* Added: Dashborad Bubble Notifications. (Last Likes Counter) 
     184* Updated: wp-ulike-scripts.js method. 
     185* Removed: Cookie structure on "logged by user" method for some tests. 
     186* Fixed: Pagination class name problem. 
     187 
    182188= 2.4.1 = 
    183189* Added: Notifications System. (Custom toast messages after each activity) 
     
    363369== Upgrade Notice == 
    364370 
     371= 2.4.2 = 
     372In this version, we have made some changes on plugin scripts! So, please clear your server cache after the plugin update. 
     373 
    365374= 2.4.1 = 
    366375Hello. Approximately 1 year, We haven't had any update! :( The reason for this delay was my military service. I apologize for this delay and unanswered support requests in wordpress forums and sented emails. 
  • wp-ulike/trunk/wp-ulike.php

    r1579042 r1600118  
    44Plugin URI: http://preview.alimir.ir/developer/wp-ulike/ 
    55Description: WP ULike plugin allows to integrate a beautiful Ajax Like Button into your wordPress website to allow your visitors to like and unlike pages, posts, comments AND buddypress activities. Its very simple to use and supports many options. 
    6 Version: 2.4.1 
     6Version: 2.4.2 
    77Author: Ali Mirzaei 
    88Author URI: http://about.alimir.ir 
     
    1313 
    1414//Do not change this value 
    15 define( 'WP_ULIKE_VERSION'      , '2.4.1' ); 
     15define( 'WP_ULIKE_VERSION'      , '2.4.2' ); 
    1616define( 'WP_ULIKE_SLUG'         , 'wp-ulike' ); 
    1717define( 'WP_ULIKE_DB_VERSION'   , '1.3' ); 
Note: See TracChangeset for help on using the changeset viewer.