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
136 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

Показати коментарі
  • Plugins bot
    нд 28 жовт. 2018 22:50 PM
    Approval issue created: CONTRIB-7495
  • Ken Farrimond
    сб 2 лют. 2019 09: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?
    thanks
    Ken
  • Luuk Verhoeven
    сб 2 лют. 2019 16: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
    сб 2 лют. 2019 21:59 PM
    Many thanks, I had looked in numerous places, but not there.

    Ken
  • Dnyaneshwar Somwanshi
    вт 8 жовт. 2019 13:36 PM
    gr8 plugin. do you have plan to add mobile support to this feature? thanks. thanks.
  • Luuk Verhoeven
    сб 12 жовт. 2019 18:49 PM
    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
    ср 8 січ. 2020 21: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
    сб 11 січ. 2020 22: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:
    https://moodle.org/mod/forum/discuss.php?d=363912#p1467851
  • Richard Newton
    сб 3 жовт. 2020 00: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
    ср 2 груд. 2020 04: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
    ср 2 груд. 2020 17: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: https://docs.moodle.org/dev/Mobile_support_for_plugins
  • Wynand Louw
    вт 9 серп. 2022 19: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
    ср 10 серп. 2022 22: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:https://github.com/Lesterhuis-Training-en-Consultancy/moodle-block-user_favorites/issues
  • Wynand Louw
    ср 21 груд. 2022 22:32 PM
    @Gemma thanks. Will wait for the update for 4.1 and then reactivate on my site.
  • Wynand Louw
    пн 1 трав. 2023 04:08 AM
    2023032200 Works as expected. Thanks, @gemma.
Please login to post comments