{"id":22250,"date":"2013-02-28T14:22:01","date_gmt":"2013-02-28T14:22:01","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/moodle-course-list-widget\/"},"modified":"2013-02-28T15:58:05","modified_gmt":"2013-02-28T15:58:05","slug":"moodle-course-list-widget","status":"publish","type":"plugin","link":"https:\/\/lmo.wordpress.org\/plugins\/moodle-course-list-widget\/","author":24579,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"1.0","tested":"3.5.2","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"Moodle Course List with login","header_author":"Chris Kenniburg","header_description":"","assets_banners_color":"577d8a","last_updated":"2013-02-28 15:58:05","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/dearbornschools.org","rating":5,"author_block_rating":0,"active_installs":20,"downloads":6662,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0":"<p>Initial release.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"674591","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"674601","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"674601","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"674601","resolution":"3","location":"assets"}},"screenshots":{"1":"Places where you must change the code are highlighted","2":"Here is the widget settings the end user will see.  The can add a title to the widget and add the Moodle User Account that they want to display courses for.","3":"Frontend display of courses."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[5298,43963,21371,17280,162],"plugin_category":[43,47],"plugin_contributors":[88653],"plugin_business_model":[],"class_list":["post-22250","plugin","type-plugin","status-publish","hentry","plugin_tags-education","plugin_tags-k-12","plugin_tags-moodle","plugin_tags-schools","plugin_tags-widget","plugin_category-customization","plugin_category-education-and-support","plugin_contributors-kennibc","plugin_committers-kennibc"],"banners":{"banner":"https:\/\/ps.w.org\/moodle-course-list-widget\/assets\/banner-772x250.png?rev=674591","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/moodle-course-list-widget_577d8a.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/moodle-course-list-widget\/assets\/screenshot-1.png?rev=674601","caption":"Places where you must change the code are highlighted"},{"src":"https:\/\/ps.w.org\/moodle-course-list-widget\/assets\/screenshot-2.png?rev=674601","caption":"Here is the widget settings the end user will see.  The can add a title to the widget and add the Moodle User Account that they want to display courses for."},{"src":"https:\/\/ps.w.org\/moodle-course-list-widget\/assets\/screenshot-3.png?rev=674601","caption":"Frontend display of courses."}],"raw_content":"<!--section=description-->\n<p>This plugin will allow you to display a list of Moodle courses for a specific user of Moodle. This is ideal for teachers who use WordPress for public communication and Moodle for private classroom activities. This widget will allow the teacher to display a list of their courses so that parents and students can quickly navigate between WordPress and Moodle.<\/p>\n\n<p>This plugin is designed for use in larger institutions and must be configured by a web administrator. There are 3 places in the code where you must make changes to get this plugin working properly. Each place is clearly commented with \/\/CHANGE and an explanation of what needs to be changed.  Please see Installation for additional information on how to configure and install.<\/p>\n\n<p>To see the plugin in action please view http:\/\/iblog.dearbornschools.org\/webmaster<\/p>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<p>Install:\n1. Upload <code>moodle-courselist-widget.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory\n1. Activate the plugin through the 'Plugins' menu in WordPress\n1. Place the new Moodle Courselist widget into your theme's sidebar.<\/p>\n\n<p>IMPORTANT:  You will need to edit the code of this plugin in 3 places in order for this to work properly.  This will most likely involve a web administrator as you will need database connection settings for Moodle.  This plugin is designed for use by educational institutions.  Changes are clearly commented in the code with \/\/CHANGE.<\/p>\n\n<p>Here are the code changes you must edit:<\/p>\n\n<p>Line 35 (Your Moodle Site URL)- \naction=\"http:\/\/yourmoodlesiteurl.com\/login\/index.php<\/p>\n\n<p>Line 44 (Moodle Database Connection)- \nmysql_connect(\"localhost\",\"MySQLusername\",\"MYSQLpassword\");<\/p>\n\n<p>Line 76 (Your Moodle Site URL)- \n\"http:\/\/yourmoodlesiteurl.com\/course\/view.php?id='.$course-&gt;courseid.'\"<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>What version of Moodle and Wordpress is required?<\/dt>\n<dd><p>This plugin has been tested and approved for Moodle version 2.4 and Wordpress 3.5.   I am pretty sure it will work with any version of Wordpress 3+.<\/p><\/dd>\n<dt>I get a MySQL connection error.<\/dt>\n<dd><p>You have not properly edited the plugin code.  You must provide a connection to your Moodle database.  This should be a READ ONLY user account.<\/p><\/dd>\n<dt>I edited the code and still get an error.<\/dt>\n<dd><p>Most likely your database connection settings are incorrect.  Please recheck and verify you can connect using the user and password for MySQL.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<li>Display Moodle course List with direct links to courses.<\/li>\n<li>Checkbox Toggle display of Moodle login form below list of courses.<\/li>\n<\/ul>","raw_excerpt":"This plugin will allow you to display a list of Moodle courses for a specific user of Moodle.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/22250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=22250"}],"author":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kennibc"}],"wp:attachment":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=22250"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=22250"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=22250"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=22250"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=22250"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=22250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}