Moodle
-
Good morning/evening
At the moment, WordPress, BuddyPress, and MediaWiki are integrated on a site while Moodle sits in a directory all by itself. Does anyone have any experience integrating buddypress and moodle? I suspect it would start at the user/registration level but maybe there is a way to get a deeper integration.
Any suggestions?
Past Discussions
On the moodle forum: http://moodle.org/mod/forum/discuss.php?d=130658 (login guest if you don’t have an account)On here: http://buddypress.org/community/groups/miscellaneous/forum/topic/bp-in-education/
-
I tried to install this:
http://moodle.schoolsict.net/2010/04/21/db-authentication-with-phpass-integrating-wordpress/
Unfortunately, it doesn’t seem to be working
OK. This is what I’ve learned so far ..
WP is using phpass instead of MD5 hash.
Moodle is using MD5 hash plus saltThe phpass authentication written by schoolsict built the views incorrectly. I’ve fixed the views and am now working on the php. I’ve discovered you cannot simply rename auth/db to something like auth/db-orig and upload the new /auth/db files … you get blank pages.
And that’s it – it still doesn’t work – yet – but I’ve made progress… (sort of)
this might interest you http://sushkov.wordpress.com/2010/04/04/scholarpress-buddypress/
@Windhamdavid – yes – I’ve seen scholarpress and installed it.
OK – this is my progress. I can now get the WP ID and password recognized and logged into Moodle. The challenge now is the loop of “There are required fields in this form marked” because email and City are blank. When I update those two fields, the error remains that the two fields need updating .. LOL.
Oh – so close – yet – so far
In the words of an excited person
Oh Yes! It works.
1. There were some lines in /user/editlib.php that needed to be commented out as well as in edit_form.php
2. Setting for user is “Student” and not the default “authenticated”It is very exciting to know that students in August will be able to register in WordPress and immediately have access to the MediaWiki and Moodle … fantastic!
Would you be willing to share what you have done. Are you using one database for user information? Is this a single sign-on type of solution where all of the cookies are created on login? I’m not much of a programmer, but very stubborn so I’ll stick at something until I figure it out if it is within my skill set so I would appreciate any pointers you could give. Thanks.
Happy to help. I’ll try to give a little detail of the gotchas.
1. Go to http://moodle.schoolsict.net/2010/04/21/db-authentication-with-phpass-integrating-wordpress/ and read their directions. Download their files.
2. Backup your files and database
3. Upload the /auth/db files you downloaded from schoolsict
4. Go to phpmyadmin and create the views provided by schoolsict: now here is the trick. They wanted mdl_firstname2 to be created .. and this didn’t work for me. Instead, I changed all of the “xxx2” to “xxx” and after the 4 views are created then you’ll want to verify that the data are showing in the views.
5. Go to your moodle install, login, and follow the directions on schoolsict to setup the external database.
6. Modify /user/editlib.php and comment out city/county $mforms around lines 198 and 204 …
7. Change the Moodle settings for users to “student” and not “authenticated”
Test, test, and retest.
Hope this helps.
The new BuddyPress Courseware I’m working on, will kick ass, I wouldn’t even bother testing moodle
All I really want that WordPress/Buddypress doesn’t do now is a gradebook that will take grades from SCORM or other learning modules. Will BuddyPress Courseware do that? When do you expect a testing version will be available? As an aside I’m also waiting for the latest Scriblio so that the whole setup will include a library and extensive reading program as well; how will their be an API that will allow other plugins to include their data in the gradebook (I think I remember reading that you were going to include one). Looking forward to Courseware.
The new BuddyPress Courseware I’m working on, will kick ass, I wouldn’t even bother testing moodle
I look forward to your plugin. Moodle was adopted by our school district last year. Best wishes on your plugin and hope that it is better than Moodle, because it takes a long time to tweak it. Let me know if you ever want someone to help test it for you or give you feature feedback.
@LPH2005 Sorry, I completely forgot to say thanks the other day. I’ll have a look at what you did. Hopefully I can get rid of moodle and use WordPress / Buddypress for everything. Moodle is such a pain to customize and even then it still looks like moodle.
@Jalien – no problem. I’m a complete novice – even after 15 + years I make huge mistakes and have to squint at the screen for long hours to figure out why something isn’t working
@Jalien, gradebook should be ready in a week or so. The idea is to use BuddyPress forums as a platform for students solutions postings, and implement a grading system above it. All the data later will be pulled into main Courseware dashboard.
A testing version is available now, but it has no gradebook so far, and will require UI/UX work. A final version is scheduled at the end of my gsoc period, which is end of this summer.
Basically the API approach I’m using is the same as in WordPress: Actions and Filters. The component will be full of hooks so extending it should be a snap.
Here’s the initial list of features: http://gsoc2010.wordpress.com/stas-suscov-academic-suite/
@LPH2005 The code on svn works and allows creating courses, adding assignments and bibliographies to it. Untill monday there will schedules support too.
People ask how can they install and test…@sushkov I’ll be testing it out, too and thanks for being so helpful over here in addition to your gsoc work. One thing I will look to do is to enable this feature set in some groups, but not others / noroc
Thanks a lot, I’ll be checking more often this thread from now on. Looking forward for your feedback @brianglanz
@Jalien, I committed Gradebook component in latest svn revision. You might want to take a look.
Create an assignment and you should have access to its gradebook instantly.@LPH2005 the per group option was added into 0.1 release.
https://buddypress.org/community/groups/buddypress-courseware/
@Jalien – not sure just how I missed your request before. If you need to use SCORM (and not everyone does/should), we released a plug-in a month or so ago that does just that. It allows you to use our SCORM Cloud product directly in WordPress and it’s BuddyPress compatible. You can see an example of it in BuddyPress on my testing blog – http://susanvillaslewis.com/scormtesting/ – although you have to be registered user to see the courses. More at http://scorm.com/wordpress
- The topic ‘Moodle’ is closed to new replies.