Select Moodle version:

Blocks: MooProfile

block_mooprofile
Displays user(s) profile in a block
Maintained by: Picture of mohamed alsharaf mohamed alsharaf
for Moodle
2.3, 2.4, 2.5, 2.6

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.
Enjoy!

Screenshots

screenshot

Contributors

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

Comments RSS

Show comments
  • Picture of mohamed alsharaf
    Fri, Jan 25, 2013, 4:02 AM
    @Vadim Tabunshchik thanks for reporting this bug. I'm unable to replicate it, but I have updated the plugin to prevent this errors. Please let me know if it all working for you. Cheers
  • Это я…
    Fri, Jan 25, 2013, 5:46 AM
    @mohamed alsharaf Thanks for a great block smile function cleanup_blockdata now works!

    A few small bugs:
    1. Last access 43 years 34 days ??? May be used userdate($user->lastaccess) instead format_time($user->lastaccess) (string #214 block_mooprofile.php)
    2. Where's /db/access.php? wink
    3. Сheck the closing tags in block_mooprofile.php, string 188, 203, 206, 214
    4. Notice: Undefined property: stdClass::$user still have.
  • Picture of Linda Vanderbaan
    Wed, Mar 13, 2013, 1:19 AM
    V. 1.0.2 will not install into M2.2, as the release number required M2.3
  • Picture of Curtis Dewey
    Tue, Jun 11, 2013, 3:49 AM
    Can this block be used to show the user/student's institution?
  • Picture of mohamed alsharaf
    Tue, Jun 11, 2013, 6:31 AM
    @Curtis no it wont display the institution. It displays the name, picture, email, send message button, phone1, phone2, lastaccess, is online status. It might be good idea to have a custom option where you can select which other fileds to be display too smile
  • Picture of Elizabeth Dalton
    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.
  • Picture of Elizabeth Dalton
    Thu, Oct 10, 2013, 11:36 PM
    Also, we are using MooProfile 1.1.2.
  • Picture of mohamed alsharaf
    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?

    Cheers
    Mohamed
  • Picture of Elizabeth Dalton
    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.
  • Picture of Elizabeth Dalton
    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.
  • Picture of Sam Todorich
    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.
  • Picture of Elizabeth Dalton
    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.
  • Picture of mohamed alsharaf
    Thu, Nov 21, 2013, 4:33 AM
    @Luis to display teacher profile, you will need to select display profile by role and select teacher.
  • Picture of Daniel Kaelin
    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: https://github.com/satrun77/MooProfile-Moodle-Plugin

    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.
  • Picture of Elizabeth Dalton
    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.
1 2
Please login to post comments