CMS integrations: WordPress, BuddyPress, Moodle Integration

CMS integrations: WordPress, BuddyPress, Moodle Integration

by Layne Heiny -
Number of replies: 9
Hello,

I've done several searches using google and this site to try to find the best way to integrate WP and Moodle, such that people register and login under WP and automatically have an account on Moodle

Site structure
--------------

WP is in the root
Moodle is in a directory /classroom
MediaWiki is in /wiki

/wp-admin
/wp-content
/wp-includes
/wiki
/classroom

MediaWiki tied to WP
--------------------

I have MediaWiki login working via cookies and extension so that someone logs into WP and they are automatically logged into MediaWiki - and that is how I wish for Moodle to operate.

Links
-----

I've seen people using moodle to login and this creates the user in WP but I'm interested in going the other way around... WP login created at WP.

I tried the following:

http://moodle.schoolsict.net/2010/04/21/db-authentication-with-phpass-integrating-wordpress/

Unfortunately the sql errored and when I tried my own modifications, I can get the user table loaded ... however ... creation of a new account in WP does not create a user in the moodle. Something strange happening on this one.

So, does anyone know of a module? Any suggestions? Anyone care to take on the task and help out?

SiteURL: www.thechembook.com
Average of ratings: -
In reply to Layne Heiny

Re: CMS integrations: WordPress, BuddyPress, Moodle Integration

by Layne Heiny -
Update

I was able to get this to almost work. The problem now is that there are two "required" fields that I don't want students to have to complete.

In using Google and search here - I can't find a solution as to how to change "required" fields to not required.

It would seem such a simple idea that an admin might want certain fields required and others not required that I'm surprised it isn't in Moodle already. Regardless, the login is now in a loop, constantly returning to wanting the required fields completed - even though information is put into the database.
In reply to Layne Heiny

Re: CMS integrations: WordPress, BuddyPress, Moodle Integration

by Layne Heiny -
Lines in editlib.php were commented out for city and country. This now works properly.

If anyone trips over this thread and is trying to do this same thing - then - feel free to contact me at www.thechembook.com

In reply to Layne Heiny

Re: CMS integrations: WordPress, BuddyPress, Moodle Integration

by Matthew Cline -
I would love to know how you did this. I am trying to pull of something similar for a music site I am creating. Could you please post instructions here or email me (matthew.t.cline@gmail.com). Thanks!
In reply to Layne Heiny

Re: CMS integrations: WordPress, BuddyPress, Moodle Integration

by Bob Puffer -
Sorry, couldn't get your contact form to work properly. Would be very interested in how this was done as will many others, I'm sure. puffro01@luther.edu
In reply to Layne Heiny

Re: CMS integrations: WordPress, BuddyPress, Moodle Integration

by Melissa Benson -
Where is documentation of a user signing into moodle and it creating an account (and SSO?) in Wordpress?

I'm very interested in Moodle/WPMU/Wiki integration...

mebenson at gmail.com
In reply to Layne Heiny

Re: CMS integrations: WordPress, BuddyPress, Moodle Integration

by rocky teng -

hi layne, thanks for your solution,

i tried it out according

http://moodle.schoolsict.net/2010/04/21/db-authentication-with-phpass-integrating-wordpress/

when i created a user in wordpress and logged in ,

but when i login moodle,it is not sso.

i have to login in moodle with the same username and password again.

did you successed with sso?

thanks in advance.

Rocky

In reply to Layne Heiny

Re: CMS integrations: WordPress, BuddyPress, Moodle Integration

by emerson loustau -

I'm trying to do exactly what's being discussed in this thread, but the link to the tutorial everyone's referencing is broken (oh no!).

Can anyone shed some light on how to allow WP users to log in to the moodle course (with their WP credentials)?

In reply to emerson loustau

Re: CMS integrations: WordPress, BuddyPress, Moodle Integration

by Julie Grundy -

I came across references to this broken page so often it really spiked my curiosity. I used the Wayback Machine to see what used to be there: http://web.archive.org/web/20100726061842/http://moodle.schoolsict.net/2010/04/21/db-authentication-with-phpass-integrating-wordpress/

Basically, it was a Moodle plugin called DB Authentication with PHPass, which added an option to use PHPass encryption to the standard encryption choices in the External DB settings page. Choosing that would allow you to set Wordpress as the External Database.

In reply to Layne Heiny

Re: CMS integrations: WordPress, BuddyPress, Moodle Integration

by Chris Kenniburg -
Picture of Particularly helpful Moodlers Picture of Plugin developers

Have you given a try with Joomla and Moodle?  There is a plugin called http://www.joomdle.com/en/ which can work to fully integrate moodle with Joomla.  I did this in a test environment last year.

If you want the social aspects of Buddypress, you can go a step further with Joomla and the plugin called Jomsocial.  http://www.jomsocial.com

Joomla would be my preferred choice to be a starting point or frontend for your social/learning network.  Using Joomdle you can also display the courses withing Joomla that the user is either teaching or enrolled in.  It is a pretty robust integration which is more than just sign on.    

Currently we use Joomla, multisite wordpress/buddypress, moodle, bigbluebutton, etherpad, and a few other open source projects to manage a growing K-12 learning platform.  

We integrate all logins with LDAP.  

Just check out the demo:  http://www.joomdle.com/jdemo/