souramoo / commentoplusplus

Commento with out of the box patches and updates to add useful features and fixes. Also with one-click deploy to Heroku so you can get up and running fast.
MIT License
389 stars 62 forks source link

[Feature request] Option to disable voting #138

Open nevillepark opened 1 year ago

nevillepark commented 1 year ago

I would like the option to disable voting. Right now I am using custom CSS to hide the upvote/downvote buttons and comment scores, but 1) it's kind of clunky and 2) the features are still there, just hidden.

Note: in order to get things to look right with those elements hidden, I had to remove the · before the comment time, and move over the reply/sticky/remove options, as seen in the CSS below. To make it work better, I'd suggest:

In case this is helpful for anyone else, I've attached the custom CSS I used:

/* Hide comment votes & voting options */
#commento-sort-policy-score-desc, .commento-option-downvote, .commento-option-upvote, .commento-root .commento-card .commento-score {display: none;}
/* Adjust alignment/spacing */
.commento-root .commento-card .commento-timeago::before {display:none;}
.commento-option-reply {right: 0px !important;}
.commento-option-sticky {right: 30px !important;}
.commento-option-remove {right: 60px !important;}