• Hey,

    Brain sucks, but it tries. VD Like, Thumbs Rating, what else?

    Thumbs Rating
    * Is really good, and a tiny bit hard.

    * But cons is Thumbs Rating moving up OR moving down, but not either – “You already voted!”.

    * And the Last Updated is 1 year.

    VD Like
    * Is simpler.

    * Custom image. Version 1.0, this previously:

    $vd_like_path_css = plugin_dir_url( __FILE__ ).'css/';
    
    $like_content='<div id="vd_like" class=""><a class="'.$readonly.' vd_like_link" href="javascript:void(0)" data-id="'.$id .'"><i class="demo-icon '.$like_thumb_up.'"></i></a><span class="vd_up_count">'.$vd_uplike.'</span><a class="'.$readonly.' vd_downlike_link" href="javascript:void(0)"  data-id="'.$id .'"><i class="demo-icon '.$like_thumb_down.'"></i></a><span class="vd_down_count">'.$vd_downlike.'</span></div>';

    to this:

    //$vd_like_path_css . 'vd_like_css.css',
    
    //$vd_like_path_css . 'vd_like_font.css',
    
    //$vd_like_path_css = plugin_dir_url( __FILE__ ).'css/';
    
    $like_content='<div id="vd_like" class="tables">
    <a class="'.$readonly.' vd_like_link" href="javascript:void(0)" data-id="'.$id .'"><i class="demo-icon fa fa-arrow-up fa-2x"></i></a><span class="vd_up_count">'.$vd_uplike.'</span>
    <a class="'.$readonly.' vd_downlike_link" href="javascript:void(0)"  data-id="'.$id .'"><i class="demo-icon fa fa-arrow-down fa-2x"></i></a><span class="vd_down_count">'.$vd_downlike.'</span>
    </div>';

    * Horizontal, yes
    up 0 down 1

    * Vertical, yes
    up 0
    down 1

    * up 1 down 0, so good. Browser closes and start again, then it all starts new, that “up 2 down 0”, not “up 1 down 0”. Why? Session instead of cookies or?

    * I can click with:
    up 0 down 0
    up down -1 //little mistake
    up 1 down 0
    up 0 down 1

    * Some bugs, sometimes “VD Likes setting” blank screen, or /wp-admin/ or wp-admin/plugins.php blank screen.

    • This topic was modified 7 years, 10 months ago by TheDani.
Viewing 1 replies (of 1 total)
  • Thread Starter TheDani

    (@thedani)

    And “Warning: Cannot modify header information – headers already sent by (output started at /customers/3/3/4/xxx.yy/httpd.www/wp-content/plugins/vd-likes/vd_like.php:715) in /customers/3/3/4/xxx.yy/httpd.www/wp-includes/pluggable.php on line 1216”

    wp-config.php, define(‘WP_DEBUG’, true);

Viewing 1 replies (of 1 total)

The topic ‘VD Like – ups and downs’ is closed to new replies.