Upvotes / Downvotes are finally here


  • Admin

    On Vanilla:
    vanillaVotes.png

    On Lavender (or just clear your cache and refresh):
    lavenderVotes.png

    Favouriting no longer increases reputation, although the latest upgrade.js will upvote every post a user has favourited. Almost like it's always been implemented 🙂

    Let the downvote wars begin!


  • Admin

    Let's start with... this one! 😈

    Edit: Aww, downvotes! This is backfiring on me.


  • Admin

    Great, productivity going to grind to a halt while all three devs spend 5 days downvoting every single post we've made since day 1



  • Looks very good. Do I need to git pull and ./nodebb upgrade* to get this feature? And will an upvote move a response up the ladder of responses?


  • Admin

    yup, you'll need to be on edge to get this so pull and upgrade.

    what we have here is just a basic up/down vote feature - anything more specific to this ex. moving up responses, or auto-hiding / deleting posts that have too many downvotes, or thread summarization we will leave for plugins 🙂 (three great plugin ideas, gogogogo!)


  • Admin

    @planner said:

    And will an upvote move a response up the ladder of responses?

    This brings up an interesting point. We did have an issue for topic post reordering, but I closed it because I didn't think there was enough interest for it. Now that we have upvoting and downvoting, suddenly, this issue is relevant again, so that issue may be re-opened.


  • Plugin & Theme Dev

    This brings up an interesting point. We did have an issue for topic post reordering, but I closed it because I didn't think there was enough interest for it. Now that we have upvoting and downvoting, suddenly, this issue is relevant again, so that issue may be re-opened.

    This would actually be useful in certain circumstances, but I think it should be configurable whether or not the bump a post due to a weighted factor via upvoting. For example in my particular case, it WOULD serve a purpose if you could sort posts within a topic via Most Upvoted, Most Downvoted, By Date, and perhaps Favorites (not sure if this would be useful, I doubt it).



  • @julian, @trevor, it becomes relevant in a situation where NodeBB is used for a Q & A site, like StackOverflow.

    If a response that receives the most positive votes moves to the top of the list of responses in a topic, it makes it easier to others looking for the right or most helpful answer to a question to get what they are looking for,

    Perhaps implementing a feature that allows the original poster, admin or moderator to select a response as the Best Answer will be just as helpful.



  • Notifications when someone upvoted you?
    What about the reputation count on the posts?
    Anywhat to see who upvoted your posts?
    Im makeing so many questions?

    Hehe! +1



  • Is there a way to an administrator can reset upvotes and downvotes or reset a users reputation?


  • Plugin & Theme Dev

    Nice, now I see how it's implemented. Looks nice! I'm going to use this 👍


  • Admin

    Is there a way to an administrator can reset upvotes and downvotes or reset a users reputation?

    Currently no, not without DB diving. IMO there will be a huge refactor of the ACP post-0.4x, which will include some more indepth user editing abilities. Hang tight. 🙂

    Nice, now I see how it's implemented. Looks nice! I'm going to use this +1

    😉



  • Great feature!

    What would be the best way to replace the up/down arrow icons with up/down thumbs instead? I'm guessing with CSS but don't know where to start. Any help much appreciated! Thanks!


  • Global Moderator

    @Chanrith this should work for you:

    a[component="post/upvote"] .fa.fa-chevron-up:before {
      content: "\f164"; // code for thumbs up
    }
    a[component="post/downvote"] .fa.fa-chevron-down:before {
      content: "\f165"; // code for thumbs down
    }
    

  • Admin

    @Chanrith said in Upvotes / Downvotes are finally here:

    Great feature!

    What would be the best way to replace the up/down arrow icons with up/down thumbs instead? I'm guessing with CSS but don't know where to start. Any help much appreciated! Thanks!

    Holy necro, Batman!



  • Awesomeness!! Works perfectly!! Thanks @PitaJ



  • 0_1476804886123_IMG_1864.PNG

    And it looks great!


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.