• Resolved olivier.souksamran

    (@oliviersouksamran)


    Hello there,

    I have some compatibility problems between Groups and WPML plugins.

    We use your great plugin in order to restrict access to some private pages. For information, we have 2 different groups. The problem is that when we restrict access to a page that is not in the default WPML language, WordPress throws a 404 error.

    Think the issue origin is how WPML is configured to display the URL: in my case, we use a different domain per language.

    I turned off the setting in order to use the GET param “lang”. The problem went away.

    Do you know something about this ?

    Thanks for your help.

    Olivier

    http://wordpress.org/extend/plugins/groups/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Olivier,
    WPML have a great program that works with themes and plugins authors to make it compatible with WPML. They have a dedicated team for that ready to welcome any cooperation with the authors. Each project take 2-3 days.
    Here is the link to the program (it called Go-Global”) :
    http://wpml.org/documentation/theme-compatibility/go-global-program/

    I suggest that you ask Groups author to join this program.

    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 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Groups WPML issue’ is closed to new replies.