Notifications
Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum   wpForo Support Forum

Hide the downvote button  

Page 2 / 2

riogrande
Posts: 11
Customer
(@riogrande)
Member
Joined: 4 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: 1050
Moderator
(@elvina)
Noble Member
Joined: 9 months 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: