User favourites / favorite / bookmark

Blocks ::: block_user_favorites
Maintained by Luuk VerhoevenLuuk Verhoeven, Gemma Lesterhuis
Marking Moodle pages as user favourites.
Latest release:
484 sites
36 fans
Current versions available: 3


Screenshot #0


Luuk Verhoeven
Luuk Verhoeven (Lead maintainer)
Gemma Lesterhuis
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Plugins bot
    Sun, Oct 28, 2018, 10:50 PM
    Approval issue created: CONTRIB-7495
  • Ken Farrimond
    Sat, Feb 2, 2019, 9:50 AM
    Hi Luuk
    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?
  • Luuk Verhoeven
    Sat, Feb 2, 2019, 4:59 PM
    Hi Ken,
    This information is stored in `mdl_user_preferences` with the name "user_favorites" the data is a serialized array.
    Cheers, Luuk

  • Ken Farrimond
    Sat, Feb 2, 2019, 9:59 PM
    Many thanks, I had looked in numerous places, but not there.

  • Dnyaneshwar Somwanshi
    Tue, Oct 8, 2019, 1:36 PM
    gr8 plugin. do you have plan to add mobile support to this feature? thanks. thanks.
  • Luuk Verhoeven
    Sat, Oct 12, 2019, 6:49 PM
    Hi Dnyaneshwar, there are no plans for now to build mobile support.
    You can add this request to GitHub issue tracker

    Greets, Luuk
  • Carlos Kiyan Tsunami
    Wed, Jan 8, 2020, 9:10 PM
    hello, can you add this block to all the pages of your moodle site. Do I have to manually enable on each course?
  • Luuk Verhoeven
    Sat, Jan 11, 2020, 10:11 PM
    Hi Carlos,

    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:
  • Richard Newton
    Sat, Oct 3, 2020, 12:13 AM
    Do you know if there's a way to add that functionality of the button to a link? I'd really like to have this functionality in the footer.
  • Fabian Busse
    Wed, Dec 2, 2020, 4:03 AM
    Hey, is it possible to add/ integrate this plugin/block in the moodle mobile app? If yes, how can I do it?
  • Gemma Lesterhuis
    Wed, Dec 2, 2020, 5:58 PM
    @richard could you explain a little bit more what goal you want to achive with the block? I am not sure if I understand you correctly.

    @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:
  • Wynand Louw
    Tue, Aug 9, 2022, 7:32 PM
    Moodle 4, PHP8

    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.
  • Gemma Lesterhuis
    Wed, Aug 10, 2022, 10:19 PM
    @wynand thank you for reporting this. The plugin has not been tested by us on PHP8 which just been recently supported by Moodle LMS. At the moment I am not sure if we will take this step ór just wait for Moodle 4.1 to arrive. But be free to put in a pull request to solve this error on our Github:
  • Wynand Louw
    Wed, Dec 21, 2022, 10:32 PM
    @Gemma thanks. Will wait for the update for 4.1 and then reactivate on my site.
  • Wynand Louw
    Mon, May 1, 2023, 4:08 AM
    2023032200 Works as expected. Thanks, @gemma.
Please login to post comments