Displaying the User with the Most Votes

Home Forums bbPress Voting Feature Requests Displaying the User with the Most Votes

Viewing 2 reply threads
Sort by:
  • Author
    Posts
    • #25834
      Helpful
      Up
      11
      Down
      Not Helpful
      ::

      Displays the user with the most votes depending on the time period. It may be monthly or yearly or even weekly. So the admin can find out who the user with the most votes is. It would be interesting if you could add a shortcode for the end user view or in the wordpress admin dashboard

      Dany Indrawan Pratama voted upNathan Kinkead voted upTory McBroom voted up
    • #25846
      Nathan Kinkead
      Keymaster
        Helpful
        Up
        0
        Down
        Not Helpful
        ::

        Would the time period be for the votes or for the date of the topic or reply?

        To filter by the dates of the votes would not be possible because I don’t store the dates of the votes.

        But, I already have a widget called “bbPress Voting Trending Topics” to display the topics with the highest votes.
        – I could add a option to specify the time period used to query those topics.
        – I could also add an option to also query replies, but that would not be good for the UI because there’s no short title for replies like we have for topics.
        – I could add an option to show the author instead of the topic title that way I could include replies in the query. However, that made me realize that you might want to total the scores of all of each author’s topics/replies… that could get pretty intensive on the database (and for development)

        Let me know if these thoughts helped you to realize more specifically what you’re looking for. Can you add some clarity?

      • #30162
        Tory McBroom
        Participant
          Helpful
          Up
          0
          Down
          Not Helpful
          ::

          Filter by dates of the votes would be ideal, IMO. If you could add a date field. I’d love to run competitions on who gets the most votes for a time period, for example, a month, and reward them.

          • #30193
            Nathan Kinkead
            Keymaster
              Helpful
              Up
              0
              Down
              Not Helpful
              ::

              Troy, I just released a new feature that I call “Historical Weighted Score Visualization”. At the core of this new feature (which looks really cool) is a new way of storing votes aggregated by month. You’ll need to update both the free and pro plugins to version 2.1.12.0, and then let some time pass (and voting done) so that it can start storing the voting scores in this format over more than one month. If you look at the “bbp_voting_votes” post meta, it will start to store an array of items with the keys in the format of YYYYMM (ex 202402) and under those keys are an array with ups and downs keys… those are the total upvotes and downvotes during that the month of Feb 2024.

        Viewing 2 reply threads
        • You must be logged in to reply to this topic.