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.

Search bye email issue

7 years 8 months ago
  • Romulo's Avatar
    Topic Author
  • Romulo
  • Offline
  • Junior Boarder
  • Posts: 214
  • Thank you received: 6
Licenses:
JomSocial Expired Socialize Expired

ISSUE SUMMARY:
Hi there, i can see that jomsocial search box in front end are not displaying result fore search user by email, even jomsocial backend

STEPS TO REPLICATE:
1 type email on socialize search box or jomsocial members back end
No show any user, but in joomla component user is working fine
2
3
4
5
RESULT
EXPECTED RESULT
BROWSER

7 years 8 months ago
Licenses:

Hi, Romulo.

Thank you for contacting us.
I assign developer to this thread.


- 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: Romulo
7 years 8 months ago
Licenses:

Hi,

please goto jomsocial backend > configuration > site > advanced search, as you can see Email Search using Respect Privacy.
regarding that setting, every user must set at they own profile setup if they want to search-able by email.

Regards

The following user(s) said Thank You: Romulo
7 years 8 months ago
  • Romulo's Avatar
    Topic Author
  • Romulo
  • Offline
  • Junior Boarder
  • Posts: 214
  • Thank you received: 6
Licenses:
JomSocial Expired Socialize Expired

Hi Albertus,
Yes that work for front end, but apply for admin to search by email in backend?

7 years 8 months ago
Licenses:

Hi,

please edit:
/administrator/components/com_community/models/users.php at line 180
change the code from

if (!empty($search) && $useSearch) {
    $searchQuery = 'WHERE (name LIKE ' . $db->Quote('%' . $search . '%') . ' '
            . 'OR username LIKE ' . $db->Quote('%' . $search . '%').' ) ';
}
to
if (!empty($search) && $useSearch) {
    $searchQuery = 'WHERE (name LIKE ' . $db->Quote('%' . $search . '%') . ' '
            . 'OR username LIKE ' . $db->Quote('%' . $search . '%') . ' '
            . 'OR email LIKE ' . $db->Quote('%' . $search . '%').' ) ';
}

we try to put this changes at jomsocial 4.2.5

Regards

The following user(s) said Thank You: Romulo
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