• Resolved kvnandula04

    (@kvnandula04)


    Hi,

    So the question has everything really. But I want to show the total number of upvotes a person has received and I want to put that number near the name. I have access to the backend, so I was thinking maybe I could get the number of upvotes from the database and put that number next to the name. Any help would be great!

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • Plugin Author natekinkead

    (@natekinkead)

    @kvnandula04 , I just released this feature in my Pro version at https://wpforthewin.com/product/bbpress-voting-pro/

    User Reputation Shortcodes
    Examples:

    [bbp-voting-rep user="1" type="upvotes"]
    [bbp-voting-rep user="1" type="score" round="2"]
    [bbp-voting-rep user="1" type="accepted"]

    user
    If a number is provided for the user attribute, then that user ID is used. Otherwise, if the shortcode is used within a post loop, then it will use the post author ID. Otherwise, it will use the current logged in user’s ID.

    type
    Which voting metric to output…

    – upvotes: The total sum of upvotes of the user’s topics or replies.
    – score: The average score of the user’s topics or replies.
    – accepted: The total number of the user’s replies that have been marked as the accepted answer.

    round
    Number of decimal places to round the average score. Only applies to type=”score”.

Viewing 1 replies (of 1 total)
  • The topic ‘How to show the total number of upvotes a person has received?’ is closed to new replies.