Moodle plugins directory: Stash | Moodle.org
Stash
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:
2/ Install the three following plugins (without exception)
- This plugin (block_stash)
- The availability plugin (availability_stash)
- The filter plugin (filter_shortcodes)
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:- The availability plugin (availability_stash)
- The filter plugin (filter_shortcodes)
- NEW! The tinyMCE plugin (tiny_stash) -- Greatly improves the experience of creating and inserting items and trades.
They are highly recommended.
Thanks,
I am not a developer but isn't the problem that the query is asking for a column that doesn't exist - not that there is a column that shouldn't be there?
I uninstalled Stash and verified that all files were deleted and all tables removed from the database. When I reinstalled, the same problems occurred.
Meanwhile, if you're comfortable opening PHP files, could you please try to comment the following highlighted line 193 (in classes/persistent.php):
https://github.com/abgreeve/moodle-block_stash/blob/master/classes/persistent.php#L193
I got the plugin zip file from moodle.org/plugins this morning. Here are the software versions I am using:
Moodle 4.1.1+ (Build: 20230210)
Stash 1.3.4 (Build: 2022042100)
PHP Version 8.1.12
Please note that Moodle does not currently support php version 8.1 (see MDL-73016) and so you are likely to find other errors running Moodle as well.
If you want me to run any more tests I would be happy to do so.
Thanks again.
My students have a lot of fun collecting items and "buying" some additional stuff in the shop using the collected items.
Our students have now expressed the wish that collected objects or objects purchased in the store can be given to other students.
In our courses, for example, you can buy a virtual cup of cappuccino with collected coins. At the end of the course, students wanted to invite each other for coffee and cake or even a beer.
It would be great if this function could be integrated.
However, there would have to be the ability to set whether the item can be given away or not - so that things can't be given away that each student should actually work out for him/herself.
as far as i know, giving items to each other is not possible among students at the moment. if it is, i would be very happy to know how to do it.
thanks a lot!
Bemi
I do actually have a proof of concept for students trading with each other, but I'm not happy with the user experience for it, and I think that I still have race conditions that need to be ironed, out to avoid both students getting the item (rather than a trade). Does anyone else like the idea of students being able to trade with each other? How would it work?
Brilliant plugin for gamification, and adding in once you added in the ability to make "rare" items (e.g. only 2 Golden Unicorns in the class--be the first to find one!) made it even more fun!
For the trade idea, very cool idea! Perhaps you could set it up for what students do in fantasy league sports for basketball, baseball, football, etc.--a trade proposal is sent to both students (usually a notification or email), and just like the interface you used for doing Stash trades, the Trade / Swap proposal only goes through if both parties accept the trade!
Just an idea....thanks again for sharing your brilliant work for gamification with the Moodle community!
Is there a way to fetch different stash images based on a user's score? I tried using JavaScript to set up conditions and call a different stash for a range of scores (ie. score > 89 & score < 95 then show stash image). But I can't find a way to use the stash call inside of a JavaScript condition.
It's possible make that the student lost an object if fail an activity?
Thanks in advanced.
Best regards