Author Information And Avatar - Question | JoomShaper

Author Information And Avatar

senolsengul

senolsengul

Template 2 years ago

Hello there,

After the theme and Helix Ultimate update, the editor information and avatar at the bottom of the article are not visible.

Joomla version: 3.10.3 Newsberg: 2.0.0 Helix Ultimate: 2.0.5

0
21 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #41560

I have updated this file. now your uploaded image will be appear on your single article author image.

templates/newsberg/html/layouts/joomla/content/blog/author_info.php

<?php
/**
 * @package Helix Ultimate Framework
 * @author JoomShaper www.joomshaper.com
 * @copyright Copyright (c) 2010 - 2021 JoomShaper
 * @license www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later
*/

defined ('JPATH_BASE') or die();

use Joomla\CMS\Factory;
use Joomla\CMS\Uri\Uri;
use Joomla\CMS\Language\Text;
use Joomla\CMS\User\UserHelper;

$template = HelixUltimate\Framework\Platform\Helper::loadTemplateData();
$params = $template->params;
?>

<?php if($params->get('author_info', 0)) : ?>
    <div class="article-author-information">
        <?php 
            $author = Factory::getUser( (int) $displayData->created_by );
            $profile = UserHelper::getProfile( (int) $displayData->created_by );
            $img =  (isset($profile->profilespaarchive['avatar']['avatar']) && $avatar = $profile->profilespaarchive['avatar']['avatar']) ? Uri::root(true) . $avatar : 'www.gravatar.com/avatar/' . md5(strtolower(trim($author->get('email')))) . '?s=64&d=identicon&r=PG';
        ?>
        <div class="d-flex">
            <div class="flex-shrink-0 media">
                <img class="me-3" src="/<?php echo $img; ?>" alt="<?php echo $author->name; ?>">
            </div>

            <div class="flex-grow-1 ms-3">
                <h5 class="mt-0"><?php echo $author->name; ?></h5>
                <p><?php echo $profile->profilespaarchive['description'] ?></p>
                <?php if(isset($profile->profile['aboutme']) && $profile->profile['aboutme']) : ?>
                    <div class="author-bio">
                        <?php echo $profile->profile['aboutme']; ?>
                        <?php if(isset($profile->profile['website']) && $profile->profile['website']) : ?>
                            <div class="author-website mt-2">
                                <strong><?php echo Text::_('HELIX_ULTIMATE_BLOG_AUTHOR_WEBSITE'); ?>:</strong> <a target="_blank" rel="noopener noreferrer" href="/<?php echo strip_tags($profile->profile['website'], ''); ?>"><?php echo strip_tags($profile->profile['website'], ''); ?></a>
                            </div>
                        <?php endif; ?>
                    </div>
                <?php endif; ?>
            </div>
        </div>
    </div>
<?php endif; ?>

-Thanks

1
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #41157

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Did you use gravatar account email on your Joomla site? If you don't Please create an account gravatar site and use the email a

-Thanks

0
senolsengul
senolsengul
Accepted Answer
2 years ago #41172

I tried with an account that has a gravatar account, the avatar appears as in the first picture. Avatar is visible but editor bio section is not.

Also, as in the second picture, why is it not visible that we have uploaded an avatar from the user profile editing area?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #41183

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Will you please provide me the Joomla administrator access to check the issue? I will check & get back to you soon. 

-Thanks

0
senolsengul
senolsengul
Accepted Answer
2 years ago #41347

Hello there

I am sending you the necessary information

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #41373

Unfortunately i have changed this username email address and replaced with my email address. It works fine.

username : Sertaç Kemiksiz

https://www.sertackemiksiz.com/videolar/inceleme/bmw-m3-g80-ve-bizim-oglan-rhino

Author archive pic display only author page

Note: If you use add blocker, Please disable the add blocker.

-Thanks

0
senolsengul
senolsengul
Accepted Answer
2 years ago #41537

Hello there,

Is it mandatory to use gravatar to show the author picture at the bottom of the article? Is it normal that the author image does not appear at the bottom of the article when the avatar is loaded in the user profile tab? Also, the author information does not appear in the avatar area.

On your demo site, the author bio appears in the avatar area, and when the author's name is clicked on, it goes to the previously written articles area. we have this problem on our site

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #41540

Article detail page image displayed from gravater and author listing page displyaed Author avatar.

Created a menu and please check

https://www.sertackemiksiz.com/authors

0
senolsengul
senolsengul
Accepted Answer
2 years ago #41543

I have created one like this before. I made an edit in my previous message before you replied, I partially explained the issue there.

https://www.sertackemiksiz.com/editorler/koray

0
senolsengul
senolsengul
Accepted Answer
2 years ago #41565

thank you very much for the help

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #41569

You are most welcome. Will you please spend sime to write a review about our product and support quality? 

https://extensions.joomla.org/extension/sp-page-builder/

0
senolsengul
senolsengul
Accepted Answer
2 years ago #41725

Hello there

I have made an assessment in this area before.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #41728

Thank you so much :)

0
senolsengul
senolsengul
Accepted Answer
2 years ago #50672

fter the Joomla 4 update, the author avatar does not appear again. Editors using Gravatar email addresses

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #50714

Did you checked the updated Template?

0
senolsengul
senolsengul
Accepted Answer
2 years ago #50721

I also uploaded the new template

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #50814

Please provide me the FTP acces & Joomla administrator access to check the issue. I will check & get back to you soon. Thanks

0
senolsengul
senolsengul
Accepted Answer
2 years ago #50850

hello, here is the necessary information.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #51364

I have forward your access our developer team. I hope they will fix as soon as possible. Thanks

1
R
Rixie
Accepted Answer
1 month ago #151850

Where do I access this information in Joomla 5. I need to change the avatar image for Gravatar... I using wimble template. I also changed the code given the above information.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #151999

I would request you to check this part. I hope this instruction will help you.

https://www.joomshaper.com/forum/question/8388#qa-answer-41560

-Thanks

0