Any way to check if user already voted with PHP?
-
Hi mate, first of all thanks for this great plugin, I’ve been searching for a light-weight one that just works.
I’d like to show a results box after the user votes. I could get and calculate the results fine, I can hide the voting form with js after voting(then it shows the results).
However, I’d like the results box stay on a later visit if the user already voted. Is there a way to check this with php? I just want to add in a simple if condition.
Or a simple css class would be enough too
Thank you in advance.
edit: I see in your code a function called ‘thumbs_rating_check’but I’m not sure if how can use this
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Any way to check if user already voted with PHP?’ is closed to new replies.