Blocks ::: block_mooprofile
Maintained by mohamed alsharaf
Displays user(s) profile in a block
Latest release:
56 sites
6 fans
Current versions available: 3

Simple block to display user or users profile. The block can be customized to include:

  • Unlimited number of users profiles.
  • Custom block title and an optional summary.
  • Display or hide the following user profile data:
    • User full name.
    • User email address.
    • User picture.
    • User phone number 1.
    • User phone number 2.
    • User last access time.
    • Show if user currently online or not.
    • Show a link to send a message.

List of some examples on what to use this plugin for:

  • Show profile(s) of the course teacher(s).
  • Show profile of a quiz marker and link to support.
  • Show profile of a winner of a competition.
  • Show profile of a highest achiever.


Screenshot #0


mohamed alsharaf (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Thu, Oct 10, 2013, 11:30 PM
    In Moodle 2.4, the "display by role" function no longer seems to work for all users. E.g. if the assigned teacher is an administrator, it works, but not for other teachers. The block shows, but contains no information. Is there a permission or role being checked that is preventing the display? It's not the "Email display" setting on the teacher's user profile -- I checked that.
  • Thu, Oct 10, 2013, 11:36 PM
    Also, we are using MooProfile 1.1.2.
  • Fri, Oct 11, 2013, 4:59 AM
    @Elizabeth the block works fine on Moodle 2.4. Can I have more details.

    Do you have any customisations to the roles or your instance of Moodle?

    Are you trying to display Teachers in a course and they are not visible in the block? But if the users have a teacher role and admin role they are visible?

  • Wed, Nov 6, 2013, 2:13 AM
    @Mohamed, sorry for the delay in responding, I need to subscribe to comments! Yes, if we set the block to display Teachers in a course, if the teachers also have admin role, they are visible, but otherwise, they don't display. Please let me know how we can help troubleshoot further.
  • Wed, Nov 6, 2013, 2:16 AM
    And yes, we have a lot of customized roles in our Moodle instance. That's why I'm trying to track down where the dependency might be.
  • Wed, Nov 20, 2013, 10:16 PM
    We have encountered Elizabeth's case in our instance as well. When filtering by role, it will only display if that user is also a site administrator.
  • Thu, Nov 21, 2013, 12:12 AM
    Mohamed has provided an update that we are setting up to test. Hopefully this will fix it. I suspect it's a permissions conflict, but I haven't been able to find any settings we've changed for faculty that should affect this. I can't reproduce it on a test server with default roles, though.
  • Thu, Nov 21, 2013, 4:33 AM
    @Luis to display teacher profile, you will need to select display profile by role and select teacher.
  • Thu, Nov 21, 2013, 4:46 AM
    I am working with Sam on our Moodle installations.

    I just pulled down your latest version found here:

    and placed it on the portal but we're still having problems with the block not functioning.

    We are running Moodle 2.4.7 (Build: 20131111)

    I add the block to the course and select instructor as the role to display and when I return to the course there is nothing displayed in the block. We have an instructor assigned in the course.

    If I use the username feature the photo and name (with link to profile) work but none of the other yes/no options work such as email and phone number.
  • Mon, Feb 3, 2014, 11:56 PM
    Daniel, the email isn't visible to users outside the course participants, if the instructor has set their email preferences not to display to non-participants.

    We are still unable to get instructors who are not admins to display by role on our production server. I've just done a comprehensive analysis of the differences between role permissions on our production vs. test server (where MooProfile displays correctly). I don't see very many differences. One difference is that role assignments on production are not done by admin, but by an account with admin privileges. I'd say it must be either that or a conflict with another installed block.
  • Tue, Mar 10, 2015, 6:50 PM
    Hi Mohamed, I have visualization problems if I assign the role as configuration for user1. I don't see any users in the block.
  • Tue, Mar 29, 2016, 11:19 PM
    We're not able to get 'is online' to display in M3.0.2. Others appear correctly: Send message, picture, phone, email and last access. Last access shows wrong access date (last access 46 years 99 days but should be less than one minute).
  • Thu, Jul 21, 2016, 6:01 AM
    In addition, we have instances where more than one user appears in the block, where there should only be one [moodle v3.0.2, mooprofile v1.1.5 ].

    In several courses, Users with the role "Non-editing instructor" = 1. Course category has 2 hidden users with the role "Non-editing instructor". We would hope that they would not appear in the MooProfile block. Those two are not listed in the enrol/users page or the user/index page of the course. Yet they both appear in the block. How can we make sure that hidden users do not appear within the block?
  • Fri, May 5, 2017, 7:04 AM
    Good evening,

    When can we count on the mooprofile plugins for version 3.X?

    Please inform all the public if it is in the stage of modification or update, or on the contrary if it is not going to be published for the following versions of moodle.

    We wait for an answer.

  • Fri, Aug 3, 2018, 8:15 AM
    I have Moodle v3.1. Does anyone know if this will work on it. This plugin is exactly what I need.

    Thank you in advance!
1 2
Please login to post comments