Moodle integration with wordpress

Moodle integration with wordpress

by murali manivel -
Number of replies: 6

Hi All,

I want show up moodle data in wordpress and need a common login for wordpress and moodle. Its possible or not. If possible means give me some idea.

Please help me.

 

 

 

 

Average of ratings: -
In reply to murali manivel

Re: Moodle integration with wordpress

by Colin Fraser -
Picture of Documentation writers Picture of Testers

Have a look at Shibboleth, that seems to be an answer but whether it is the one you want..don't know.

Might be better off turning WordPress into a plugin.

In reply to murali manivel

Re: Moodle integration with wordpress : Wordpress 2 Moodle

by Daneel Olivaw -

I've just find Wordpress 2 Moodle plugin at http://frumbert.org/
Works fine on WordPress 4.5 -> Moodle 2.4+

1. Wordpress plugin :

Go to this link : https://github.com/frumbert/wp2moodle--wordpress-and follow instructions:

Wordpress to Moodle pass through authentication plugin (wordpress end).
Takes the user that is logged onto wordpress and passes their details over to Moodle, enrols them and authenticates.

Note, you may need to rename the zip to be just 'wp2moodle.zip' before you upload the plugin to wordpress.

    1. Upload this to your wordpress (should end up being called /wp-content/plugins/wp2moodle/)
    2. Activate the plugin
    3. Click wp2moodle on the menu
    4. Set your moodle url (e.g. http://your-site.com/moodle/) and shared secret
    5. Use the moodle button on the editor to insert shortcodes around the text you want linked

Shortcode example

[wp2moodle class='my-class' cohort='course1' target='_blank']my link[/wpmoodle]

class: the css classname to apply to the link (default: wp2moodle)
target: the hyperlink target name to apply to the link (defaut: _self)
cohort: the name of the moodle cohort in which to enrol the user

Licence: GPL2, as per Moodle.
Author: TIm St.Clair (frumbert)
Download: https://github.com/frumbert/wp2moodle--wordpress-/archive/master.zip
Source:
https://github.com/frumbert/wp2moodle--wordpress-]

 2. Moodle plugin :

Go to this link : https://github.com/frumbert/wp2moodle--wordpress-and follow instructions:

Wordpress to Moodle pass through authentication plugin (moodle end). Takes the user that is logged onto wordpress and passes their details over to Moodle, enrols them and authenticates.

  1. Upload/extract this to your moodle/auth folder (should be called "/moodle/auth/wp2moodle/")
  2. Activate the plugin in the administration / authentication section
  3. Click settings and enter the same shared secret that you enter for the wp2moodle settings in Wordpress
  4. Disable any other authentication methods as required

Usage: You can not use this plugin directly;
it is launched by wp2moodle from within Wordpress.

Licence: GPL2, as per Moodle.
Author: TIm St.Clair (frumbert)
Download: https://github.com/frumbert/wp2moodle-moodle/archive/master.zip
Source:
https://github.com/frumbert/wp2moodle-moodle ]

Post attachement: Moodle+Wordpress "wp2moodle" plugins in rar compressed file (May 29, 2012 version).

In reply to Daneel Olivaw

Re: Moodle integration with wordpress : Wordpress 2 Moodle

by Mike Finney -

I do not want to assign them to a particular cohort, but would like them to simply go to "my courses". Is there a way I could adjust a setting to get it to do so? Thanks...