Complete your profile block

Blocks ::: block_completeyourprofile
Maintained by Mathias Chouet
A simple block that encourages users to complete their profile
Latest release:
126 sites
19 fans

This block checks if all [required] profile fields (admin > users > accouts > profile fields) are filled for the current user; if not, suggests him/her to take a few minutes to complete his/her profile.

English and french versions included / versions anglaise et française incluses.


Screenshot #0
Screenshot #1
Screenshot #2


Mathias Chouet (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Mon, May 9, 2016, 9:18 PM
    Hi Mike, David, Everyone.

    All the issues you submitted were fixed; just released v0.2
    Hope everything is better now.
    Thanks again for your feedback.

  • Wed, May 11, 2016, 7:53 PM
    Would be great if this checked to see if they have a profile picture up?
  • Wed, May 11, 2016, 11:09 PM
    Hi Jesse. Good idea !

    I added an enhancement proposal here
    As my development priorities are guided by the requirements of my team, I cannot guarantee that I'll implement this soon... but I keep that in mind.
    Of course if you're a developer, feel free to fork the code, pull request etc.

  • Wed, May 25, 2016, 10:48 PM
    Please, help! I have insert the block as Administrator into a course, but I don't see anything in the block and the students can't see neither the block empty. Thanks for yours comments, maybe I'm not configurating it well.
  • Thu, May 26, 2016, 5:53 PM
    Hi Luis.

    If you open the course page as administrator and enable the edit mode, do you see the block title, meaning it's correctly installed but has no content at the moment ?
    In that case, it probably means that all your user accounts are considered complete, so the block shows nothing, this is normal.
    In Site Administration => Plugins => Blocks => Complete your profile, can you try to uncheck "consider required fields only" and check "consider empty as null", and see if some accounts are now considered not complete ?
    Please note that this plugin only checks fields that are defined in Site Administration => Users => Accounts => Profile Fields, and NOT non-mandatory base profile fields such as city, country, description or avatar. This could be a nice improvement (added:

    Hope this helps,
  • Thu, Jul 7, 2016, 6:33 AM

    When installing the plugin in Moodle 3.1, I got the following errors:

    Warning: Missing argument 3 for admin_setting_heading::__construct(), called in /var/www/moodle31/blocks/completeyourprofile/settings.php on line 46 and defined in /var/www/moodle31/lib/adminlib.php on line 2046

    Notice: Undefined variable: information in /var/www/moodle31/lib/adminlib.php on line 2048

    Warning: Missing argument 3 for admin_setting_heading::__construct(), called in /var/www/moodle31/blocks/completeyourprofile/settings.php on line 46 and defined in /var/www/moodle31/lib/adminlib.php on line 2046

    Notice: Undefined variable: information in /var/www/moodle31/lib/adminlib.php on line 2048
  • Thu, Jul 7, 2016, 11:10 PM
    Hi Patricia.

    Thank you for reporting this.
    The issue was fixed in the CVS master branch but I forgot to release a new version on Moodle plugins repository.
    Done !

  • Tue, Jul 19, 2016, 3:16 PM
    Thank you very much for contributing this plugin to the community. I have installed in my Moodle 3.1 environment and it works perfectly! This is very helpful for users coming through my external SSO who are not presented with the default registration form.

  • Tue, Jul 19, 2016, 8:33 PM
    Hi Chris,

    Thanks for your enthusiasm.
    I'm always glad to read that this plugin is useful.

    All the best,
  • Wed, Jul 27, 2016, 1:34 AM
    excuse for asking here .

    i want making changes to default registration form so that accept empty field for firstname and lastname via upload csv (remove requirements) ? and then its very necessary to force student fill out empty field in first login.
    if its not possible ican add a default e.g. Student1, etc to the csv file to enable upload to function ok, i'd like that the user can change these fields when they first login but after that it is locked.
    can i use this block:Complete your profile block to solve my problem,help please
    thanks in advanced
  • Wed, Jul 27, 2016, 4:08 PM
    Hi Arsalan,

    I don't think this plugin will really help you...

    If you manage to make the firstname and lastname fields non-mandatory (I don't know how to do that), and if you configure the plugin to consider all fields (uncheck "only consider fields marked as required"), then it will ask the user to complete his profile. But this plugin only shows an advice to suggest to complete the profile, it doesn't force the user to complete it.

    With your second solution it won't work : if a field is already filled, there is no way for this plugin to ask the user to change it.

    Sorry, I hope you'll find a solution to your problem.

  • Wed, Jul 27, 2016, 7:53 PM
    hi mathias,
    thanks for your charmer and mercifully reply. very very much.
  • Tue, Jul 25, 2017, 5:53 PM
    Hi Mathias,

    Thank you for this plugin, in the most part it works really well, however, I found a problem where if I remove the data in an existing user's profile field (either via a csv in upload users or using mysql workbench to remove the values directly from the tables) when they log in they don't see the complete your profile block.

    If the user hasn't logged in before it seems to function correctly, it's only affecting existing users that have previously logged in.

  • Tue, Jul 25, 2017, 6:11 PM
    Hi Andy,

    Thanks for reporting this.
    I added an issue on the bug tracker here :
    Can you please check that you chose the right options in the block settings (especially "Consider empty as null") ?
    I'll be following your commetns on GitHub.

    Thank you,

  • Wed, Apr 10, 2019, 4:34 PM
    Hi. Does it work for 3.6.2?
1 2
Please login to post comments