Re: Open Badges in Moodle core?

Re: Open Badges in Moodle core?

Mark Aberdour發表於
Number of replies: 15

Hi there Simon,

We are downloading the code from Github today so am looking forward to having a play. Well done on your progress with this exciting project 微笑

Please can you let us know what the plan is for getting the openbadges code into Moodle? Is it planned for any specific roadmap release?

Until then any users will be reliant on maintaining a build of Moodle based on your own Github download, rather than an official Moodle release, so once you have finalised the implementation to a production-ready version, this will become pretty crucial to anyone considering implementing this.

Maybe it's a question for HQ rather than yourself, but I'd be really grateful for any insight into merging it into a formal Moodle release.

Thanks very much 微笑
Mark

評比平均分數: -
In reply to Mark Aberdour

Re: Open Badges and Moodle

Simon Coggins發表於

Hi Mark,

Ideally we would like to get open badges into 2.5 and we plan on pushing it to integration review quite soon (we are just tidying up some loose ends). Whether that is possible or not depends on what issues or changes are required by HQ. The feature freeze, we have just found out, has moved forward by three weeks to 1st April which makes it a bit less likely now but we will try. If it doesn't make it in 2.5 obviously we would go for 2.6 instead.

Yes maintaining a moodle based on our github would be a problem, which is why I'd suggest treating the code as alpha (testing only) until we manage to get it into core. If you absolutely can't wait, probably the best approach would be to squash all the open badges commits into a single patch, then create a branch off the moodle repo and merge it into that. Of course you'd have to deal with any merge conflicts yourself but you would be able to control updates from upstream too.

Simon

 

In reply to Simon Coggins

Re: Open Badges and Moodle

Richard Bakos發表於

I am VERY interested in this project. Our company is looking to build a reputation (badge) system for a Dementia course. At first we were looking at the possibility of building our own by modifying the activity tracker to display different badge images instead of the check-marks that appear on completion of an activity... But this looks a lot more promising and robust... Unfortunately, the deadline for this current project doesn't afford us the time of an official integration into 2.5 or 2.6 we need to have this badge system presentable (not necissarily 100% finished) to the client in a stable version of moodle in one months time. 

So now, me and the rest of the development team are faced with the question of, 'Do we forge ahead and build upon the openbadges approach that has already been started here: https://github.com/totara/openbadges/ or should we go with our original idea of building our own custom activity tracker and morph it into a custom badge system?'

I'd like to get the communities opinion on what would be the more time effective approach.

Can moodle openbadges, as it is so far, be brought into the stable 2.4 version? If so, what steps would one need to take to do that?

Any help is greatly appreciated!

 

In reply to Richard Bakos

Re: Open Badges and Moodle

Simon Coggins發表於

It should be possible to backport our work to 2.4. You would need to use a version control system to generate a diff between our code and the version of Moodle it is based on. You could then apply that against a stable Moodle release (fixing any conflicts due to changes to Moodle between 2.4 and 2.5). I don't think it would be too hard since most of the badges code is independent from Moodle.

The advantage of backporting is that you would avoid having to build something for yourself, and would get any ongoing updates and bug fixes for free. You could also contribute back any bug fixes or improvements you make. On the down side, if we have to make any significant changes to get our code into Moodle you may have some work to merge your branch with the new version when it eventually makes it into Moodle.

Hope that helps,

Simon

In reply to Simon Coggins

Re: Open Badges and Moodle

William Mair發表於

Simon,

How many changes to core would have to be made for it to plugin?

We are planning on running a pilot for the next couple of months for Open Badges within Moodle and then probably roll out 2.5 in the summer.

Given the hassle we've had getting people on board before now, I'd prefer if we were using the same tools now, as after the summer.

Thanks

In reply to William Mair

Re: Open Badges and Moodle

Simon Coggins發表於

As I said above, backporting to 2.4 (or earlier) wouldn't be that hard for a developer, in fact we have already done it to allow us to put Open Badges into Totara 2.4.

I wouldn't suggest modifying the code to be a Moodle plugin, you'd need to make quite a few changes to things like language strings (which are scatters all through the code) and they undo them when you move to 2.5 in the summer.

Simon

In reply to Simon Coggins

Re: Open Badges and Moodle

William Mair發表於

Simon,

I've managed to get the badges added/imported on 2.3 and all appears as if it would work well, but the image filepicker/dnd does not work (just sticks on trying to load) .

Can you point me in the direction of where I need to change the code within badges to use the old filepicker code rather than the new one?

Thanks

In reply to William Mair

Re: Open Badges and Moodle

Simon Coggins發表於

Hi William,

Sorry I'm not sure, I can't think of any significant changes to the filepicker in 2.4 or 2.5. Maybe you can find something in the API changes log:

http://docs.moodle.org/dev/Moodle_2.4_release_notes#For_developers:_API_changes

http://docs.moodle.org/dev/Moodle_2.5_release_notes#API_changes

Simon

In reply to Simon Coggins

Re: Open Badges and Moodle

William Mair發表於

Just found that this only happens in the newbadge.php page, but not the edit.php, which works fine (I added an entry directly to the database to see what would happen re: the image).

Any suggestions?

In reply to William Mair

Re: Open Badges and Moodle

Elizabeth Dalton發表於

I would be interested in duplicating what you've done so far... could your badge implementation be bundled up as a patch, perhaps? I'd like to try applying it to a test server on either 2.3 or 2.4.

In reply to Elizabeth Dalton

Re: Open Badges and Moodle

Pohit Sharma發表於

HI All,

 

I want to integrate open badges in my moodle 1.9. Is that possible to integrate with moodle. If yes then please let me know the process how I can do that.

Thanks in advance

In reply to Pohit Sharma

Re: Open Badges and Moodle

Mary Cooch發表於
Documentation writers的相片 Moodle HQ的相片 Particularly helpful Moodlers的相片 Testers的相片 Translators的相片

Hi Pohit. I'm not a coder but I don't think it is possible to integrate Open Badges with Moodle 1.9 - which is a very old and no longer supported version. But let's see if others have any ideas.

In reply to Pohit Sharma

Re: Open Badges and Moodle

Yuliya Bozhko發表於

Hi Pohit,

I managed to successfully backport badges to Moodle 2.4 only. I am not sure how difficult it would be in such an old Moodle version. It is definitely not something I would recommend...

Yuliya

In reply to Yuliya Bozhko

Re: Open Badges and Moodle

Pohit Sharma發表於

Hi all,

 Thanks for your reply. I can not upgrade my moodle 1.9 with latest version. Is there any hack which I can use on my moodle version with some modifications.

My basic need is that I have a 3D simulation gamification and here I created my custom badges. There are 8 badges for 8 level. Once the user will get the level 8 badge. I want to share it on Mozilla Open Badges.

Thanks again for your help.