• Resolved landwire

    (@landwire)


    Hi Alimir,

    I have tried to like a post with two different user accounts on the same computer, but that does not seem to work. I think you have to change your if then else within wp_ulike_process to allow for several people to like a post when logging in from the same computer. Is that right?

    Sascha

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter landwire

    (@landwire)

    I would likely change the whole logic.

    Check if a user is logged in
    -> no cookie checked, just checked against database
    else
    check against cookie

    Does that make sense? So does the like count in the database increase when not logged in people like a post?
    S

    Plugin Author Alimir

    (@alimir)

    hello sascha,
    the cookie checking, is for those users who liked a post in logged out mode. So if they want to like the same post, while they’re logged in, they can’t. (i think, this is a better logical survey)
    But, i will add the ip address cheking for the next versions. 😉

    Thread Starter landwire

    (@landwire)

    Ah, ok! Understand that now. Have you had a problem logging in with 2-3 users from the same computer on the same day and trying to like the same post?

    As said it did not work for me.
    S

    Plugin Author Alimir

    (@alimir)

    The users, with same computer (and same browser) on the same post, have same cookie and they can’t like that post, more than one time. And this isn’t a problem.

    Thread Starter landwire

    (@landwire)

    It is important on shared computers!

    Imagine a computer pool where many people log in on one computer during the course of the day. Specialised course and topic at a university. 100 participants. 20 computers in pool. 5-10 people log into the same site and want to like the same post from the same computer during the course of a day, when they are logged into that site.

    Obviously that will need to work if done from same computer.
    Is there a way to achieve this?

    Plugin Author Alimir

    (@alimir)

    This is a specific situation! But, I am going to add a new option on WP ULike 1.9 or WP ULike 2.0 that you can select your logging method. 😉

    Thread Starter landwire

    (@landwire)

    Cool! Thank you for your feedback.
    I know this is a specific situation, but quite realistic in my described use case I think. At least I can witness that at my computer pool.

    I guess it will make your plugin even better!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘wp_ulike_process : cookie check’ is closed to new replies.