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.

Advanced Member Search - 2 problems spotted

6 years 9 months ago
  • Louise's Avatar
    Topic Author
  • Louise
  • Offline
  • Fresh Boarder
  • Posts: 21
  • Thank you received: 2
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi,

We've recently been testing the Advanced Search feature (labelled: "Search by city, region, type, role and/or subject area"), and spotted a couple of issues.

Issue #1: Even when a field is specified as "Admin Only" in the privacy settings, it still shows up in this dropdown and still appears to be searchable for normal members (non-admins).

Issue #2: Fields that are "Select" lists have their values formatted to 'sentence-case' in this dropdown. This is not good for certain types of fields like 'Region' fields where we want it to show "Greater London" rather than "Greater london" or "New York City" rather than "New york city".

I can't find any settings in the software that change these outcomes so please let me know if there's a fix.

Many thanks!

6 years 9 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

Thank you for reporting this is bug from us..

cheers!

6 years 9 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Fix case sensitive issue
- open this file components/com_community/templates/jomsocial/layouts/search.advancesearch.php
- find this code

list +='<option value="<?php echo addslashes(CStringHelper::trim($dataValue)); ?>"><?php echo ucfirst(strtolower(addslashes(JText::_(CStringHelper::trim($displayData))))); ?></option>';
- replace to
list +='<option value="<?php echo addslashes(CStringHelper::trim($dataValue)); ?>"><?php echo addslashes(JText::_(CStringHelper::trim($displayData))); ?></option>';

thank you!

6 years 9 months ago
  • Louise's Avatar
    Topic Author
  • Louise
  • Offline
  • Fresh Boarder
  • Posts: 21
  • Thank you received: 2
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Thank you. This has fixed the case-sensitive issue!

Any idea what the fix is to stop 'admin-only' fields from showing up in the public list and being publically searchable?

Thanks.

6 years 9 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

For that fix please you upgarde to version 4.4.2

6 years 9 months ago
  • Louise's Avatar
    Topic Author
  • Louise
  • Offline
  • Fresh Boarder
  • Posts: 21
  • Thank you received: 2
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Thank you, the upgrade was great.

However, we have another issue with the "Search by city, region, type, role and/or subject area" part that the upgrade didn't fix...

Put simply, the correct results aren't showing up when searching by specific fields. Name, First Name and Last Name searches all seem to work fine, but the rest of the fields don't - either returning no result found (even when we know the members are there) or returning the same few results no matter what you actually searched for!

I've been through and checked as much of the system and settings as I can but can't find a problem. Any idea what's going wrong?

6 years 9 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Louise,

For all respect, would you mind create that new issue on another topic, please? so we can focus the issue on each ticket.

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