Avatar picture on new issue
Moderators: Developer, Contributor
Avatar picture on new issue
Hi,
If someone creates a new issue, I don't see any avatar picture on this issue.
But when the same person creates a note on this or another issue, his/here picture is visible.
So, Is it possible to show the picture of the reporter ?
If not, is it possible to change some php to do so ?
Tx for any answer
If someone creates a new issue, I don't see any avatar picture on this issue.
But when the same person creates a note on this or another issue, his/here picture is visible.
So, Is it possible to show the picture of the reporter ?
If not, is it possible to change some php to do so ?
Tx for any answer
Re: Avatar picture on new issue
There is no customization option for it.
If you use version 1.2.11 you can add the following line after line 335 (should be print_user_with_subject( $tpl_bug->reporter_id, $tpl_bug_id );)
of bug_view_inc.php
If you use version 1.2.11 you can add the following line after line 335 (should be print_user_with_subject( $tpl_bug->reporter_id, $tpl_bug_id );)
of bug_view_inc.php
Code: Select all
print_avatar ( $tpl_bug->reporter_id );
Re: Avatar picture on new issue
Working !!!!!!!!!
Thanks.
Thanks.
-
- Posts: 68
- Joined: 06 Aug 2012, 18:13
Re: Avatar picture on new issue
Atrol is awesome!!
I love this. It works.
Great job Atrol.
Any other places where we can include gravatar integration????
I love this. It works.
Great job Atrol.
Any other places where we can include gravatar integration????
Re: Avatar picture on new issue
Seems you like looking at picturesnewmantisuser wrote: Any other places where we can include gravatar integration????
What about having them also at the "My Account" page, right beside the display "Logged in as", in "View Issues" page, in "Issue History", ....
Re: Avatar picture on new issue
Atol,
I would be nice to have this pictures on the things you mention here.
Could you give us some sources what to change and where to change...
love that...
Dirk
I would be nice to have this pictures on the things you mention here.
Could you give us some sources what to change and where to change...
love that...
Dirk
-
- Posts: 68
- Joined: 06 Aug 2012, 18:13
Re: Avatar picture on new issue
Yes please. The more places where we can integrate Gravatar the better.
Re: Avatar picture on new issue
I don't think that having them at every place where possible is a good idea.newmantisuser wrote:The more places where we can integrate Gravatar the better.
One more place where I agree is the "Assigned To" field which can be changed nearly the same way in bug_view_inc.php
Search for print_user_with_subject( $tpl_bug->handler_id, $tpl_bug_id ); and add the following line
Code: Select all
print_avatar ( $tpl_bug->handler_id );
Code: Select all
print_avatar ( $tpl_bug->handler_id, 40 );
-
- Posts: 1
- Joined: 06 Apr 2014, 22:57
Re: Avatar picture on new issue
Manti's Friends
I don't understand how to show my gravatar account in MantisBT 1.2.17.
My avatar appers only a monsterid, not my pic stored in gravatar account.
That's my config:
Files = config_inc.php and config_defaults_inc.php
$g_show_avatar = ON;
$g_show_avatar_threshold = ANYBODY;
$g_default_avatar = "%path%images/no_avatar.png";
My account in Gravatar is the same email and password configured in MantisBT
Which more steps must I configure in MANTIS to show my pic?
Tks
I don't understand how to show my gravatar account in MantisBT 1.2.17.
My avatar appers only a monsterid, not my pic stored in gravatar account.
That's my config:
Files = config_inc.php and config_defaults_inc.php
$g_show_avatar = ON;
$g_show_avatar_threshold = ANYBODY;
$g_default_avatar = "%path%images/no_avatar.png";
My account in Gravatar is the same email and password configured in MantisBT
Which more steps must I configure in MANTIS to show my pic?
Tks
Re: Avatar picture on new issue
Never ever change config_deafuklts_inc.php as you might get problems when updating. All configuration is done in config_inc.php and database.gabrielmcs wrote:[
Files = config_inc.php and config_defaults_inc.php
This option is obsolete and not used in MantisBT 1.2.17gabrielmcs wrote: $g_default_avatar = "%path%images/no_avatar.png";[/b]
I was not able to reproduce your problem with a fresh install of MantisBT 1.2.17
You should provide detailed, step-by-step instructions to reproduce the issue. Additional information listed below may also be useful:
- Exact version of MantisBT, PHP, Database, Web server and Operating System
- Relevant customizations (e.g. changes in config_inc.php, etc)
- Installed plugins or custom functions ?
- Was the MantisBT source code modified in any way ?
Re: Avatar picture on new issue
gabrielmcs wrote: $g_default_avatar = "%path%images/no_avatar.png";
How we can define default path to no avatar users?atrol wrote: This option is obsolete and not used in MantisBT 1.2.17
thanks!
Re: Avatar picture on new issue
Check setting $g_show_avatar at http://www.mantisbt.org/docs/master-1.2 ... IG.DISPLAYrgg wrote: How we can define default path to no avatar users?