Official support hours: from 9 AM — 6 PM Monday to Friday (GMT +2).
The support staff may not reply on technical inquiries on weekends; all requests will be answered necessarily during working days. Reply time: depending on the complexity of your issue, the answer can be provided between a few hours up to 48 hours. In the particular instances we will notify you if extra time will be required to solve the issue.

×
RND Kparadise 2.0 - update of travel template (14 Nov 2018)

Tourist and travel template Kparadise updated to version 2.0 and is compatible with Kunena 5.1.6. Do not miss this great template which has unique features: Images in Category and Masonry Grid.

Missing Join Date and Location

1 year 2 months ago #668 by fused.038
Missing Join Date and Location was created by fused.038
Hello,

When an User posts I do not see the join date (even though activated on Kunena settings) and the location is an Icon. I'd like it to be text how to do the template override?

1 year 2 months ago #669 by Eugene S.
Replied by Eugene S. on topic Missing Join Date and Location
Hi fused.038,
Join date is not displayed for users - this bug is confirmed. We will include this patch to the next version of templates.


To display location as text instead of the icon you need to modify the code.
Open this file:
components/comkunena/template/kvivid/layouts/user/item/summary/default.php at line ~ 102 and remove this code:
<?php if (!empty($profile->location)) : ?>
<div class="hasTooltip" title="<?php echo JText::('COM_KUNENA_MYPROFILE_LOCATION') ?>:<?php echo $this->escape($profile->location); ?>">
    <a href="https://maps.google.com/?q=<?php echo $this->escape($profile->location); ?>"
           target="blank" rel="nofollow noopener noreferrer"><i class="fa fa-map-marker" aria-hidden="true"></i></a>
</div>
<?php endif; ?>

then find line ~ 88:
<?php if ($this->config->showuserstats && $this->config->showranking) : ?>

And add the following code BEFORE line ~ 88:
<?php if (!empty($profile->location)) : ?>
<div>
    <strong><?php echo JText::('COM_KUNENA_MYPROFILELOCATION') ?>: </strong>
    <a class="hasTooltip" title="<?php echo JText::('COM_KUNENA_MYPROFILE_LOCATION') ?>:<?php echo $this->escape($profile->location); ?>" href="https://maps.google.com/?q=<?php echo $this->escape($profile->location); ?>"
           target="_blank" rel="nofollow noopener noreferrer"><?php echo $this->escape($profile->location); ?></a>
</div>
<?php endif; ?>

As a result, you will get this result:


Good luck!

Like our extensions for Kunena?
Add your voice to the JED listing with a 100 score review: bit.ly/2cIg8pF
Thanks!
Attachments:

1 year 2 months ago #677 by fused.038
Replied by fused.038 on topic Missing Join Date and Location
Thanks for the update, will a template override work as well instead of doing a core hack?

1 year 2 months ago #678 by Eugene S.
Replied by Eugene S. on topic Missing Join Date and Location
If you are going to path layout override, the effect should be the same.
What is override? You make a copy of existing layout and keep it in Joomla template and can modify the design, right? So, this patch can be used in your override ;-)

Like our extensions for Kunena?
Add your voice to the JED listing with a 100 score review: bit.ly/2cIg8pF
Thanks!

1 year 2 months ago #679 by fused.038
Replied by fused.038 on topic Missing Join Date and Location
Exactly thanks

Moderators: Eugene S.