Quit or change avatar image
September 2015 Joomla Template
- GK User
- Tue Jan 12, 2016 10:23 am
Good morning,
I suposse it's a silly question, but how can i remove or change avatar image in "Autor perfil"?
Thanks.
I suposse it's a silly question, but how can i remove or change avatar image in "Autor perfil"?
Thanks.
-
- Junior Boarder
- teitbite
- Thu Jan 14, 2016 6:52 pm
Hi
In K2 user settings You will find a place to upload an avatar.
In K2 user settings You will find a place to upload an avatar.
-
- Moderator
- GK User
- Wed Jan 20, 2016 9:59 pm
I don't use k2 in this site.
iIt's a very simple site. Customer it`s going to create content too, so I need a "very easy" back-end. That's the reason why K2 isn't installed.
iIt's a very simple site. Customer it`s going to create content too, so I need a "very easy" back-end. That's the reason why K2 isn't installed.
-
- Junior Boarder
- teitbite
- Sun Jan 24, 2016 12:50 pm
Hi
I think avatar is only supported by K2. I cannot find a code for that in a different files than K2 related or a place to include it in user panel. Try look for a plugin whcih uses Gravatar image to put it into article informations.
I think avatar is only supported by K2. I cannot find a code for that in a different files than K2 related or a place to include it in user panel. Try look for a plugin whcih uses Gravatar image to put it into article informations.
-
- Moderator
- GK User
- Sun Jan 24, 2016 1:12 pm
Thank you Teitbite
I don't understand how avatar is showed if i don't use K2 component in this site.
I looked for in website archives and i have seen this line of code:
<img src="http://www.gravatar.com/avatar/<?php echo md5(strtolower(trim($author_obj->email))); ?>?s=40" alt="" />
in this file (line 187)
templates\gk_technews\html\com_content\article\default.php
I supposed image is showed by this line of code, but i don´t know how can i change it for another avatar image.
Can you help me?
I don't understand how avatar is showed if i don't use K2 component in this site.
I looked for in website archives and i have seen this line of code:
<img src="http://www.gravatar.com/avatar/<?php echo md5(strtolower(trim($author_obj->email))); ?>?s=40" alt="" />
in this file (line 187)
templates\gk_technews\html\com_content\article\default.php
I supposed image is showed by this line of code, but i don´t know how can i change it for another avatar image.
Can you help me?
-
- Junior Boarder
- teitbite
- Thu Jan 28, 2016 9:04 pm
Hi
Ok. Now I understand. It's a Gravatar indeed. Please edit files:
/layout/default.php and remove line 106:
than do the same in /html/com_content/article/default.php but from line 187.
Ok. Now I understand. It's a Gravatar indeed. Please edit files:
/layout/default.php and remove line 106:
- Code: Select all
<img src="http://www.gravatar.com/avatar/<?php echo md5(strtolower(trim($user->get('email')))); ?>?s=40" alt="" />
than do the same in /html/com_content/article/default.php but from line 187.
-
- Moderator
- GK User
- Tue Feb 09, 2016 9:21 pm
thank you very much
-
- Junior Boarder
- teitbite
- Wed Feb 17, 2016 11:31 am
Hi
Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
-
- Moderator
8 posts
• Page 1 of 1