User favourites / favorite / bookmark

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

Screenshots

Screenshot #0

Contributors

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

Comments RSS

Vis kommentarer
  • Plugins bot
    sotn, 28 golg 2018, 22:50
    Approval issue created: CONTRIB-7495
  • Ken Farrimond
    láv, 2 guov 2019, 09:50
    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?
    thanks
    Ken
  • Luuk Verhoeven
    láv, 2 guov 2019, 16:59
    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
    láv, 2 guov 2019, 21:59
    Many thanks, I had looked in numerous places, but not there.

    Ken
  • Dnyaneshwar Somwanshi
    maŋ, 8 golg 2019, 13:36
    gr8 plugin. do you have plan to add mobile support to this feature? thanks. thanks.
  • Luuk Verhoeven
    láv, 12 golg 2019, 18:49
    Hi Dnyaneshwar, there are no plans for now to build mobile support.
    You can add this request to GitHub issue tracker https://github.com/MFreakNL/moodle-block-user_favorites/issues

    Greets, Luuk
  • Carlos Kiyan Tsunami
    gask, 8 ođđj 2020, 21:10
    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
    láv, 11 ođđj 2020, 22:11
    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:
    https://moodle.org/mod/forum/discuss.php?d=363912#p1467851
  • Richard Newton
    láv, 3 golg 2020, 00:13
    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
    gask, 2 juov 2020, 04:03
    Hey, is it possible to add/ integrate this plugin/block in the moodle mobile app? If yes, how can I do it?
  • Gemma Lesterhuis
    gask, 2 juov 2020, 17:58
    @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: https://docs.moodle.org/dev/Mobile_support_for_plugins
  • Wynand Louw
    maŋ, 9 borg 2022, 19:32
    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
    gask, 10 borg 2022, 22:19
    @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:https://github.com/Lesterhuis-Training-en-Consultancy/moodle-block-user_favorites/issues
  • Wynand Louw
    gask, 21 juov 2022, 22:32
    @Gemma thanks. Will wait for the update for 4.1 and then reactivate on my site.
  • Wynand Louw
    vuos, 1 mies 2023, 04:08
    2023032200 Works as expected. Thanks, @gemma.
Please login to post comments