Moodle Plugins directory: Webcam snapshot | Moodle.org

Webcam snapshot
Blocks ::: block_mfavatar
Maintained by
Luuk Verhoeven,
Vincent Cornelis
This block allows users to make a profile picture with their webcam.
Latest release:
203 sites
38 downloads
40 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:
Contributors
Luuk Verhoeven (Lead maintainer)
Vincent Cornelis
Please login to view contributors details and/or to contact them
Block permission are:
Block: MoodleFreak Avatar
Add a avatar snapshot tool
block/mfavatar:addinstance - Inherit (Allow)
mfavatar:view
block/mfavatar:view - Inherit (Allow)
Block
Edit a block's settings
moodle/block:edit - Inherit (Not set)
View block
moodle/block:view - Inherit (Allow)
Update user avatars
Execute scheduled task: Update user avatars (block_mfavatar\task\update_avatars)
... started 17:02:01. Current memory use 9.5MB.
... used 154 dbqueries
... used 1.1980068683624 seconds
Scheduled task failed: Update user avatars (block_mfavatar\task\update_avatars),Invalid user
Debug info:
SELECT id FROM {user} WHERE id = ? AND deleted = ?
[array (
0 => '6',
1 => 0,
)]
Backtrace:
* line 1522 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
* line 6124 of /lib/accesslib.php: call to moodle_database->get_record()
* line 191 of /blocks/mfavatar/classes/avatargenerator.php: call to context_user::instance()
* line 140 of /blocks/mfavatar/classes/avatargenerator.php: call to block_mfavatar\avatargenerator->save()
* line 163 of /blocks/mfavatar/classes/avatargenerator.php: call to block_mfavatar\avatargenerator->set_avatar_single_user()
* line 57 of /blocks/mfavatar/classes/task/update_avatars.php: call to block_mfavatar\avatargenerator->set_avatar_for_all_users()
* line 105 of /lib/cronlib.php: call to block_mfavatar\task\update_avatars->execute()
* line 297 of /lib/cronlib.php: call to cron_run_inner_scheduled_task()
* line 91 of /admin/tool/task/schedule_task.php: call to cron_run_single_task()
Any assistance will be greatly appreciated!
Cheers,
Ray
Can you check the latest moodle35 version on github?
https://github.com/MoodleFreak/moodle-block_mfavatar
Deleted users shouldn't need a new avatar, they will be skipped now. If you confirm it works correctly I will update the plugin on moodle.org
Cheers,
Luuk