Webcam snapshot

Blocks ::: block_mfavatar
Maintained by Luuk VerhoevenLuuk Verhoeven, Vincent Cornelis
This block allows users to make a profile picture with their webcam.
Latest release:
270 sites
54 downloads
41 fans
Current versions available: 2

Webcam Snapshot

It's a brand new functionality for users in their Moodle environment. The plugin is free to download and in open source.

Briefly, the MFreak plugin avatar gives the user the possibility to take a snapshot with a live webcam. The user can then upload the picture and modify his profile picture at any time.
Besides this, there is also the facility to auto-generate Avatars.

As a bonus, an easy to follow tutorial was created, on how the user can install the block to his Moodle site and ultimately deploy it to a page for use.

Notes:

  • The Plugin makes no database changes.
  • The Plugin was developed with coding standards of Moodle.

Installation

 

Automatic avatar 

Fix capabilities

If your students or some other role can't create an avatar. 

Extra Information:

[NL] https://mfreak.nl/nl/plugin/mfavatar/

[EN] https://mfreak.nl/en/plugin/mfavatar/

Screenshots

Screenshot #0
Screenshot #1

Contributors

Luuk Verhoeven
Luuk Verhoeven (Lead maintainer)
Vincent Cornelis
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • David Mudrák
    Fri, 27 Feb 2015, 9:40 PM
    Hi Luuk. Thanks for sharing this block. It provides quite cool feature! I was able to successfully test the functionality. The block is implemented in line with Moodle development guidelines. It's good to see you pay attention to security and access control when updating the user picture.
    There are some small and easy to fix issues I spotted while reviewing the code.
    * You do not seem to take $CFG->disableuserimages into account. The block should not change the user image if that flag is set (I admit the admin should not install the block in that case, but still).
    * Also, you should check for the moodle/user:editownprofile capability before updating the image.
    * The more "moodley" way would probably be to implement your upload.php file as AJAX_SCRIPT (grep for this constant), although I admit I do not know ActionScript enough to judge pros and cons of it in your situation.
    * When trying to access your bug tracker, I am getting "Access denied" error (I would report these issues there otherwise).
    * I am unable to find more information about the license of the com.hurlant.util package you use in your block. The notices in the source code refer to LICENSE.txt file that is not included. Is there a way to check and make sure that the package's license is compatible with GNU GPL v3 ?
    I think that your solution might eventually turn into a more robust snapshoting tool in moodle that would save the files into user's private area files. But I really this block doing one thing, and doing it well.

    I am going to mark this as needing more work for now to get the raised issues fixed. Thanks for your patience with the review and approval process.
  • Luuk Verhoeven
    Sat, 28 Feb 2015, 3:19 AM
    Updated:

    - More validation if the user is allowed to replace there avatar
    - Change uploader to more moodley way
    - Change VCS to public, was still private sorry about that
    - Remove hurlant from the source and add another that is allowed to add to moodle.org

    Hope this enough to be approved, adding to there private files would be nice for the next version. Also have some more ideas for that.

  • David Mudrák
    Mon, 2 Mar 2015, 5:11 PM
    Thanks Luuk. Trying to access your Bug tracker https://bitbucket.org/ldesign/mfavatar/issues?status=new&status=open still throws me "Access denied" error. There must be some setting for that as I was able to use others' bitbucket issue trackers. Thanks for the other fixes, they all look good to me. You just seem to have a typo in the 'failed:permission_editownprofile' string (see commit cfb6176) where I think "User ... there ..." should read "Users ... their ...".
Please login to post comments