Hi troussel,
this bug with ip 1234 was in older versions. Please update to actual version 5.12, this bug disappeared.
You configure “Allow only registered users to vote”. Then its session based and uncheatable. A user have to login and then he can vote.
Best regards
Wasiliy
I have made the update it fixe the ip=1234.
But, i have check “Allow only registered users to vote”, and it is always ip based.
is the “Allow only registered users to vote” activ only with the activation key ?
And we don’t understand the price because there is two 39 an 99 ??? wich one is the price of the activation key ?
“Allow only registered users to vote” is based on WordPress UserId.
You can use it without activation key.
Price is 39.
Best regards
Wasiliy
btw: new update was done, please update to actual version
Update make, it doesn’t work, i have the same ip, but another user, and it doesn’t work, it say that the user has allready all his vote.
in code you have this :
$ip = $_SERVER[‘REMOTE_ADDR’];
$getRatingPicture = $wpdb->get_var( $wpdb->prepare(
”
SELECT COUNT(*) AS NumberOfRows
FROM $tablenameIP
WHERE pid = %d and GalleryID = %d and IP = %s
“,
$pictureID,$galeryID,$ip
) );
but what is when it is on the wpUserId based ??? This only test the ip.
And after there is also this test :
if(@$VotesPerUser!=0 AND @$VotesPerUser!=”){
$countVotesOfUserPerGallery = $wpdb->get_var( $wpdb->prepare(
”
SELECT COUNT(*) AS NumberOfRows
FROM $tablenameIP
WHERE GalleryID = %d and IP = %s
“,
$galeryID,$ip
) );
}
Here also there is only the ip on test. Perhaps you must also test the check on only registered user to make the test on wpUserId when it is check like you make with the “5 stern Prüfung” or “1 stern Prüfung”.
Thank you for contacting me.
It is resolved in 5.12.1.
Best regards
Wasiliy