Skip to:

Final resolution for Autosuggest for Display Names?

  • jaemaz


    Hey All,

    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:
    (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 /directory-to-plugin/class-bplabs-autosuggest.php on line 83

    There is also workaround posted here: by @umagokhale, which advocates changing the display names to the usernames across the site, but in my case that isn’t an option.

    In any case, the bp-labs group that @matt started is closed now, so I was hoping that someone had some insight into how this could be addressed. I’m running WP3.5.1 Multisite and Bpress 1.7.2 if that matters.

    Many thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Final resolution for Autosuggest for Display Names?’ is closed to new replies.
Skip to toolbar