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.

Member since display in profile etc.

8 years 4 months ago
  • James's Avatar
    Topic Author
  • James
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 1
Licenses:
JomSocial Active

ISSUE SUMMARY:

I have searched everywhere in your documentation and on the forum but cannot see how to do this.

How do I show the 'member since' and any other information in the members profile? I cannot see where to configure this.

Many thanks in advance

James

STEPS TO REPLICATE:
1
2
3
4
5
RESULT
EXPECTED RESULT
BROWSER

8 years 4 months ago
Licenses:

HI, James.

Thank you for contacting us.
I'm sorry but there are no options in configuration to enable this.
You'll need to call them yourself in profile layout code. It will require to call $user and registration date.
You should create override for this file: ROOT/components/com_community/templates/layouts/jomsocial/profile/focus.php.
Here is documentation regarding override creation: documentation.jomsocial.com/wiki/Customizing_Template


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
8 years 4 months ago
  • James's Avatar
    Topic Author
  • James
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 1
Licenses:
JomSocial Active

Thanks for your reply. Perhaps I am asking the wrong question. Is there anywhere in Jomsocial where this information can be displayed without editing the .php files? for example when I look in templates/jomsocial/layouts/profile.header.php (I found this in a previous post where someone wanted to remove the 'member since ' info) it seems that this information should be displayed, so why do I not see it?
regards
James

8 years 4 months ago
Licenses:

Hi, James.

You probably mean this code:

<li class="label"><?php echo JText::_('COM_COMMUNITY_MEMBER_SINCE'); ?></li>
<li><?php echo JHTML::_('date', $registerDate , JText::_('DATE_FORMAT_LC2')); ?></li>

It's not wrapped in any php condition so there is no switch to enable/disable it. Also, I'm not sure if this file is still used as I can't recall that such an info are displayed anywhere now.

Anyway, above code will work correctly when you add it to profile.focus.php.

Try to paste this code to profile.focus.php


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: James
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