Any hint to enable multi voting vor logged in user?
-
Hi there,
I believe it should be possible with small effort to enable multi voting for logged in users. The voting of a user is stored in “wp_ps_data” and if I delete the user_id, this user can vote again.
Therefore, there should be a point in the script with something like a if then else statement to check, if user_id for question_id x is the same, as the logged in user
(“if (user_id == current_user && question_id == current_question) { show thank you } else {let user vote}”Any hint would be great.
Thank you.
- The topic ‘Any hint to enable multi voting vor logged in user?’ is closed to new replies.