Small images for each user
Moderators: Developer, Contributor
Small images for each user
On the sample MantisBT tracker from your home page, the users have small pictures of them.
How is this done?
How is this done?
Re: Small images for each user
Check settings $g_show_avatar and $g_show_avatar_threshold
https://www.mantisbt.org/docs/master/en ... ig.display
https://www.mantisbt.org/docs/master/en ... ig.display
Re: Small images for each user
Thanks. Will look.
Can these been set through interface?
Can these been set through interface?
Re: Small images for each user
I can't work it out. I have the Avatar plugin installed anyway. But I can't see how to set this through IDE and no examples of possible values in docs.
Re: Small images for each user
I found this:
http://www.mantisbt.org/forums/viewtopi ... tar#p61701
So now I have:
So how do I set the avatar images?
http://www.mantisbt.org/forums/viewtopi ... tar#p61701
So now I have:
Code: Select all
# === Avatars
$g_show_avatar = ON;
$g_show_avatar_threshold = REPORTER;
Re: Small images for each user
Like told in the documentation, the plugin supports Gravatar https://en.gravatar.com
Re: Small images for each user
I am sorry but as a user that doesn’t mean much to me. I just looked and am bombarded by a whole website. One assumes a simple option to choose a image per user via their profile.
I will try to understand what I must do by looking more at their site.
I will try to understand what I must do by looking more at their site.
Re: Small images for each user
Confused. I linked my wordpress account.
I added a image.
I added my mantis email address.
Still no image in mantisbt.
I added a image.
I added my mantis email address.
Still no image in mantisbt.
Re: Small images for each user
Do you get no image or an image like the one at https://www.mantisbt.org/bugs/view.php?id=22456#c55883 ?
Re: Small images for each user
It was my fault. I did not realise I could set a image per email address. I thought it was a group of email addresses for one image.
All good now.
That said, was there a interface option for these? I have to edit the config file manually to add them. Could I have done it visually?
All good now.
That said, was there a interface option for these? I have to edit the config file manually to add them. Could I have done it visually?
Re: Small images for each user
Yes, by using the generic page for options: Manage > Manage Configuration > Configuration Reportajtruckle wrote:Could I have done it visually?
There is a section "Create Configuration Option"
Re: Small images for each user
I see. But, this doesn't seem to let me see what all the current options are?
Since we know I have input two new options I can't see them actually listed for modification. Or am I using the interface wrong?
Since we know I have input two new options I can't see them actually listed for modification. Or am I using the interface wrong?
Re: Small images for each user
The UI does not list any options from config_inc.php (file), it lists just the options set by any of the configuration pages that store their settings in database.
Mantis checks first for the setting in database, after that in config_inc.php and finally in config_defaults_inc.php.
Mantis checks first for the setting in database, after that in config_inc.php and finally in config_defaults_inc.php.