Support » Plugin: Post Rating » Couple of queries

  • Resolved Alex Furr

    (@alexfurr)


    Member

    Hi,
    Looks great! Just installed and works well. Couple of queries:

    1. Can users change their vote once made? i notice I can’t reclick a star after rating a post once.
    2. Am I missing an option that would add a column to the posts admin table (if posts was selected in the settings) that shows the rating for that post. That way we could order the posts by rating and we’d know what the highest rated were.

    Thanks again! Great plugin!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author pgogy

    (@pgogy)

    Hi Alex

    (It’s Pat Lockley here, if not obvious)

    Sadly, the post doesn’t check if a user has already voted – it doesn’t care if you’re logged in or so on.

    If you add an extra column to the posts list they tend – from my experience – not to be sortable.

    I’ve some time coming up where I could add these features in though if that helps – how are you using it?

    Thanks

    Pat

    Alex Furr

    (@alexfurr)

    Member

    Hi Pat,
    Good to hear from you, didn’t realise this was one of yours. Thanks for the reply!

    We’re setting it up so that only logged in users can give a rating, and I assumed it would store the rating and userID in the post meta. Is this not the case? The ability to re-vote if logged in, mainly due to possibility of misclicks would be really useful.

    To put it into context, we have a module blog and the academic wants students to be able to rate other blog posts, in what would be I suppose, a simple peer feedback mechanism. She could then pick the best blog posts I.e. Highest rated to show as exemplar submissions, or at least perceived examplars. Therefore the ability to show the highest rated posts would be useful, but not a deal breaker.
    I’m happy to take a look at the column filtering, or maybe simpler I can just add a short code to show the top posts ordered by rating.

    Could you confirm how the rating is stored? Is it an array of ratings in the post meta and the average rating is calculated dynamically, or is the average rating also keep in the post meta for quick lookups.

    Thanks again,

    Alex

    Plugin Author pgogy

    (@pgogy)

    Hello

    It is a post meta array – no UserID stored, but you could do a user version without much effort.

    Pat

    Alex Furr

    (@alexfurr)

    Member

    fab thank you. I’ll probably fork your code if you’re fine with that?
    from experience anonymous rating leads to abuse!
    Also if you’re interested I released this recently:
    https://en-gb.wordpress.org/plugins/peer-feedback/

    It’s a webPA type plugin – not much reporting tools in it yet, but they’ll be coming soon.
    Thanks again for the rapid response.
    Alex

    Plugin Author pgogy

    (@pgogy)

    You can fork away – it is on github. If you could wait a few days I am happy to build it in as an option

    Plugin Author pgogy

    (@pgogy)

    Hey
    New version is on github – no change in version number, but some new code
    Let me know if it works for you
    Pat

    Alex Furr

    (@alexfurr)

    Member

    Thanks Pat – I’ll take a look tomorrow…

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.