WordPress.org

Ready to get started?Download WordPress

Forums

Zaki Like Dislike Comments
[resolved] Sortable? (6 posts)

  1. oomskaap
    Member
    Posted 1 year ago #

    I have a full page that only lists comments.
    WOuld it be possible with your plugin to sort comments from highest likes to lowest?

    Thanks

    http://wordpress.org/extend/plugins/zaki-like-dislike-comments/

  2. Riccardo Conte
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,
    currently the function is not provided but since that might actually be useful will then insert it into the next release of the plugin that will be released shortly. Will include a function that extrapolate all comments or comments of a post sorted by rank.

  3. dynamix25
    Member
    Posted 11 months ago #

    I have a problem with the plugin :(

    here is the errors when i try to send a comment from a new user:

    Warning: Cannot modify header information - headers already sent by (output started at wp-content/plugins/zaki-like-dislike-comments/classes/class-zaki-like-dislike.php:169) in wp-includes/comment.php on line 621

    Warning: Cannot modify header information - headers already sent by (output started at wp-content/plugins/zaki-like-dislike-comments/classes/class-zaki-like-dislike.php:169) in wp-includes/comment.php on line 622

    Warning: Cannot modify header information - headers already sent by (output started at wp-content/plugins/zaki-like-dislike-comments/classes/class-zaki-like-dislike.php:169) in wp-includes/comment.php on line 623

    Warning: Cannot modify header information - headers already sent by (output started at wp-content/plugins/zaki-like-dislike-comments/classes/class-zaki-like-dislike.php:169) in wp-includes/pluggable.php on line 875

  4. Riccardo Conte
    Member
    Plugin Author

    Posted 11 months ago #

    Hi dynamix25,
    would be better to start a new topic, however I answer here ;-)

    Line 169 is in the function that display the HTML of rate system, so the possibilities is two:

    1) You try to use "headers" after comments HTML output
    2) You have put this code <?php if (class_exists('ZakiLikeDislike')) ZakiLikeDislike::getLikeDislikeHtml(); ?> before theme <html>

    However without other details i can't help you :-(
    Can you send me your html output as attachment?

    Best regards

  5. dynamix25
    Member
    Posted 11 months ago #

    Thanks for your help, but now i'm using another plugin :)

    //Can you send me your html output as attachment?
    no, plugin was deleted :(

    // You have put this code <?php if (class_exists('ZakiLikeDislike')) ZakiLikeDislike::getLikeDislikeHtml(); ?> before theme <html>
    it is will be good if you save that to readme :)

  6. oomskaap
    Member
    Posted 11 months ago #

    @Riccardo, pls let me know when this plugin is sortable by comments, such as

    `query_posts(array(
    'showposts'=>32,'more' => $more = 0,
    'v_sortby' => 'likes',
    'v_orderby' => 'DESC',

    That would be really handy!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.