wpDiscuz - WordPress Comment Plugin
Guest can vote mult...
 
Share:
Notifications
Clear all

Guest can vote multiple times  


bigfish
Posts: 5
(@bigfish)
Active Member
Joined: 2 weeks ago

Hello,

Guests are able to upvote or downvote comments multiple times. It says "You already voted for this comment" yet, the comment count changes anyways. How can I stop this from happening?

7 Replies
Asti
Posts: 1270
 Asti
Support
(@asti)
Support member
Joined: 3 years ago

Hi @bigfish,

Please read this support topic: https://wpdiscuz.com/community/f-a-q/limit-comment-likes-unlimited-voting-problem/

Reply
bigfish
Posts: 5
(@bigfish)
Active Member
Joined: 2 weeks ago

I followed the instructions and the column that the SQL query tries to add is already on the table:

MariaDB [(edited)]> ALTER TABLE `wp_wc_users_voted` ADD COLUMN `post_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT0, ADD COLUMN `date` INT(11) UNSIGNED NOT NULL DEFAULT 0, ADD INDEX `post_id` (`post_id`);
ERROR 1060 (42S21): Duplicate column name 'post_id'
Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 3 years ago

Support member
Posts: 1270

@bigfish,

Could you please leave some example URL to allow us to check the issue? 

Reply
bigfish
Posts: 5
(@bigfish)
Active Member
Joined: 2 weeks ago
Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 3 years ago

Support member
Posts: 1270

@bigfish,

Could you please send the admin login details to info[at]gvectors.com email address? 

Reply
bigfish
Posts: 5
(@bigfish)
Active Member
Joined: 2 weeks ago

Hello,

the admin login info was sent to your e-mail address yesterday.

Thanks

Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 3 years ago

Support member
Posts: 1270

Thank you @bigfish,

We've checked your website. Please read the issue description below. 

For some reason it generates different IP addresses for guests each time, thus wpDiscuz allows to vote the comments (as far as IPs are different).

Please deactivate all plugins and check again. If none of the plugins caused the issue, you should contact the hosting support and ask them to fix the issue.

Reply
Share: