Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support supportstylemix

    (@supportstylemix)

    Hello,
    Thanks for reaching us here!
    Please try to follow this guide: https://docs.stylemixthemes.com/masterstudy-theme-documentation/additional-features/wpml
    Then please make sure that your permalinks set correctly. You can adjust your links in Settings -> Permalinks -> Post name and press the Save Changes button [https://prnt.sc/w6zg5o ].

    Best Regards

    Thread Starter artifexmedia

    (@artifexmedia)

    Hi,

    Thanks for the reply, but could you maybe be more specific?
    We already had WPML, so the set-up proces for that will not be followed. It also seems the documentation is explaining WPML itself, but nothing related to the plug-in’s compatibility with WPML.

    Permalinks are correct and have been saved, flushed, etc.
    Your documentation tells us, not specifically though, we need “Different language in directories” as setting. The documentation does not explain if we can use the other formats.

    Could you verify the ?lang= parameter is or is not compatible with the plugin?
    Or could you explain us exactly what to do, as we already have WPML which is correctly set-up but has the ?lang= parameter instead of /nl /de or language domain extensions.

    Plugin Support supportstylemix

    (@supportstylemix)

    Hello,
    Thank you for reaching out to us!
    Sorry for taking your time for this instance. While we were checking the third option “Language name added as parameter” Screenshot, we have noticed that this get parameter option is not compatible with the MasterStudy LMS, but the other two options in the Language URL format settings are compatible. We will update the plugin documentation about this case. Thanks for sharing your experience and it is really helpful to improve our product matters.

    Best regards

    Thread Starter artifexmedia

    (@artifexmedia)

    Thank you!

    I need to explain that in the meantime we indeed did switch to the normal language directory setting (/nl, /de. etc.), which in fact did work but then we noticed a JS code appended in the head by the plugin to redirect the ‘start lesson’ page to it’s same URL.

    I commented line 592 and 594 in classes/course.php as they keep adding the JS redirect.
    Could you please explain us what line 594 means? Line 592 checks if there are no curriculum’s added, but line 594 is eventually what made the redirect on our site – what is that line checking on?

    Perhaps we the know why that new redirect was appearing (I can activate that for you in case you need to see it in action) – or is it a bug? Because, I can understand that a redirect has to happen in some situations but in this case it is redirecting to the exact same URL as the user is already on.

    Plugin Support supportstylemix

    (@supportstylemix)

    Hello,
    Thanks for reaching us here!
    The file you are telling us does not have the 594lines. [Screenshot] So, it means you are not using the last version of the MasterStudy LMS plugin or you made customization for your website. If your LMS is not the latest release, please update it. In case of the customization, the support team does not provide customization services.

    Best Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not compatible with WPML ?lang= parameter’ is closed to new replies.