× Feature Requests

Please do NOT use this section of the forum to request help if Joomdle does not work for you in some particular way. Your post will be deleted.

RSMembership!

1 month 2 weeks ago
Yves Kreis
Posts: 4
More
Topic Author
RSMembership! #1
Is it possible to create a plugin for RSMembership! to sync data to Moodle?

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

1 month 2 weeks ago
Antonio Durán
Posts: 7331
More
RSMembership! #2
I think we already looked into this in the past, but I cannot find any info, so I am not sure.
If you have the Rsmembership package, you can send it to us so we can evaluate if an integration is possible.

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

1 month 2 weeks ago
Yves Kreis
Posts: 4
More
Topic Author
RSMembership! #3
Sure. Where to sent it to?

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

1 month 2 weeks ago
Antonio Durán
Posts: 7331
More
RSMembership! #4
You can send it antonio at joomdle dot com

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

1 month 2 weeks ago
Yves Kreis
Posts: 4
More
Topic Author
RSMembership! #5
Mail delivery failed because of the zip file. Alternative?

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

1 month 2 weeks ago
Antonio Durán
Posts: 7331
More
RSMembership! #6
Hi.

I checked this, and it seems a plugin cannot be created, as Rsmembership is not prepared for that.

There's a way, though, using Custom PHP code (Accepted transaction) section. But you would need to do it manually for every membership, getting Moodle course ID for each one.

Example code:

require_once(JPATH_ADMINISTRATOR.'/components/com_joomdle/helpers/content.php');
$user_id = $transaction->user_id;
$user = JFactory::getUser ($user_id);
JoomdleHelperContent::enrolUser ($user->username, 2); // 2 is the Moodle database ID of the course (id field in mdl_course)

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

1 month 2 weeks ago
Yves Kreis
Posts: 4
More
Topic Author
RSMembership! #7
Oh, we misunderstood ourselves. I was talking about data mappings. Would that be possible?

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

1 month 2 weeks ago
Antonio Durán
Posts: 7331
More
RSMembership! #8
Ah, ok. I checked and there seems to be no events being fired when account info is modified, so I don't think it can be done, sorry.

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