Quantcast
Channel: Authentication
Viewing all articles
Browse latest Browse all 8256

Re: Integrate wordpress and moodle

$
0
0
by kushal mehta.  

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. Upload this to your wordpress (should end up being called /wp-content/plugins/wp2moodle/) Activate the plugin Click wp2moodle on the menu Set your moodle url (e.g. http://your-site.com/moodle/) and shared secret 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. 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.


Viewing all articles
Browse latest Browse all 8256

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>