Moodle block for marking your favourite pages as bookmarks
In brief, the MFreak block user_favorites
gives the user a method to mark pages as favorite.
Special thanks to Gemma Lesterhuis (Lesterhuis Training & Consultancy) for develop & design, useful input, bug reports and beta testing
Screens
List of features
- Using external AJAX requests for saving and loading user favourites.
- Using mustache templates.
- Fast and easy to work with.
- Marks current page in favorites if exists.
- *new 2023* Sorting bookmarks
Installation
- Copy this plugin to the
blocks\user_favorites
folder on the server
- Login as administrator
- Go to Site Administrator > Notification
- Install the plugin
Security
If you discover any security related issues, please email servicedesk@ltnc.nl instead of using the issue tracker.
License
The GNU GENERAL PUBLIC LICENSE. Please see License File for more information.
Bug fixes, support and new features
This plugin is being supported by customers of LT&C. In order to keep the plugin update we relay on these contributies.
If you are seeking support, bug fixes or want to add new features, please contact
sales@ltnc.nl for more information.
If you are seeking 'free' support, please use the
Moodle.org Blocks forum to seek support from the Moodle LMS community.
Contributing
Contributions are welcome and will be fully credited. We accept contributions via Pull Requests on Github.
Contributors
Please login to view contributors details and/or to contact them
This looks a great plugin. I am wanting to connect it with some custom sql - where exactly does a user's favourite list get stored?
thanks
Ken
This information is stored in `mdl_user_preferences` with the name "user_favorites" the data is a serialized array.
Cheers, Luuk
Ken
You can add this request to GitHub issue tracker https://github.com/MFreakNL/moodle-block-user_favorites/issues
Greets, Luuk
Yes, you should add it manual to each course. It's a normal block instance.
You can make it a default course block see this comment:
https://moodle.org/mod/forum/discuss.php?d=363912#p1467851
@Fabian the block is not ready for the Moodle Mobile App, I am actually not sure if it would really work properly. You are always free to make changes to the block and push it back to the community. You could find more information on how to make it work on the Moodle website, by example: https://docs.moodle.org/dev/Mobile_support_for_plugins
Debug info:
Error code: generalexceptionmessage
Stack trace:
line 81 of /blocks/user_bookmarks/block_user_bookmarks.php: Error thrown
line 478 of /blocks/moodleblock.class.php: call to block_user_bookmarks->specialization()
line 2091 of /lib/blocklib.php: call to block_base->_load_instance()
line 1097 of /lib/blocklib.php: call to block_instance()
line 1258 of /lib/blocklib.php: call to block_manager->create_block_instances()
line 1145 of /lib/blocklib.php: call to block_manager->ensure_instances_exist()
line 1649 of /lib/pagelib.php: call to block_manager->create_all_block_instances()
line 1110 of /lib/pagelib.php: call to moodle_page->starting_output()
line 1391 of /lib/outputrenderers.php: call to moodle_page->set_state()
line 121 of /index.php: call to core_renderer->header()
I have removed the User Bookmarks block from all tabs and now it is fine. It seems that this is the problem creating the error.