Is it possible to have public upvotes without public downvotes?
-
@remi what I meant was, if you said "V, W, X, Y, Z and N others", the "others" really came at the beginning the list, but you're mentioning them at the end of it.
If you took the whole list (still in the order that they were given) and collapsed count - 5 of the items from the head into an "N others" item, then it'd be "N others and V, W, X, Y, Z".
-
@anotherusername Oh, I see. Thanks.
-
@anotherusername said in Is it possible to have public upvotes without public downvotes?:
edit edit: or just put ??? icons instead of actual user icons, and not link to any real account.
That might be difficult, considering that the entire modification runs server-side:
-
@ben_lubar said in Is it possible to have public upvotes without public downvotes?:
@anotherusername said in Is it possible to have public upvotes without public downvotes?:
edit edit: or just put ??? icons instead of actual user icons, and not link to any real account.
That might be difficult, considering that the entire modification runs server-side:
Why would that be difficult? Isn't the ??? graphic stored server-side as well? How hard would it be to simply put {number of downvotes} ??? images in instead of looking up @boomzilla's account? If his info is hard-coded in, then that would just make it that much easier to change the hard-coded image reference.
-
@anotherusername Doesn't your CSS screenshot reveal the downvoters anyway?
-
@RaceProUK
Ah, ok. I see that here, now. So if {someone} wants to change the image to be ??? instead of , then we'd need to create a new dummy account with that avatar.Not that anyone needs to do this. I'm just trying to figure out theoretically how difficult it would be to change. (I've been thinking of picking up javascript, so what better place to start than here.) I think it's funny that bz put his own id in for all downvotes. :D
-
@ben_lubar so if I'm reading it correctly, this:
next(err, Array(count).fill(14));
produces an array of
14
(bz's UID) to be used as the return value instead of the real list. Then this:User.getUsersFields(results.downvoteUids, ['username', 'userslug', 'picture'], next);
does... something. And it's defined elsewhere...
module.parent.require('./user')
.What would it do if it got a list of
null
-- or0
-- instead (okay, probably just crash and burn)? But could you put an if statement there and have it do something else if they're not supposed to display publicly?
-
@anotherusername said in Is it possible to have public upvotes without public downvotes?:
@remi you see the first 5-6 in the order they were given. The placement of "others" corresponds to where the group of others occurs in that order.
Uh? I don't understand the second part (about the others). They are necessarily occuring later (otherwise they would not be in the "others"), so they are necessarily at the end?
-
@ben_lubar said in Is it possible to have public upvotes without public downvotes?:
@tsaukpaetra is the reply button a button? is the quote button a button? is the upvote button a button?
No. They're all links that have been styled in a particular way to be easier to hit on touch-enabled devices.
Well, at least, according to the HTML.
-
Edit: 3 yr old post if anyone's actually interested.
-
@ben_lubar said in Is it possible to have public upvotes without public downvotes?:
@wharrgarbl said in Is it possible to have public upvotes without public downvotes?:
@blakeyrat reddit uses votes for sorting and hiding comments, and reading reddit comments is much better than your average internet comment section.
I agree that nodebb votes are useless the way they are here
If only there were a thing you could click on to Sort by ▼ the most votes.
It's not the same, there you sort by upvotes and the replies still show up below their parent posts.
-
@remi said in Is it possible to have public upvotes without public downvotes?:
who cares that A was faster than B to upvote a post??
Go check the likes topic. :P
-
@wharrgarbl said in Is it possible to have public upvotes without public downvotes?:
@blakeyrat reddit uses votes for sorting and hiding comments, and reading reddit comments is much better than your average internet comment section.
I agree that nodebb votes are useless the way they are here
If only there were a thing you could click on to Sort by ▼ the most votes.
-
@anotherusername said in Is it possible to have public upvotes without public downvotes?:
@ben_lubar so if I'm reading it correctly, this:
next(err, Array(count).fill(14));
produces an array of
14
(bz's UID) to be used as the return value instead of the real list.No, it creates an array of
count
items that all have14
(boomzilla's UID) as data.
But could you put an if statement there and have it do something else if they're not supposed to display publicly?
That's already there. If the viewing user has admin or mod privileges, then the actual downvoters are displayed. Otherwise, a bunch of bz avatars appear. :P
-
@tsaukpaetra said in Is it possible to have public upvotes without public downvotes?:
@ben_lubar said in Is it possible to have public upvotes without public downvotes?:
@wharrgarbl said in Is it possible to have public upvotes without public downvotes?:
@ben_lubar said in Is it possible to have public upvotes without public downvotes?:
@wharrgarbl said in Is it possible to have public upvotes without public downvotes?:
@blakeyrat reddit uses votes for sorting and hiding comments, and reading reddit comments is much better than your average internet comment section.
I agree that nodebb votes are useless the way they are here
If only there were a thing you could click on to Sort by ▼ the most votes.
It's not the same, there you sort by upvotes and the replies still show up below their parent posts.
Have you tried clicking on the thing that says the number of replies and looks like a button?
Ok ok, you got me here, sometimes you do need a picture instead of just text.
WTF are you talking about?
-
@pie_flavor said in Is it possible to have public upvotes without public downvotes?:
https://i.imgur.com/CrlrAmV.png
https://i.imgur.com/I5RYMIX.png
I'm loving this new feature.Sometimes it's the simple things in life that eat the most happiness.
Surprised inspirobot hasn't generated that one yet...
-
@wharrgarbl said in Is it possible to have public upvotes without public downvotes?:
@ben_lubar said in Is it possible to have public upvotes without public downvotes?:
@wharrgarbl said in Is it possible to have public upvotes without public downvotes?:
@blakeyrat reddit uses votes for sorting and hiding comments, and reading reddit comments is much better than your average internet comment section.
I agree that nodebb votes are useless the way they are here
If only there were a thing you could click on to Sort by ▼ the most votes.
It's not the same, there you sort by upvotes and the replies still show up below their parent posts.
Have you tried clicking on the thing that says the number of replies and looks like a button?