Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Memberinformation

10 years 8 months ago
  • Dominik's Avatar
    Topic Author
  • Dominik
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 2
Licenses:
JomSocial Expired Socialize Expired

Hi,
is it possibe to show the information since the member is registred on the plattform under the stars in the coverphoto?

Regards,
Dominik

Attachments:
10 years 8 months ago
Licenses:

Hi,

you can do it by using jomsocial template override:
1. copy focus.php from /components/com_community/templates/jomsocial/layouts/profile/ to /templates/[frontend template]/html/com_community/layouts/profile/ (create this location if not exist)

2. edit copied file at line 344, find this code

if($badge->current && $config->get('enable_badges')) : ?>

<img src="<?php echo $badge->current->image;?>" alt="<?php echo $badge->current->title;?>" class="joms-focus__badges <?php echo ($profile->featured == true) ? 'featured' : ' '; ?>"/>

<?php endif; ?>
changing it to
if($badge->current && $config->get('enable_badges')) : ?>

<img src="<?php echo $badge->current->image;?>" alt="<?php echo $badge->current->title;?>" class="joms-focus__badges <?php echo ($profile->featured == true) ? 'featured' : ' '; ?>"/>
<p class="joms-focus__badges" style="top: 38px; left: 18px;">
    <?php echo JText::_('COM_COMMUNITY_MEMBER_SINCE'); ?><?php echo JHTML::_('date', $registerDate , JText::_('DATE_FORMAT_LC2')); ?>
</p>

<?php endif; ?>

Regards

10 years 8 months ago
  • Dominik's Avatar
    Topic Author
  • Dominik
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 2
Licenses:
JomSocial Expired Socialize Expired

HI,
the date work.
i have one problem :)

Regards
Dominik

Attachments:
10 years 8 months ago
Licenses:

Hi,

please check it. I changed it to

if($badge->current && $config->get('enable_badges')) : ?>

    <img src="<?php echo $badge->current->image;?>" alt="<?php echo $badge->current->title;?>" class="joms-focus__badges <?php echo ($profile->featured == true) ? 'featured' : ' '; ?>"/>
    <p class="joms-focus__badges <?php echo ($profile->featured == true) ? 'featured' : ' '; ?>" style="top: 38px;">
        <?php echo JText::_('COM_COMMUNITY_MEMBER_SINCE'); ?><?php echo JHTML::_('date', $registerDate , JText::_('DATE_FORMAT_PROFIL_MEMBER_SEIT')); ?>
    </p>
 
<?php endif; ?>

Regards

The following user(s) said Thank You: Dominik
10 years 8 months ago
  • Dominik's Avatar
    Topic Author
  • Dominik
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 2
Licenses:
JomSocial Expired Socialize Expired

Hi,
is it possible to display the text in the joms-focus__link Bar.
Please look at the sreenshot.

Regards
Dominik

Attachments:
10 years 8 months ago
Licenses:

Hi,

Done, please check it.
I put this code

<li><?php echo JText::_('COM_COMMUNITY_MEMBER_SINCE'); ?><?php echo JHTML::_('date', $registerDate , JText::_('DATE_FORMAT_PROFIL_MEMBER_SEIT')); ?></li>
at /templates/socialize/html/com_community/layouts/profile/focus.php line 374

Regards

The following user(s) said Thank You: Dominik
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW