started the topic Final resolution for Autosuggest for Display Names? in the forum How-to & Troubleshooting 2 years, 1 month ago
I am looking for a way to make the autosuggest feature of bp-labs 1.3 work using display names. So that if I want to @mention John Smith (jsmith) I could type in either the string @joh or @jsmi, and it would present me with a list of Display Names that apply to both to choose from.
There are three threads I found that present strategies, but none of them are working.
This one by @mwbarker:
(Results in an error)
This one by @itchesavvy: https://buddypress.org/support/topic/display-name-autosuggest/
(The string ends before it is made clear what the final edited …autosuggest.php file should look like. I gave this a shot for an hour, but was getting the same error as with the other option:
Warning: preg_replace() [function.preg-replace]: Compilation failed: nothing to repeat at offset 0 in…>>>>[Read more]
@itchesavvy I edited my code as per the modification above. The Autosuggest works fine with the display name, however when I click on one of the results, nothing gets written in the box. Only a space comes after […]
@itchesavvy Not recently active