Notifications
Clear all

Hide the downvote button

7 Posts
7 Users
4 Likes
4,913 Views
Posts: 11
Customer
(@riogrande)
Member
Joined: 8 years ago

To Astghik:

Is there any way how to hide even the negative votes (the number) from being displayed? We have a website where anonymous and unregistered people can comment and vote. Recently we started noticing trolls who voted negatively in comments using scripts. So, we have resorted to this Facebook-ish solution with only one thumb for positive voting. However, this hiding of the negative thumb via CSS doesn't prevent people from using scripted links to vote negative votes and when a single number mode is used in WpDiscuz, it affects the vote results, so people are confused when a vote number goes down even though there's no visible thumb down button. So, my idea is to use the two-number system, one number for +  and one number for - votes and then hide the thumb down button and also the number for negative votes. This way hackers can't manually affect positive thumbs using scripted links for voting negative votes.

So, if there's a CSS code for hiding this number, let me know, it would help me much.

Thank you.

Reply
Elvina
Posts: 1403
(@elvina)
Support
Joined: 5 years ago
Posted by: @riogrande

So, if there's a CSS code for hiding this number, let me know, it would help me much.

Please navigate to Dashboard > Comments > Settings > Styling admin page put the following CSS code in the "Custom CSS code" textarea":

#wpcomm .wc-vote-link.wc-down{
display:none !important;
}
#wpcomm .wc-comment-footer .wc-vote-result.wc-vote-result-dislike{
display: none !important;
}
#wpcomm .wc-comment-footer .wc-vote-result.wc-vote-result-like{
   border-right: none;
}

Please don't forget to delete all caches and press CTRL+F5 (twice) on the frontend before checking.

Reply
Page 2 / 2
Share:
Scroll to top