Photos for user accounts

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
vojtechmotycka
Posts: 1
Joined: 31 Dec 2020, 11:59

Photos for user accounts

Post by vojtechmotycka »

Hello,
it is possible to upload or assign photos to users in the MantisBT system. My photos are saved as a file or are available in AcitveDirectory. Using a photo makes it easier to find your way around the system. Best without using a plugin.
Thank you so much for any advice.
cas
Posts: 1072
Joined: 11 Mar 2006, 16:08
Contact:

Re: Photos for user accounts

Post by cas »

Mantisbt supports avatars, one can simply create avatars from photos ( see fe https://lightmv.com/how-to-make-avatar-from-photo.html)
ejayrus
Posts: 2
Joined: 15 Mar 2021, 20:30

Re: Photos for user accounts

Post by ejayrus »

Hi,
How do I upload avtars for user accounts? I have already made these changes to "config_defaults_inc.php"

Code: Select all

$g_show_avatar = ON;
$g_show_avatar_threshold = REPORTER;
thanks
atrol
Site Admin
Posts: 7958
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Photos for user accounts

Post by atrol »

Upload is not possible out of the box.

You could
- install the "Avatars via Gravatar" plugin that comes out of the box with MantisBT and supports www.gravatar.com
- write your own plugin
Please use Search before posting and read the Manual
ejayrus
Posts: 2
Joined: 15 Mar 2021, 20:30

Re: Photos for user accounts

Post by ejayrus »

Ah right, I'm hoping writing a plugin will be quick.

I was hoping there would be a quick way to add custom "file type" field to user profile through admin panel but I can't seem to find it. So I will have to write the "user profile field" and the "file upload/save/retried" code from scratch? Any pointers to this code would be very valuable.

P.S. thanks for your quick reply.

Thanks.
atrol
Site Admin
Posts: 7958
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Photos for user accounts

Post by atrol »

Could be an option if you are using LDAP https://mantisbt.org/bugs/view.php?id=23392
Might help some way https://mantisbt.org/bugs/view.php?id=8257
Please use Search before posting and read the Manual
Post Reply