My Courses not showing

  • Terry Carter
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 2 months ago #1 by Terry Carter
My Courses not showing was created by Terry Carter
We recently added Joomdle to our clients new Joomla 2.5 website. We are using our pre-existing Moodle 1.9 installation so we could retain all of the user data and courses, etc.

I havecreated a menu link in Joomla to go to My Courses.

If a member purchases a course through VM the course shows up immediately in My Courses.

Any previously enrolled courses in moodle do not show up however.

So any courses a user was enrolled into prior to us using Joomdle does not who in the Joomdle My Courses view.

Is there a query somewhere I can change that will grab all of the courses a user is enrolled into?

This has some of our member in an uproar and I really need to figure out what is going on.

Thanks
Terry

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

More
13 years 2 months ago #2 by Chris
Replied by Chris on topic My Courses not showing
Can you confirm the following scenarios:
1) A new student / member purchases a course through VM, the course shows us. Yes/No
2) An existing member does not see his/her courses. Y/N
3) An existing member buys a new course, he/she only sees his/her new course. Y/N

If 1 & 2 are yes and 3 is Not Applicable, perhaps the members are not Joomdle users yet?
If 3 is yes, that is strange behaviour as there should be no pre/post date checks.

- Have you sync all users?
- Since you say this is an old Moodle installation, are they using Moodle Id/Pw to login or did you migrate them to Joomla?
- If you are they are using their old Moodle ID/PW, what ID/PW are the new members using? Moodle or Joomla?

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

  • Terry Carter
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 2 months ago #3 by Terry Carter
Replied by Terry Carter on topic My Courses not showing
1) A new student / member purchases a course through VM, the course shows us. Yes
2) An existing member does not see his/her courses. For any courses previous to Joomdle correct
3) An existing member buys a new course, he/she only sees his/her new course. Yes or any other courses bought through VM.

All of our members were already Joomla and Moodle users. We had a bridge written a long time ago that synced the user accounts when someone became a member of the joomla site.

We have migrated from Joomla 1.0 to 2.5. All of the member data has remained the same.

Biggest issue we have is if a member logs in they can't see their courses previous to the Joomla 2.5 upgrade.

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

More
13 years 2 months ago #4 by Chris
Replied by Chris on topic My Courses not showing
My first thoughts are the users are not synced correctly through Joomdle.
- Are all the users "Joomdle users"? (can check through Joomdle at the backend)
- Does SSO work for all users, old and new?

Is the previous bridge still in use? How did is sync the users? Perhaps the method of syncing is different than how Joomdle does it and thus perhaps joomdle does not recognise those past users?

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

  • Terry Carter
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 2 months ago #5 by Terry Carter
Replied by Terry Carter on topic My Courses not showing
The old method of syncing we used was a script someone else put together long ago, but the old site no longer even exists so I know that is not being used anymore. We are on a new server, new Joomla install, existing moodle 1.9 install.

The users are all Joomdle users in the back end yes.

SSO does appear to be working for all of the users, or at least the ones we have tried... there are about 15000 user accounts so we haven't tried them all. :)

Does a user have to be signed in with SSO before they can pull their courses? Looking at your function it appears that the user ID is passed to the function and then the result is pulled. I just can't find the query being executed when the my courses page is called.

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

More
13 years 2 months ago #6 by Antonio Durán
Replied by Antonio Durán on topic My Courses not showing
The "my courses" page calls a web service in Moodle side, which returns the user courses.

If it is a very old 1.9 install, maybe there is something funny with its data, I don't know.
I can't think of any reason for the new purchased courses showing on the list, but not old ones.

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

More
13 years 2 months ago #7 by Chris
Replied by Chris on topic My Courses not showing
The other thing you may wish to look at is the moodle courses / enrollments tables. Compare one older course that is not working vs one that is. Aside from the expected course details (name, description, code, etc.), look to see what is different, if anything, in the tables.

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

More
13 years 1 month ago #8 by Brian Rowe
Replied by Brian Rowe on topic My Courses not showing
Hi there, I am also having the same issues with auto-enrolling users after payment is made and confirmed via VM, PayPal Extension. I have Joomla 2.5.9, Moodle 2.4, VM 2.0.18a. The menu "my courses", which shows ones that have been purchased for my students show nothing in there. Each student is confirmed in Moodle and in Joomla as being users as well.

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