Blocks: Stash

block_stash
Maintained by Picture of Adrian GreeveAdrian Greeve, Picture of Frédéric Massart ⭐Frédéric Massart ⭐
Add an inventory of items to your course and let your students find items by exploring the activities. #game #gamification
953 sites
372 downloads
78 fans
Moodle 2.9, 3.0, 3.1, 3.2, 3.3, 3.4

The stash block is a good way to encourage more interaction with activities and is invaluable for teachers looking to gamify their course.

This plugin introduces a block that shows students items that they have picked up through the course.

The teacher can create items and then place them in activities and resources for students to find.

Items can be set to be collected once and encourages exploration of the course material. It is also possible to set an item to have an unlimited supply from a set location. This could encourage  students to return to specific areas to collect more items. 


You can also check out this video:


Quick start


We've crafted a sample course for you to try, it is the best way to see what this plugin has to offer. Please accurately follow those steps:

1/ Get your hands on a Moodle installation
2/ Install the three following plugins (without exception)
3/ Enable conditional access, named enableavailability under "Site administration > Advanced features"
4/ Restore this backup file as a new course

5/ Enrol a student in the new course
6/
Now, login as that student and try the course

Important note

In order to make this plugin easier to use and fully featured, please also install:

They are highly recommended.

Sets

This plugin is part of sets Stash, Gamification.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5
Screenshot #6

Contributors

Picture of Adrian Greeve
Adrian Greeve (Lead maintainer)
Picture of Frédéric Massart ⭐
Frédéric Massart ⭐: (The real lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Carly Born
    Wed, Jun 19, 2019, 12:31 AM
    I'm wondering if it's possible to configure a Stash item to be steal-able?
  • Picture of Xavier Mas
    Wed, Jun 19, 2019, 3:54 PM
    Hello, firtsly I would like to congratulate your team about this fantastic plugin. I am the IT coordinator of the school and we were thinking of updating the moodle to the newest version 3.7. Do you have any plans of updating this plugin and its extensions to the last moodle update
    ? Thank you very muc
  • Picture of Adrian Greeve
    Fri, Jul 5, 2019, 1:48 PM
    Hello Xavier, I have just updated the details about these plugins. They are 3.7 ready.
  • Picture of Thanakrit Vichasilp
    Thu, Nov 28, 2019, 12:09 PM
    Hello, I got this message "Exception - Class 'block_stash\invalid_persistent_exception' not found" on the front page.

    How to fix it? Thanks.
  • Picture of Adrian Greeve
    Thu, Nov 28, 2019, 3:11 PM
    Hello Thanakrit,

    Thank you for the bug report. We will have a new version by the end of this week with a fix for this message. Unfortunately I think that this message hides a deeper issue that we are unaware of at the moment. Can you tell us what message you get once you have upgraded to the new version?

    If you have access to the code then you can make the changes listed here - https://github.com/FMCorz/moodle-block_stash/commit/0d4fe778bf157237a1e34d1130eb16e4d42d49a5
  • Picture of Paul Martin
    Tue, Jun 16, 2020, 10:45 PM
    When upgrading to v1.3.3, I'm receiving the following error:

    Debug info: Unknown column 'i.amountlimit' in 'field list'
    SELECT i.id AS itemid, i.stashid AS itemstashid, i.name AS itemname, i.maxnumber AS itemmaxnumber, i.detail AS itemdetail, i.detailformat AS itemdetailformat, i.amountlimit AS itemamountlimit, i.currentamount AS itemcurrentamount, i.timecreated AS itemtimecreated, i.timemodified AS itemtimemodified, ui.id AS useritemid, ui.itemid AS useritemitemid, ui.userid AS useritemuserid, ui.quantity AS useritemquantity, ui.timecreated AS useritemtimecreated, ui.timemodified AS useritemtimemodified
    FROM mdl_block_stash_user_items ui
    JOIN mdl_block_stash_items i
    ON i.id = ui.itemid
    WHERE ui.userid = ?
    AND i.stashid = ? AND ui.quantity IS NOT NULL
    [array (
    0 => '49034',
    1 => '30',
    )]

    The course is 100% inaccessible, with an "Error reading fro database" message". I'm running the latest Moodle v3.8.3+ and the latest (apparently?) version of Stash. Any assistance is appreciated.
  • Picture of Adrian Greeve
    Wed, Jun 17, 2020, 9:20 AM
    Hello Paul Martin,
    Were you using version 1.3.1 or earlier before upgrading to 1.3.3? I suspect that after uploading stash to the latest version, that the site hasn't run the upgrade code and that is why you are seeing this error. Please log in as the administrator (or contact the administrator) and kick off the site upgrade.

    Please let me know if that hasn't fixed your problem.
  • Picture of Soporte Creatic
    Sat, Aug 22, 2020, 5:45 AM
    Hello Mr. Greeve

    Your plugin is awesome, adds an interesting gamification to the courses, but now we have a problem, on a test course of our Moodle 3.8 platform. After a student pick-ups all the items, the items don't appear for other students and our admin account, only after change the config of limited item, then appear again.
  • Picture of Felipe Prevelato
    Fri, Sep 25, 2020, 7:52 PM
    Hi, after installing and enabling i cant seem to find it... i cant add the block nor can i configure/add items... any hint/help?
  • Picture of Marta Rybka
    Tue, Oct 27, 2020, 6:47 PM
    Hi, after trying to add the block to a course, I got the error: 'The stash is not enabled. Was the block added to the course?'. How do I solve this issue? Stash block and availability stash were enabled.
  • Picture of Xochitl CP
    Fri, Jan 8, 2021, 6:49 AM
    Hi, excuse me, may be it's so simple, but i'm using stash into a simple page, i put the code [stashdrop secret="lEpBwF" text="Pick up!" image] into the content (i tried both, content and description), but when I click on the button, nothing happens. I don´t know what to do. Please help me.
  • Picture of Adrian Greeve
    Fri, Jan 8, 2021, 8:50 AM
    Hello Xochitl CP.
    The only thing that I can think of that would result in the above code not being changed is that the filter has been disabled. As an administrator go to Site administration > Plugins > Filters > Manage filters - and check that "Shortcodes" is active.

    Can you also describe what a simple page is? Does it have an editor when you are adding text to it? Is block_stash working in other areas?
  • Picture of Xochitl CP
    Fri, Jan 8, 2021, 10:36 AM
    Hi again, I checked the filters and "shortcodes" is active. A simple page is a page created with moodle with text into a

    . I just copy and paste the code into the page. This is my first block_stash. :'(. The page is available when I mark a lesson as finished. So, it suppossed that student gets in and take the reward. That's all. Is the code right? I saw in the video other instructions in javascript.

  • Picture of Joseph Liaw
    Fri, Jan 8, 2021, 10:46 AM
    Hi Oxchitl:

    Which theme are you using? If you are using Snap, because of the unique way it shows pages in-line, the Stash filter isn't active on the main course page. If you manually create a link to the page (e.g. "Enter HERE to pick up treasure!" and create a hyperlink to the page), then students can pick up the Stash item since the shortcode filter can parse the code.

    Hope that helps.
  • Picture of Xochitl Clemente
    Fri, Jan 8, 2021, 12:04 PM
    You were right. It is the theme. I followed your advice. It works. Thank you so much.
1 2 3 4 5 6 7
Please login to post comments