|
|
Joined: Nov 2004
Posts: 198
Member
|
Member
Joined: Nov 2004
Posts: 198 |
I was trying to find my members with the Member Custom Title "AI Subscriber" using Advanced search Options: "Text Field Search" it didn't find anything.
I then tried searching for #FFCC33 in the Name Color field and again, the search came up with nada.
The description for Text Field Search says This field searches text in the Occupation, Location, Hobbies, Bio and Custom fields.
What's going on?
Member since November 2004 Gold Member since Feb 2008
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Well, I believe that "custom fields" exclude the "custom title", I think it's just the 4 "whatever you want" fields in the profile...
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
In admin/membersearch.php: $extra .= " and (t2.USER_OCCUPATION LIKE '%$fieldsearch%' OR t2.USER_LOCATION LIKE '%$fieldsearch%' OR t2.USER_HOBBIES LIKE '%$fieldsearch%' OR t2.USER_EXTRA_FIELD_1 LIKE '%$fieldsearch%' OR t2.USER_EXTRA_FIELD_2 LIKE '%$fieldsearch%' OR t2.USER_EXTRA_FIELD_3 LIKE '%$fieldsearch%' OR t2.USER_EXTRA_FIELD_4 LIKE '%$fieldsearch%' OR t2.USER_EXTRA_FIELD_5 LIKE '%$fieldsearch%') ";
Doesn't hit the custom title field; so you'll have to add it like: $extra .= " and (t2.USER_OCCUPATION LIKE '%$fieldsearch%' OR t2.USER_LOCATION LIKE '%$fieldsearch%' OR t2.USER_HOBBIES LIKE '%$fieldsearch%' OR t2.USER_CUSTOM_TITLE LIKE '%$fieldsearch%' OR t2.USER_EXTRA_FIELD_1 LIKE '%$fieldsearch%' OR t2.USER_EXTRA_FIELD_2 LIKE '%$fieldsearch%' OR t2.USER_EXTRA_FIELD_3 LIKE '%$fieldsearch%' OR t2.USER_EXTRA_FIELD_4 LIKE '%$fieldsearch%' OR t2.USER_EXTRA_FIELD_5 LIKE '%$fieldsearch%') ";
|
|
|
|
Joined: Nov 2004
Posts: 198
Member
|
Member
Joined: Nov 2004
Posts: 198 |
ah, thanks Gizmo.
The description for that feature should probably change to be a bit more clear or the feature should change to include the custom title in the custom field search.
Member since November 2004 Gold Member since Feb 2008
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
0 members (),
764
guests, and
261
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|
|