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.

gender search

6 years 4 months ago
Licenses:
JomSocial Active

Hi,

On each members profile page, under basic information, there is the gender information.
Whether male or female, this info is a search link.

How can i remove this link?
Keep the info but not have it as a searchable link.

Thank you

Attachments:
6 years 4 months ago
Licenses:
JomSocial Active

Try changing Visibility option for Gender field to Personal or Admin only.

6 years 4 months ago
Licenses:
JomSocial Active

Thank you,

What i meant is that i wish to remove the link, but keep the text.

6 years 4 months ago
Licenses:
JomSocial Active

You will need to "hack" core files so do this only if you feel comfortable doing it. I'm NOT responsible for any damage you do to your site.
Find file:
...\components\com_community\views\profile\view.html.php
and line 299 should look like:
$profileField[$key][$pKey] = CRoute::_('index.php?option=com_community&view=search&task=field&' . $field . '=' . urlencode($field));
Comment it out, to look like:
//$profileField[$key][$pKey] = CRoute::_('index.php?option=com_community&view=search&task=field&' . $field . '=' . urlencode($field));
Add 2 "/" characters at begging of that line.
Save file, refresh site. There should not be a link, just text.
In case of JomSocial update that file will be overwritten, so you will need to make this change after every JomSocial update.

6 years 4 months ago
Licenses:
JomSocial Active

Perfect, thank you very much!

Also, is it in any way possible to display the members AGE instead of the complete birth date on the profile page?

Thank you

6 years 4 months ago
Licenses:
JomSocial Active

Just change settings for that (Birthday) field and set
Display As - Age
Default value is Date.

The following user(s) said Thank You: Genséric
6 years 4 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Guys,

Thank you Vladimir for helping us..

I put a note here, so I will get the notification there if there is any another issue :)

thank you!

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