comment-popularity
comment-popularity copied to clipboard
Allow visitors to vote on comments
If we don't allow negative comment weights (at least internally - not necessarily for user interface), we run into the following possible situation: * comment A has weight zero. *...
Not sure if this is still happening `[15-Apr-2016 11:49:13 UTC] PHP 6. CommentPopularity\HMN_CP_Visitor_Member->unlog_vote($comment_id = 20, 'downvote') /srv/www/wordpress-default/wp-content/plugins/comment-popularity/inc/class-comment-popularity.php:617 [15-Apr-2016 11:49:16 UTC] PHP Notice: Undefined variable: comments_voted_on in /srv/www/wordpress-default/wp-content/plugins/comment-popularity/inc/class-visitor.php on line 289`
Hi guys, I'm using Comment Popularity with nonlogged-in voting, and I found a bug that lets a single user "walk up" or "walk down" the votes on any comment to...
If a user has upvoted a comment and clicks upvote again, it should toggle the vote off, same for downvote
As suggested by a user, we could add a class to the arrow container to show that visitor has voted on the comment. Like on Reddit. https://wordpress.org/support/topic/show-user-their-vote?replies=2#post-7038906
https://wordpress.org/support/topic/custom-post-type-only?replies=2#post-7927447
Looks better than the current library in use http://catc.github.io/iGrowl/#ss-demo
Disable voting arrows on comments that the current user cannot vote on.