oldskoo1! Howdy partner.
Ok. in bp we have the ability to search blogs, groups and members.
/mu-plugins/bp-blogs/bp-blogs-classes.php search_blogs()
/mu-plugins/bp-groups/bp-groups-classes.php search_groups()
/mu-plugins/bp-friends/bp-friends-classes.php search_users()
In all cases you’ll probably have to uppercase or lowercase the search term $filter and the field(s) in the sql statement itself.
strtolower($filter) then something like:
WHERE LOWER(value) LIKE $filter
I don’t think I’ve ever used the bp search stuff. Thanks for finding this. I created a ticket on this: https://trac.buddypress.org/ticket/570
Search should be case insensitive.
bp can’t have case insensitive searches built into the core oldskoo1. unicode. Andy only fixed part of that ticket and I wondered why till just now. It occurred to me that we use unicode. Case conversions are language dependent. php up/low fns for strings trash unicode strings.
You can do that kind of thing but bp can’t release something that doesn’t adhere to localization possibilities.
No worries – the hack is easy enough
Thanks for letting me know
cheers