I'm integrating aMember with Moodle 1.9. I've found that logins from aMember -> Moodle work fine, but Moodle -> aMember fails. In other words, users can login to Moodle via the aMember login page, but they are unable to login via the default Moodle login page. My understanding was that either login method should work.
Hey Kbiglione, Both methods should work fine (I have it working well on my site). Silly question however, did you setup the following: Moodle Plugin: Moodle Full Path and Moodle Remove Users (YES)? Lastly there where 2 readme.txt's with the moodle plugin, I recommend going through both and retracing your steps. I found when I did the installation I had to use the venkatesan_readme.txt for explinations as the other was way to generic and seemed to earlier versions of moodle. I know this isn't much, but hope it helps. In the meantime I would suggest logging a ticket.
Check whether your integration is similar to the one I suggested with my picture tutorial, which you may download from HERE
chemistry2004, your document helped me TREMENDOUSLY when I did my integration in December last year. I really appreciate that you put the tutorial together. Andrea
Are you available for hire? Chemistry2004 are you available for hire? I am running AMember for a membership site and that works great. I am setting up some courses on Moodle now (not a part of the membership site in any way) and want to process their cards through AMember. Would that require a new install of AMember? Do I need a private SSL? It is just over my head. Are you availalbe for hire - if so, how much?
chemistry2004, I was the person that first approached Alex a long time ago about Moodle. I worked with him over a 2 week period as he wrote the first plug-in. Shortly after that I moved away from Moodle; but have since started using it again. It is great to see that it is still being supported and developed. I want to thank you for your efforts and the great documentation you created on the Moodle / aMember integration. I followed your steps and had the integration complete in about 30 minutes without any problems. I did, however, have prior experience with both Moodle and aMember. So that helped. Thanks again and I will also jump in and help make sure the plug-in keeps supported and developed. The site is digitalliteracyproject.com which integrates Wordpress, Moodle, and aMember.
Dear gswaim, Thanks for the nice words. I should thank you first, for learning about amember from earlier moodle forum. cgicentral had to be thanked for all the support during implementation with moodle 1.9
Dear healthieryou, Thanks for your inquiry. I always wish to help people for FREE. Please go ahead and put up your doubts here. I will try my best to solve your problems. To make moodle-amember integration your existing amember itself would do. You just need to upload the moodle auth plugin to protect folder of amember and configure it in your amember cpanel. All the best
moodle plugin problems Hi. I integrated the moodle plugin following great instructions provided. However, in Moodle Users/Authentication/ManageAuthentication, I receive a page with the heading Manage Authentication but with nothing else on it. I'm using moodle 1.9.2 and the moodle plugin from amember which I downloaded on the weekend. Any ideas would be much appreciated. thank you Lynn
Dear Lynn, I receive a page with the heading Manage Authentication but with nothing else on it. You mean to say that you do not see the available authentication plugins list in the moodle page. Something like this view image This is nothing to do with amember. Probably your moodle upload is not proper. Check your ftp client.
I checked with the latest moodle build today morning. It is working alright. I could not repeat your problem. Best way is to upload the moodle.zip file and extract through control panel.
good advice to redo the FTP. It worked fine. I now have another possibly related issue with moodle and amember. When I login as guest user, I go to the membership page - good, but on that page I also get errors. Any idea what these mean?: WARNING: Invalid argument supplied for foreach() in line 296 of file moodle.inc.php WARNING: Cannot modify header information - headers already sent by (output started at site/amember/rconfig.inc.php(16) : eval()'d code:380) in line 272 of file moodle.inc.php WARNING: Cannot modify header information - headers already sent by (output started at site/amember/rconfig.inc.php(16) : eval()'d code:380) in line 273 of file moodle.inc.php WARNING: Cannot modify header information - headers already sent by (output started at site/amember/rconfig.inc.php(16) : eval()'d code:380) in line 274 of file moodle.inc.php WARNING: Cannot modify header information - headers already sent by (output started at site/amember/rconfig.inc.php(16) : eval()'d code:380) in line 275 of file moodle.inc.php WARNING: Cannot modify header information - headers already sent by (output started at site/amember/rconfig.inc.php(16) : eval()'d code:380) in line 276 of file moodle.inc.php WARNING: Cannot modify header information - headers already sent by (output started at site/amember/rconfig.inc.php(16) : eval()'d code:380) in line 54 of file new_rewrite.inc.php
Dear lynberr, I think the error is something to do with the cookie and session problem. Just clean your browser cache and restart your browser. Every course in moodle is accessible only from amember (provided the course enrollment is set to No in moodle). If you make any moodle course enrollable and having guest access, then the guest can simply go to moodle page and view guest related items. In this case amember does not play any role. Then, when somebody tries to go to amember page, they would be treated as a fresh user and requires correct login. Also I could not repeat your problem. You may also try to reupload the plugin correctly. Hope this worked for you.
Chemistry2004- Thank you for your generous offer. Your document helped tremendously! I'm just having two problems, and they relate to the same issue. You said that I wouldn't need to do a re-install of AMember - but that is causing some problems - I am using it for two sites (AHYRadio is my main one and online.snh.cc is the other - with AHYRadio being my original site that I configured AMember for, but online.snh.cc is the site I am integrating Moodle and AMember.) First - I am trying to protect a folder where I have some files (outside of Moodle - the folder is at http://online.snh.cc/files/) that I was hoping to protect using the Protect Files Folder in Amember. I go through the process without any problems, but when I try to go to that page it REDIRECTS me to http://www.ahyradio.com/files). Why is that? I removed the protection, so if you try to go there it will take you to the page. Why is this happening and is there a way around it? Second - on the last step of your document you teach how to set up the logout page. I already have the logout page set up for AHYRadio, so when I set this up it redirects members logging out to the AHYRadio logout page instead of the Moodle logout page. Is there any way to fix these two things or would it be better to do a re-install of AMember that I use exclusively for Moodle? Thanks- Ryan
Dear healthieryou, Sorry that you have problems. I understand amember works only from one site and it cannot protect or communicate with another site. (of course you can protect a subdomain). Therefore, if you have installed amember at online.snh.cc, it cannot communicate with ahyradio.com. You need to separately install in your other domain and configure it. You need to purchase separate license for that domain also. When I said that you need not reinstall amember, I meant for a situation that amember is already on and you need to start only moodle membership in the same domain and not on another domain. sorry if I had misled you. Sorry I could not fully understand your problem with moodle logout. By tweaking logout.php of moodle, you can logout of moodle and amember one after the another without any manual interaction. (other wise you need to logout separately once from moodle and then from amember). You need to redirect your logout to http://yourdomain/amember/logout.php. After logout from amember, it would redirect to the page you describe in Redirect URL in amember admin panel. I hope this helped you. Please do not hesitate to post your problem with moodle. In case you need help in installing contact me
Support is looking at it - they indicated that I could protect two domains - but not with new_rewrite - here is what they said: "This is because of amember can't protect another domain via new_rewrite method. You have to use htpasswd protection method." How do I contact you?
Dear healthieryou Just post your results when you get it done with support. That would help everybody.
Integration complete! I got everything integrated with aMember and Moodle - thanks to the great documentation from Chemistry2004 and support from aMember. I had to purchase a second license to use with the second domain and that fixed all the issues.