WordPress.org

Ready to get started?Download WordPress

Forums

LikeBtn Like Button
[resolved] Top comments!? (12 posts)

  1. The Three
    Member
    Posted 10 months ago #

    hello there!
    I am using the ULTRA plan for the comment like... Is there any way to desplay the comments with that most liked at the top?

    Thanks...

    http://wordpress.org/plugins/likebtn-like-button/

  2. likebtn
    Member
    Plugin Author

    Posted 10 months ago #

    Thanks for your request. We are trying to find a solution.

  3. likebtn
    Member
    Plugin Author

    Posted 10 months ago #

    1) Reinstall the plugin: http://wordpress.org/plugins/likebtn-like-button/

    2) Find the comments.php template of your current WordPress theme (for example: /wp-content/themes/twentytwelve/comments.php)

    3) Add the second parameter to all the calls of wp_list_comments function in comments.php:

    // Before
    // wp_list_comments( array( 'callback' => 'twentytwelve_comment', 'style' => 'ol' ));
    
    // After
    $comments_sorted = likebtn_comments_sorted_by_likes();
    wp_list_comments( array( 'callback' => 'twentytwelve_comment', 'style' => 'ol' ), $comments_sorted);
  4. The Three
    Member
    Posted 10 months ago #

    Thank you!!!

  5. FelixHalim
    Member
    Posted 7 months ago #

    Is that only available for the Ultra Plan??

  6. likebtn
    Member
    Plugin Author

    Posted 7 months ago #

    This feature is available for all the plans allowing to use Statistics API: PRO, VIP, ULTRA.

    http://likebtn.com/en/#plans_pricing

  7. FelixHalim
    Member
    Posted 7 months ago #

    so it's not available on the free plan?

  8. likebtn
    Member
    Plugin Author

    Posted 7 months ago #

    No. Not available.

  9. FelixHalim
    Member
    Posted 7 months ago #

    If i wanna show the button only for the registered user.. is it possible??

  10. likebtn
    Member
    Plugin Author

    Posted 7 months ago #

    Yes. User "User authorization" option on "Buttons->Settings" page of the LikeBtn WordPress plugin.

  11. foppejan2
    Member
    Posted 4 months ago #

    can you give any indication as to how computationally heavy (and how much of a % increase in render time) sorting comments by like tally is compared to regular sorting? Would it be very noticeable for a site with a comment count that varies between 80 and 500 comments per article, and a few thousand page views per post per day?

  12. likebtn
    Member
    Plugin Author

    Posted 4 months ago #

    can you give any indication as to how computationally heavy (and how much of a % increase in render time) sorting comments by like tally is compared to regular sorting?

    "Likes" custom fields are being retrieved for comments.

    Would it be very noticeable for a site with a comment count that varies between 80 and 500 comments per article, and a few thousand page views per post per day?

    Maybe 1.2 times slower, it depends on your Database size and CPU.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.