Skip to:
Content
Pages
Categories
Search
Top
Bottom

Mentions don’t work when bp_get_displayed_user_mentionname filter is used.

  • @ghera74

    Participant

    Hi!
    In my web application I need to change the mention name, since the users logs in using the email as username, with this result: @johndoegmail-com
    I used the filter bp_get_displayed_user_mentionname to obtain this: @john-doe, and that’s perfect for me.
    The problem is that the mention function still recognizes the original name, not the custom one.
    If I put @john-doe in a new activity update, nothing happen, no link, no notification.
    With the other one everything works.
    Is this normal? Is this what this filter hook is supposed to do?
    I’m sure no. Is there a better approach to achieve that?
    Thanks in advance for your help.

  • You must be logged in to reply to this topic.
Skip to toolbar