Hi, I've been going through the documented steps of integrating Moodle (1.9) aMember (3.0.9PRO) and vBulletin (3.6.8) to achieve single sign-on but something just won't work on the Moodle side. Here's what I've done and what's happening: 1. Installed Moodle 1.9 under mydomain/courses 2. Installes aMember 3.0.9PRO under mydomain/protect 3. Installed vBulletin 3.6.8 under mydomain/forum 4. Installed and configured aMember integration plugin for Moodle (the free one from here: http://www.amember.com/p/Integration/Moodle/) and vBulletin (paid) 5. Installed and configured Moodle - aMember auth plugin to Moodle 6. Installed and configured vBulletin - aMember plugin in VB 7. Modified Moodle's logout.php to redirect to aMember's logout.php 8. Created a Course in Moodle (Internal Enrollment, Not Enrollable) 9. Created a product ($0.00 as I'm doing manual enrollments) in aMember allowing access to the Moodle course with Product URL: mydomain/courses/course/view.php?id=2 (and vBulletin as a registered user) 10. Created a user in aMember and assigned the product The user ends up in all three databases (Moodle, aMember and VB) which is great. I then load the aMember login page in the browser (mydomain/protect/login.php) and log in with the new user, it then redirects to the Moodle login page with a message in red saying: Your session has timed out. Please login again. Then I have to log in again with the same credentials to get to the Moodle course. However, if I, before logging in again into Moodle, manually go to the forum, I can see that I'm logged in to the forum OK so the vBulletin single sign-on works fine. I've gone through the steps about 5 times now and re-installed Moodle and aMember 3 times (once I used the older Moodle 1.8.4 but with the same results). If this is working for others there must be something that I'm missing??? But I followed the steps from a couple of tutorials (like http://www.puchemistry.org/testing/moodle_integration.pdf)... Another thing I noticed is when I log in via the aMember login and when it hits the Moodle login again there are Moodle authentication cookies which keep the same values after logging in again via the Moodle login screen ... I would appreciate any hints, thanks
I think you are using wrong files. The one you got from the amember site is not an updated one. Use these files. Extract these files inside moodle/auth/amember folder Hope this solves your problem