Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

[SOLVED] Search Function Not Working

12 years 3 months ago - 12 years 3 months ago #212338 by mattchew61
[SOLVED] Search Function Not Working was created by mattchew61
Hi,

My CB user search does not return results as expected. I have the fields "name" and "firstname" enabled for search. When I go to the front end and search for a registered user, the user DOES NOT appear if I search with "firstname" but DOES appear when I search with that user's full name. This is a problem because my users are searching for each other and can't find one another.

Thanks for your help!

Matthew
Attachments:
Last edit: 12 years 3 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48709
  • Thanks: 8319
  • Karma: 1447
12 years 3 months ago #212364 by krileon
Replied by krileon on topic Re: Search Function Not Working
You have your userlist search mode set to "Simply is" instead of "Simply any". Edit your userlist, scroll to the bottom, and set "Search crieteria:" to "Simple Any word match: Only 'any of' and ranges (WARNING: can be slow)".


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

12 years 3 months ago #212369 by mattchew61
Replied by mattchew61 on topic Re: Search Function Not Working
Ah, that worked--thanks!

Please Log in or Create an account to join the conversation.

  • cberry1971
  • cberry1971
  • OFFLINE
  • Posts: 125
  • Thanks: 7
  • Karma: 0
12 years 1 month ago #215727 by cberry1971
Replied by cberry1971 on topic Re: Search Function Not Working
I am struggling with this too. I have first and last name fields published.

I have the userlist settings per comments above.

However the [name] field is unpublished because of the configuration??

I want to be able to search by John Doe not just "john" or "doe"
Attachments:

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48709
  • Thanks: 8319
  • Karma: 1447
12 years 1 month ago - 12 years 1 month ago #215764 by krileon
Replied by krileon on topic Re: Search Function Not Working
Name field is only used if you use single name format. Have firstname and lastname fields configured for searching in CB Search Bot and the search value they input will check both fields. Note if you want to search by full name then you need to set "Search for" to "Any words". You can't search for exact match unless you have a single field that combines the name (name field).


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 12 years 1 month ago by krileon.

Please Log in or Create an account to join the conversation.

  • cberry1971
  • cberry1971
  • OFFLINE
  • Posts: 125
  • Thanks: 7
  • Karma: 0
12 years 1 month ago - 12 years 1 month ago #215777 by cberry1971
Replied by cberry1971 on topic Re: Search Function Not Working
maybe that is it?? I see "CB Search Bot" in Add Ons section. But when I click "download", it takes me to Professional Downloads section and I can't find it. I have CB Search plugin installed and settings include First Name, Last Name

Screenshot attached.

Maybe the CB Search plugin is what you mean which then is crazy that I can't search by full name. If that is the case, is there a way to have "any words" set to default? Otherwise, user searches for "john doe" and

1. finds nothing and gives up
2. searches for "john" or "doe" and finds
3. Is search friendly enough to know to check the "any words" button and search again.
Attachments:
Last edit: 12 years 1 month ago by cberry1971.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum