Joomdle 2.x Installation

WT JMoodle User sync

  • Wynand Louw
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 months 3 weeks ago - 2 months 3 weeks ago #1 by Wynand Louw
WT JMoodle User sync was created by Wynand Louw
Just checking in about the below extension referring back to the Joomdle shortcomings and my current battle in Joomla 5.3.1 and Moodle 4.5.5 and testing Moodle 5.0.1.

extensions.joomla.org/extension/wt-jmoodle-user-sync/

Students are not logged out from Joomla when they log out from Moodle. Next time they want to log in via Joomla, they cannot log in since Joomla session is still active.

I have to consider the above concerns before deciding to renew my subscription, since I am Paying in South African Rands which is current at 0.0544 American Cents, which makes it quite expensive in Rand value.

Please advise the best course of action and the future of Joomdle in the fast-changing environment of Joomla 5 and 6 and Moodle 5 plus.
Last edit: 2 months 3 weeks ago by Wynand Louw.

Please Log in or Create an account to join the conversation.

More
2 months 3 weeks ago #2 by Antonio Durán
Replied by Antonio Durán on topic WT JMoodle User sync
Hi Wynand.

As the link says, Joomdle is still using the old Joomla API, so the current package will only work until Joomla 5.
However, I am currently working on porting Joomdle to the new API so that it works in Joomla 6. I hope it will be ready by the time Joomla 6 launches (in October).

As for your subscription: as I guess you don't need to download any new plugins now and you don't need paid plugins support, you can wait to renew....

> Students are not logged out from Joomla when they log out from Moodle. Next time they want to log in via Joomla, they cannot log in since Joomla session is still active.

I will need more info about this to try to help: are Joomla and Moodle on the same domain? How are your sso/logout settings in Joomdle in Moodle?

Please Log in or Create an account to join the conversation.

  • Wynand Louw
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 months 3 weeks ago #3 by Wynand Louw
Replied by Wynand Louw on topic WT JMoodle User sync
Thanks Antonio.

Great to hear that you are working on the New API.

I have now changed the settings in Joomla and Moodle to point to the same

In both Joomla and Moodle, I set the cookie domain to ".yourdomain.com" (note the leading dot). This allows both systems to access the same cookies, which is essential for logout sync I presume. I use file to handle sessions instead of database.

I also added the following to my php.ini, to ensure session.gc_probability and session.gc_divisor are set to allow cleanup (e.g., 1 and 100 respectively).

So far it seems to be working, since all the old logins that was still showing active since May was removed.

I will monitor how it goes.

Please Log in or Create an account to join the conversation.