Select Moodle version:

Blocks: Quickfind List

block_quickfindlist
Quick Find List Block for Moodle This block allows quick searching of users from a block, and displays a configurable link for each search result
Maintained by: Picture of Mark Johnson Mark Johnson
for Moodle
2.2, 2.3

The Quick Find List block can be added to a course or site page to allow searching of users within that page.

Each instance of the block can be configured to search only for users with a certain role, or for all users.

With Javascript enabled, the block will "find as you type", otherwise it will display a button to perform the search.  Each search result will display as a link which defaults to the user's profile - this link can be customised for each instance of the block.

Please dont report bugs here

If you experience an error with the block, or would like to request a feature, please use the "Bug Tracker" link below.

Screenshots

screenshot
screenshot
screenshot

Contributors

Picture of Mark Johnson
Mark Johnson (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Allen Woerner
    Sat, Feb 18, 2012, 9:58 PM
    For some reason I can't seem to get this to display to teachers and managers etc. As an admin I've gone to manage blocks, and set it to apply on ALL pages within the site. I then signed in as a teacher and it still wasn't showing up for me. As a teacher I went to My Home, then clicked, Block Editing on, and I could then see the quick find list Block, delete it, move it around etc, but it wasn't giving me the field to input a name. Now I'm guessing this has something to do with permissions, because I then added the teacher as a system role and I could see quick find block with the input field open. But I don't want to give permission to a teacher to have system access. What permission do I have to set to allow the teachers and managers to see the block appear, and more importantly see the field to input the student names. I have tried Assign Roles and View Participants under System access for Teachers and Managers, to no avail. Any help would be appreciated! I'm sure it's something small I'm missing. Thanks!
  • Picture of Mark Johnson
    Thu, Mar 1, 2012, 4:38 PM
    Thanks for the report Alan, I've added it to the github tracker with what's going on: https://github.com/marxjohnson/moodle-block_quickfindlist/issues/1

    The way we have Moodle set up, all staff have a system role called "Staff", which has permissions like quickfindlist:use. Until the issue is resolved, this could be a possible workaround.
  • Picture of ces moce
    Tue, Jul 3, 2012, 10:17 PM

    Strict Standards: Creating default object from empty value in /home/garderief/public_html/blocks/quickfindlist/block_quickfindlist.php on line 201
  • Picture of Emma Richardson
    Sat, Sep 1, 2012, 3:28 AM
    This is the greatest block ever!! I always hated it when I had to search for a user. This is going to save me so much time - thank you!!!
  • Training
    Fri, Mar 22, 2013, 9:30 PM
    Good Block, very handy. I attempted to add in code for showing useremail addresses, but having issues. Not certain why as it's seems very straight forward. Just had to put in extra code for the email field and tell the block to user email in the display settings, but it's not show the email. Checked all files individually and not certain why I can't get the email to show..... Hopefully Mark may add email and show us how it's done properly ;-P
  • Picture of Ray Morris
    Fri, Jul 26, 2013, 9:32 PM
    Line #66:
    AND pagetypepattern = "?"
    should be:
    AND pagetypepattern = ?

    The whole point of bound parameters is that you don't quote them, and therefore need not worry about embedded quotes, SQL injection, etc.


    Also the quotes are incorrect. Double quotes in the SQL may work for some version of some database, but correct SQL is single quote. Therefore:
    $where = "WHERE name = 'quickfindlist'
    AND pagetypepattern = ?
    AND parentcontextid = ?
    AND bi.id < ?";


  • Picture of Mark Johnson
    Fri, Jul 26, 2013, 10:08 PM
    Hi Ray,
    I've seen your pull request on Github, as soon as I get the chance to test it out I'll merge it in and do a release.

    Thanks
    Mark
  • Picture of Nick Varney
    Mon, Jan 20, 2014, 10:11 PM
    Hi, this plugin is indispensable. Any plans or eta to make available on 2.6? I've not been able to install for a while and it is missed. Thanks again for your work. Nick
  • Picture of Mark Johnson
    Mon, Jan 20, 2014, 10:57 PM
    Hi Nick, I'm not working with Moodle at the moment, but if you let me know what the problem is when you try to install it I might be able to address it in the near future. Can you give me any more details about why you can't install it?
  • Picture of Emma Richardson
    Tue, Mar 11, 2014, 10:18 PM
    This is working just fine in 2.6. The only thing I would like to change is that when I am in a course and am a site admin, I would like the block to be able to link to any user's profile, not just users that are enrolled in the course.
Please login to post comments