Recent Posts
- Block Badger 2.4 version
- Use of Block Badger
- Moodle 2.3 Block Badger Beta Version Released
- Badger: Simple Badge block
- Added git branch for Banners block for Moodle 2.4
- Banners block for moodle 2.3
- Quickstructure release for Moodle 2.0
- Share Dropbox block
- Are these customisations available?
- Quickcontent
Hi Iain! I suspect this is going to be brilliant! But my Moodle 2.3 complains “no database” against local/badger.
line 338 of /lib/ddl/database_manager.php: ddl_exception thrown
line 354 of /lib/ddl/database_manager.php: call to database_manager->load_xmldb_file()
line 779 of /lib/upgradelib.php: call to database_manager->install_from_xmldb_file()
line 360 of /lib/upgradelib.php: call to upgrade_plugins_blocks()
line 1524 of /lib/upgradelib.php: call to upgrade_plugins()
line 329 of /admin/index.php: call to upgrade_noncore()
Am I missing something or being dim? Sorry if so – really keen to play with this. (comment here, I’m tracking it – or find me at my website below)
Thanks,
Tim
At what point does the error occur – install? creating badge? or claiming badge? [I suspect the former, right]
Are you sure you installed the local_badger plugin to local/badger – as well as the block/badger code [you need both]
Ahhh cracked it! User (admin) error. Playing successfully now. thanks Iain.
I can add a block in a course page but can’t see the option to add to the front page. Am I missing something?
Are you using moodle 2.3? I’ve seen this when I briefly looked at 2.4 changes needed but the release is 2.3.
Yes I’m using 2.3.4 at the moment. Looking to upgrade soon.
Worked out the issue – add two fixes to github
Thanks. Another note: When I added to front page, no badges were shown until I added the “Optional” collection name. Seems it’s a requirement if on the front page?
Have you defined badges on the front page? The block will display badges defined in the host block – and in named collections.
[generally on the frontpage only the latter, using the block as a displayer, makes sense [I think]
Actually yeah that makes more sense. Otherwise there could be LOTS of badges on the front if each course implements them.
Yeah – originally, we had all the badges appearing in every badger block instance, but we found that the block quickly became cluttered. Many badges may only be used as an internal course reward.
The ‘collection’ feature allows some control of how to display the more important badges and where.
OK getting there – I can create a badge, add it to a course, make it appear on completion of other activities – brilliant! Then, when I try to claim the badge I get stuck:
Learner views badge on Moodle course, clicks (png) to claim
Mozilla backpack appears
Sign in to backpack using Persona
Backpack says: “We have encountered the following problem: badge assertion appears to be invalid”
Problem happens with both Firefox and Chrome (both latest versions).
Any ideas?
Thanks very much as always,
Tim
The email address in moodle (mdl_user email field) for the logged in user needs to match the backpack email address … [i.e. if you are logged in a student - you can't push it to *your* badge pack - and you probably can't push it to the student's badge pack unless you've registered that in Mozilla and are logged into it].
Your best bet for testing is to either push to your badgepack – or to find a student to help you test.
Hopefully that’s the problem- otherwise it’s going to be more tricky to debug remotely for you …
Hi Tim, did you manage to get the badge pushing to work for you?
Hi Iain, thanks for checking. I’ve been immersed in other projects these last few days so haven’t had a chance to test yet, but it’s likely that’s the problem so yes, thanks! I’ll let you know if I get stuck anywhere else.
Hi Iain, just wondering if you’ve had time to get to the 2.4 update? We are keen to try out your badges! Thanks Sheila
The master version on github should work on 2.4 [to the best of my knowledge]
If it doesn’t let me know what problems you encounter [always install to a test server first]