Please include your version of Joomla, Moodle and Joomdle when seeking assistance.  Also, if you do not get an immediate response, do not bump your posting as it will be deleted.


Remember Joomdle is a free extension and the Joomdle Team has 'day time' jobs as well.

Thanks for your understanding

Bienvenido, Invitado
Username: Password: Recordarme
R0.23 No Longer Supported
  • Página:
  • 1
  • 2
  • 3

TEMA: SSO problem: new joomla user not added to moodle

Re: SSO problem: new joomla user not added to mood 3 years 1 month ago #11

  • AMI
  • AMI's Avatar
  • DESCONECTADO
  • Karma: 0
I just put the course list to be on the Front page, so it can be viewed without authentication (the courses were defined earlier also, but they were accessible only after log in). Could you please check this again?
I really appreciate your help and i thank you very much for this.
El administrador ha deshabilitado la escritura pública.

Re: SSO problem: new joomla user not added to mood 3 years 1 month ago #12

antonio wrote:
Pingus: that is a way of working. It was the first implemented.

You also have the possibility of creating the users in Moodle without having them to click on module links (just as you were expecting).
For that, auto create users must be set in joomdle component, and joomdlehooks plugin must be enabled.

Both Auto create users were, and still are, active but the users were not added to moodle.

What i was doing was to create the user in joomla, then to directly open moodle in the wrapper via the Wrapper menu item.
Maybe my mistake was to perform this action while i was already logged in as the administrator in moodle?

anyway now i know a good way to make joomdle work.
Thank you again for your support and keep on with your great work on joomdle!
El administrador ha deshabilitado la escritura pública.

Re: SSO problem: new joomla user not added to mood 3 years 1 month ago #13

ami: when I click on Moodle link I am redirected to Joomla.

pignus: don't know why the auto creation is not working. If you ever want to debug it to make it work, just tell me ;)
El administrador ha deshabilitado la escritura pública.

Re: SSO problem: new joomla user not added to mood 3 years 1 month ago #14

yes, i woult like to try to understand what was wrong. Unfortunately i cannot give you access to the system because i am on a private network but i need to understand before being sure i can ask the very_chief_admin_master_lord of the IT section to install joomdle on the real site ;-) ...
Where do i start? Give me some hints on where too put my print_r(stuff...)
Ciao
El administrador ha deshabilitado la escritura pública.

Re: SSO problem: new joomla user not added to mood 3 years 1 month ago #15

Great. To start, the first thing is knowing that the plugin is being executed when creating the user.

I would put just some echos in the onAfterStoreUser in plugins/user/joomdlehooks.php to know that everything there is being executed.
El administrador ha deshabilitado la escritura pública.

Re: SSO problem: new joomla user not added to mood 3 years 1 month ago #16

ehm...
Where am i supposed to see my echo output?
I create the users in the joomla administration interfaceand if i enable debug mode i see alot of stuff related to joomla but none of my echo stuff...
I am relatively new to joomla...
El administrador ha deshabilitado la escritura pública.

Re: SSO problem: new joomla user not added to mood 3 years 1 month ago #17

  • AMI
  • AMI's Avatar
  • DESCONECTADO
  • Karma: 0
Well, i fixed it so it shows the courses from Moodle.
Also, the link which is in the front page doesn't redirect to Joomla anymore but. It redirects to Moodle first page but, unfortunately, it automatically logs on as Anonymus and not as current Joomla user.

If you go to Joomla with the credentials test/test, there is the option Cours in the left User Menu. This is set to Moodle Wrapper, type is Moodle Home (not Course) and at parameters i set up the Moodle URL as www.info.ase.ro/test/Moodle and the Auto create Moodle users to yes.

There is another problem i faced: Joomdle sometimes gets disabled in Moodle - User authentification - Manage authentication. I enable it sometimes, when i log on back to Moodle, i find it disabled.
El administrador ha deshabilitado la escritura pública.

Re: SSO problem: new joomla user not added to mood 3 years 1 month ago #18

You are right, sorry. I forgot that it redirects after that, so you don't see the messages.

just put some echos, during the funciton in case it fails.
Then, at the end, after:
$reply = xmlrpc_decode($file);
Put:
print_r ($reply);
exit ();

You will get a blank page with the debug info.
El administrador ha deshabilitado la escritura pública.

Re: SSO problem: new joomla user not added to mood 3 years 1 month ago #19

I've put echos both at the beginning and end of the onAfterStoreUser and added the final
print_r ($reply);
exit ();

but still no output visible... :-(

I'll be outside for a couple of hours, hope to get you online again later...
El administrador ha deshabilitado la escritura pública.

Re: SSO problem: new joomla user not added to mood 3 years 1 month ago #20

  • AMI
  • AMI's Avatar
  • DESCONECTADO
  • Karma: 0
I also put echos inside joomdlehooks.php but nothing changed (i would presume that onAfterStoreUser is not called at all.
El administrador ha deshabilitado la escritura pública.
  • Página:
  • 1
  • 2
  • 3
Time to create page: 0.157 seconds