Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 13d 01h 53m 31s
Claim 50% off
Solved Templates

Author Information and Avatar

Asked by senolsengul 5 years ago Last activity 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

Accepted answer

Marked as the solution
Toufiq Senior Staff

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 https://www.joomshaper.com
 * @copyright Copyright (c) 2010 - 2021 JoomShaper
 * @license http://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 : 'http://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

19 more replies

Toufiq Senior Staff

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

senolsengul Asked this

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?

Toufiq Senior Staff

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

senolsengul Asked this

Hello there

I am sending you the necessary information

senolsengul Asked this
5 years ago · edited

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

senolsengul Asked this

thank you very much for the help

Log in to reply.