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

Yorumları göster
  • Plugins bot
    Paz, 28 Eki 2018, 10:50 Öğleden Sonra
    Approval issue created: CONTRIB-7495
  • Ken Farrimond
    Cmt, 2 Şub 2019, 9:50 Öğleden önce
    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
    Cmt, 2 Şub 2019, 4:59 Öğleden Sonra
    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
    Cmt, 2 Şub 2019, 9:59 Öğleden Sonra
    Many thanks, I had looked in numerous places, but not there.

    Ken
  • Dnyaneshwar Somwanshi
    Sal, 8 Eki 2019, 1:36 Öğleden Sonra
    gr8 plugin. do you have plan to add mobile support to this feature? thanks. thanks.
  • Luuk Verhoeven
    Cmt, 12 Eki 2019, 6:49 Öğleden Sonra
    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
    Çar, 8 Oca 2020, 9:10 Öğleden Sonra
    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
    Cmt, 11 Oca 2020, 10:11 Öğleden Sonra
    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
    Cmt, 3 Eki 2020, 12:13 Öğleden önce
    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
    Çar, 2 Ara 2020, 4:03 Öğleden önce
    Hey, is it possible to add/ integrate this plugin/block in the moodle mobile app? If yes, how can I do it?
  • Gemma Lesterhuis
    Çar, 2 Ara 2020, 5:58 Öğleden Sonra
    @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
    Sal, 9 Ağu 2022, 7:32 Öğleden Sonra
    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
    Çar, 10 Ağu 2022, 10:19 Öğleden Sonra
    @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
    Çar, 21 Ara 2022, 10:32 Öğleden Sonra
    @Gemma thanks. Will wait for the update for 4.1 and then reactivate on my site.
  • Wynand Louw
    Pzt, 1 May 2023, 4:08 Öğleden önce
    2023032200 Works as expected. Thanks, @gemma.
Please login to post comments