Moodle plugins directory: User favourites / favorite / bookmark | Moodle.org
User favourites / favorite / bookmark
Blocks ::: block_user_favorites
Maintained by Luuk Verhoeven, Gemma Lesterhuis
Marking Moodle pages as user favourites.
Latest release:
484 sites
137 downloads
36 fans
Current versions available: 3
Contributors
Luuk Verhoeven (Lead maintainer)
Gemma Lesterhuis
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.