Forum Replies Created

Viewing 1 replies (of 1 total)
  • Forum: Plugins
    In reply to: [Groups] Groups WPML issue
    Thread Starter olivier.souksamran

    (@oliviersouksamran)

    Hello EyalK1,

    Thanks for your reply.

    Actually I went into the plugin code, and found out that there were no compatibilty issue with WPML.

    This is basically related to how WordPress handles authentication : cookies. With WPML, we use the domain mapping feature (each language got its own domain). Problem is, when logged using the default form, the user is only authentified on the main domain (the default language).

    I set up a custom login logic so the user can log in a specific language but the problem is that when he tries to display another language, the authentication is lost. It just remains active on the language he logged in.

    This is due to cookie domain restriction, a domain can’t access or create a new cookie for another domain. Thus, in my authentication logic, I can’t simply add a setcookie for each language’s domain.

    Anyone got an idea ?

    I will soon mark this post as resolved as it is not a Groups plugin issue.

    Thanks

Viewing 1 replies (of 1 total)