Your Moodle version

Blocks: User bookmarks

Maintained by Picture of Gurvinder Singh Gurvinder Singh, .?. Jonas Rüegge
User Bookmarks allows users to bookmark any moodle page.
Moodle 2.1, 2.2, 2.3, 2.4, 2.5

User Bookmarks (for Moodle 2.0-2.5)

This Block adds the possibility for Users to create their own URL bookmarks.

Simple but usefull, be it to set a shortcut to an administration function deep in the menu, or to have your favorite courses at your fingertip.

It's currently based on the admin_bookmarks block.


A new Version with it's own Database and Upgrade Function for previous Versions which is compatible with Moodle 2.6.x and 2.7.X is in development and expected to be available End of 2014.


Screenshot #0


Picture of Gurvinder Singh
Gurvinder Singh (Lead maintainer)
Jonas Rüegge: Maintainer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • .?.
    Thu, Sep 4, 2014, 7:52 PM
    No, Maybe in the next release.
    Currently the bookmarks are stored user-specific.
  • Picture of Gerald Albion
    Thu, Oct 2, 2014, 2:39 AM
    I noticed today in both Moodle 2.6.1 and 2.7.2 that in some courses the "Bookmark this site" link does not work.

    Suspecting a JavaScript issue I turned on Firebug and observed the following error:

    SyntaxError: missing ) after argument list
    ...urse/view.php?id=2088', 'Course: Gerald's Test Course 789', 'DO7wJOuB9M', 'http:...
    view.php?id=2088 (line 1, col 56)

    So the problem looks to be an unescaped apostrophe in the course title that is prematurely closing a parameter, breaking the script.

    I have fixed this on my beta site by replacing line 165 in block_user_bookmarks.php
    $bookmarktitle = $PAGE->title;
    $bookmarktitle = addslashes($PAGE->title);

    This fixes the problem by escaping quotes and apostrophes in the course title.
  • .?.
    Thu, Oct 2, 2014, 2:24 PM
    Thanks for the Feedback Gerald i will Test and implement it in the next Version,
    The current Version here is not intended for 2.6. You can check out the Version at Github or wait untill the 19.10, when I will release a completely new Version with it's own databasetables.
    (since the current solutation has not just a limitations on the amount of links one user can theoretically create but also a high probability for running into Problems with non ASCI characters on Multilingual environements, mainly ones with Asian Characters)
  • Picture of Jesse H
    Sat, Oct 11, 2014, 7:40 AM
    This is a great module. Any chance you could add the option to re-arrange links and import/export.
  • .?.
    Mon, Oct 13, 2014, 2:08 PM
    It's planed for the next Version (Release Date 19.10.2014)
    I was also thinking about a bookmarkexport / Import with Firefox, but that's something for a November or december release
  • Picture of Heather Edick
    Thu, Nov 13, 2014, 9:12 PM
    Hello! Whenever I try to bookmark a course main page that uses a format such as the Grid format or the TabTopics format, I can't create the bookmark because there is a yui code embedded in the link.
    Click me to create a bookmark
    You can see it in the example above after "id=" in the link.

    With other formats, I do not see that yui code and can create the bookmark with no problem. Do you have any advice here?
  • Picture of Jesse H
    Thu, Jan 22, 2015, 2:25 AM
    Hi Jonas,
    Thanks for the reply, hows development coming along? I've had to uninstall this plugin for now, it was causing a few errors in 2.8. I'm missing it quite a bit :p
  • .?.
    Tue, Feb 3, 2015, 8:30 PM
    Sorry to all that have been waiting for a new release in December.
    I didn't have the time to test it and the next release is supposed to fix all the Problems as automatic as possible.

  • .?.
    Tue, Feb 3, 2015, 8:31 PM
    Also there was the release of 2.8, so I have to fix some things for this Version too.
  • Picture of Carlos Kiyan Tsunami
    Fri, Mar 27, 2015, 3:06 AM
    Hi, I tried to install you plugin:
    (, moodle 2.7)
    in a moodle 2.8 but i got this error "Fatal error: Call to undefined function xmldb_block_user_bookmarks_upgrade() in /home/develtel/public_html/training/lib/upgradelib.php on line 897"
    Please, may you help me to fix this issue?
    Thanks in advance
  • Picture of Jesse H
    Fri, Jun 26, 2015, 10:31 PM
    Hi Jonas,
    Hows the update coming along ;p
    This plugin was so handy!
  • .?.
    Fri, Jun 26, 2015, 11:48 PM
    ... about A Year late at best.
    Sorry was too busy with other Projects and no one Sponsoring my work.
    I have a working local build, but no time to test it on 2.8 and 2.9.
    are you applying as Betatester?
    If I find time I'll finish a refactored release which will really be usefull
  • Picture of Fritz Richter
    Sat, Jul 11, 2015, 8:43 AM
    Hi Jonas, I would love to test the block on 2.9
  • Picture of Carlos Chiarella
    Thu, Aug 13, 2015, 6:31 AM
    Hi Jonas,
    We are using this plugin and we like it very much. There is a limitation with it. It uses the user_preferences table to store the book mark of a user in the value field of the table. The type of the field is varchar (1333). We had a situation where the bookmarks exceeded this size. We got this error:
    Coding error detected, it must be fixed by a programmer: Invalid value in set_user_preference() call, value is is too long for the value column

  • Picture of Carlos Chiarella
    Thu, Aug 13, 2015, 6:35 AM
    We also noticed that to "explode" the bookmarks from the string field, you are using a ",". We have some errors if the Title has a "," on it. Is there a way to avoid this problem? Thanks for your work. Carlos
1 2 3 4
Please login to post comments