MoodleDoc

Life on the edge of the moodleverse

Moodle 2.3 Block Badger Beta Version Released

I’ve released a first version of block badger – now looking for willing testers and feedback …

Note that to install you need both

Advertisements

17 responses to “Moodle 2.3 Block Badger Beta Version Released

  1. Tim Newham 01/02/2013 at 02:20

    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

    • drcheckers 01/02/2013 at 03:08

      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]

  2. Graham 02/02/2013 at 21:17

    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?

    • drcheckers 02/02/2013 at 21:40

      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.

      • Graham 03/02/2013 at 01:28

        Yes I’m using 2.3.4 at the moment. Looking to upgrade soon.

      • drcheckers 03/02/2013 at 05:11

        Worked out the issue – add two fixes to github

      • Graham 03/02/2013 at 05:27

        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?

      • drcheckers 03/02/2013 at 06:02

        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]

      • Graham 03/02/2013 at 06:17

        Actually yeah that makes more sense. Otherwise there could be LOTS of badges on the front if each course implements them.

      • drcheckers 03/02/2013 at 07:34

        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.

  3. Tim Newham 02/02/2013 at 22:15

    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

    • drcheckers 02/02/2013 at 22:40

      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 …

      • drcheckers 04/02/2013 at 23:25

        Hi Tim, did you manage to get the badge pushing to work for you?

      • Tim Newham 05/02/2013 at 03:30

        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.

  4. Sheila Stamp 15/03/2013 at 11:28

    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

    • drcheckers 15/03/2013 at 11:56

      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]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: