Select Moodle version:

Blocks: User bookmarks

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

User Bookmarks (for Moodle 2.4+)

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.

 

Screenshots

screenshot

Contributors

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
  • Picture of alfren enriquez
    Fri, Feb 7, 2014, 11:03 AM
    Greetings!

    Is it possible to put the Bookmarks block in the user's homepage? I tried everything and I can't find the way on how to do this.

    Many Thanks!
  • .?.
    Thu, Feb 13, 2014, 3:26 PM
    @alfren: please check your personal messages.

    About comment from Alexander Bias
    Mi, 5. Feb 2014, 13:14:
    https://github.com/BBZ-ICT/moodle-user_bookmarks/issues?state=open
  • Picture of Randall Kujawa
    Thu, Feb 13, 2014, 10:26 PM
    We have been using this plugin for about 6 months and have been very happy with it. Unfortunately yesterday, a manager/instructor tried to add a bookmark and then was effectively locked out of Moodle. On almost every page she tried to access within the site (using ANY link) she got a "bad url" message. I have no idea what she did. She claims she just tried to add a bookmark like she has always done before without any problem. When I logged in as her, I started getting the same problem. When I am logged in as myself the problem goes away. It only seems to effect her account. When I disable User Bookmarks, the problem goes away. After searching the forums for help, I deleted the plugin from within Moodle, then logged into the server and deleted the directory "user_bookmarks". I then reinstalled it thinking I would have a clean install, but found when I logged in my old bookmarks were available to me again. I logged in as her, and still got the "bad url" message on every page I tried to go to.

    1. Anyone have any idea what's going on?
    2. Where are the bookmarks stored so I can delete them for a user without having access to the block interface?
    3. What tables does this plugin create? I couldn't find any that seemed to reference bookmarks.
    4. Are any configuration files created outside the \blocks\user_bookmarks folder?
    5. How can I get an absolutely clean install?

    We are using Moodle 2.3.8+ (Build: 20130719)

    Any help would be greatly appreciated!!!
  • .?.
    Thu, Feb 13, 2014, 10:52 PM
    I think I know what happened.
    An old Version of the plugin saves URL's and Data in a way where certain special Signs can cause critical Problems .
    The Next Major Version of the Plugin will fix this issue permanently.

    Which Version are you currently using?
    Did you change Version in between?
  • .?.
    Thu, Feb 13, 2014, 11:06 PM
    To solve your User Problem you need to access the DB manually, the table user_preferences to be specific

    Check the Table of the User with following query:
    "
    SELECT *
    FROM `user_preferences`
    WHERE `name` LIKE 'user_bookmarks'
    AND userid = XY
    "
    where XY stands for the Users ID (in table users) as an int

    Now save the Content of "value" in a Text editor and empty "value" in the database.

    The String in your Editor should look like:

    /My/Moodle/URL|Name for my Link | /My/Moodle/URL2|Name for my Second Link ....

    Or with the old and buggy Version:
    /My/Moodle/URL;Name for my Link ; /My/Moodle/URL2;Name for my Second Link ....

    Find the part of the string that doesn't follow that rule, correct it and put it back in the Database
  • .?.
    Thu, Feb 13, 2014, 11:10 PM
    Hint: It's probably the last part.

    Now if your String looks mixed up (; and | as separator) change them all to |.
  • Picture of Randall Kujawa
    Thu, Feb 13, 2014, 11:17 PM
    THANK YOU for the quick response. We were using 1.1.2 (2013072202). When I reinstalled I used the same version. I was going to upgrade to 1.1.3, but was not sure if was good since there have been few downloads for that release, and it's not listed as the latest. If I do go with 1.1.3, can I just delete the old (From Moodle and the Server) or do I need to follow the Upgrade instructions and execute UPDATE user_preferences SET value = REPLACE( value, ';', '|' ) WHERE name LIKE 'user_bookmarks' (I am assuming that's a command for MySQL database, right? Sorry for the dumb question. I get by, but am not very confident on my database skills)

    I'm not worried about keeping our old Bookmarks, they can recreate them.

    And Thanks Again!!
  • Picture of Randall Kujawa
    Thu, Feb 13, 2014, 11:25 PM
    OK, Thanks
  • .?.
    Thu, Feb 13, 2014, 11:56 PM
    There will be a new debugged Version sometime soon.
    If you need it now, use 1.1.3 and the DB query, or if you don't care about your old bookmarks:
    DELETE FROM user_preferences
    WHERE name LIKE 'user_bookmarks'
  • Picture of Randall Kujawa
    Thu, Feb 13, 2014, 11:59 PM
    That FIXED IT!! Thanks again! I really appreciate your help!
  • .?.
    Fri, Feb 14, 2014, 12:02 AM
    I never tested 1.1.3 with a Moodle version below 2.5, and i still don't consider it stable, since it's more of a bug fix for anyone in need of Asian or other special non ASCII Characters as Bookmark titles, still lacking the major problem of using a simple separator sign for storing multiple values in on single Database field, which is kind of stupid but the way admin_bookmarks that probably never was ment for this kind of purpose works.
    So to fix this design issue i'll need an own Databasetable and Design for the plugin which will follow in the next major release, sometime this summer.
  • .?.
    Fri, Feb 14, 2014, 12:02 AM
    (since i don't really have time for it now)
  • Picture of alfren enriquez
    Sun, Feb 16, 2014, 10:20 PM
    @Jonas Rüegge I replied to your private message
  • Picture of Jona Turner
    Fri, Apr 4, 2014, 3:54 PM
    Hi, I'm really interested in using your plugin, however I'm on Moodle 2.6 and obviously want to avoid any current bugs that have been highlighted above.... Is there a release date for a 2.6 supported version coming soon?

    Many thanks
  • .?.
    Mon, Apr 7, 2014, 6:14 PM
    I was planning on leaving 2.6 and going directly to 2.7.
    There will defenitely be a Version for 2.7, which should be compatible with 2.6, but not before may
1 2 3
Please login to post comments