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.
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.
Hi there the external database login method could possible do what you need... External_database_authentication
Jon
Thanks for your reply
I got some idea from the following url:
http://blog.giuseppeurso.net/moodle-and-wordpress-single-sign-on-in-20-minutes-part-1/index.html
Thanks
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.
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.
- Upload/extract this to your moodle/auth folder (should be called "/moodle/auth/wp2moodle/")
- Activate the plugin in the administration / authentication section
- Click settings and enter the same shared secret that you enter for the wp2moodle settings in Wordpress
- 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).
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...
I'd also be very interested in this