Skip to content

LdesignMedia/moodle-block_mfavatar

Repository files navigation

Moodle MFavatar Snapshot/Webcam tool for user profile picture

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.

Author

MFreak.nl

  • Author: Luuk Verhoeven, MFreak.nl
  • Min. required: Moodle 3.5.x
  • Supports PHP: 7.2

Build Status Moodle35 Moodle36 Moodle37 Moodle38 Moodle39 Moodle310 PHP7.2

List of features

  • WebRTC, make snapshot with webcam.
  • Flash, make snapshot with webcam.
  • Feature for making automatically user avatars. Thanks to laravolt/avatar

TODO

  • Convert ajax.php to native ajax webservices
  • Gravatar support
  • Convert module.js to an AMD module

Installation

  1. Copy this plugin to the block\mfavatar folder on the server
  2. Login as administrator
  3. Go to Site Administrator > Notification
  4. Install the plugin
  5. You will need to fill out the settings.

Security

If you discover any security related issues, please email luuk@MFreak.nl instead of using the issue tracker.

License

The GNU GENERAL PUBLIC LICENSE. Please see License File for more information.

Contributing

Contributions are welcome and will be fully credited. We accept contributions via Pull Requests on Github.

Changelog

  • 2020111800 Tested in Moodle310 fix issues, update composer to use the latest dependencies.
  • 2020050900 Default capability set to user, fix configuration difficulties.
  • 2020050900 Using WEBRTC as default, remove flash from this project.
  • 2018092600 Thanks for updating WEBRTC @eglescout
  • 2019051400 Thanks for solving issue in image override @matasarei