Support » Plugin: WP ULike » only 1 user can click like

  • Hi,

    I like your plugin very much. However, after installation and option settings, I find that there is only 1 user who can like/dislike. If the content is already liked, then no other user can click the like. It shows the message: you have no permission to unlike.

    Please kindly help. Thank you very much!

    https://wordpress.org/plugins/wp-ulike/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Alimir

    (@alimir)

    Thank you @bruce7075
    Which logging method did you choose?!

    I use ‘heart’ and let users click the heart. In addition, I use buddypress for users to login.

    Plugin Author Alimir

    (@alimir)

    No, I mean the “Logging Method” option in WP Ulike settings

    Users login type: like button.
    Logging method: by IP and cookie

    I have the same problem. I have tried all the methods and login is not working. If I allow not need to enter password, giving like the previous like it is eliminated. Sorry for my terrible English. Please help.

    I have the same problem. I have tried all the methods and login is not working. If I allow not need to enter password, giving like the previous like it is eliminated. Sorry for my terrible English. Please help.

    Same problem here for a user created via the functions.php file with wp_create_user.

    wilcosky

    (@wilcosky)

    If you are going to set this up so that only registered and logged in members can like posts, then I don’t think the cookie is needed. I believe the cookie is what causes some of these types of issues.

    I would like a post while logged in as the admin, then I would log out and log back in with a test user account. Then I wouldn’t be able to like that same post. The button would say “unlike” even though, as that user I never liked it, and it would also give me my custom pop up error message.

    Since I have no need for cookies due to the way I have things set up, I simply removed any mention of cookies in class-ulike.php. Now it doesn’t get confused when there are multiple users logging in from the same computer.

    Same problem here! I have W3 total cache plugin on my website also

    I want to capture the like/unlike only from registered members, I selected logging method as “logged by username” in setting. I logged in as a user, likes a post and logged out. I logged in with another use in the same machine, I can only see unlike button instead of like and also displaying “no permission” error. I read wilcosky hinted cookies could be the issue here. Can someone help me how to change the class-ulike.php to fix this ?

    I was struggling with this issue but just found a solution. The issue is a matter of your logging method (found in WP ULike Settings in WP dashboard).

    If you select “logged by IP” or “logged by cookie & IP” as your logging method setting, then no matter what other accounts or browsers you use, you will only be able to like/unlike once because you only have one IP address (unless of course you use an IP scrambler or IP encryption/relay software).

    I solved my problem simply by using the “logged by cookie” setting instead of the settings that log IP. Now I can like as many times as I want using different browsers. Hope that helps.

    • This reply was modified 6 months, 3 weeks ago by kosmicbird.
Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.