Skip to:
Content
Pages
Categories
Search
Top
Bottom

Mention User without Status Update


  • Nick Watson
    Participant

    @nickbwatson

    Okay, so I’ve just figured out a way to go to a users page and commenting to them without having to go back to your profile to do so (using @username). You can check out the topic here.

    My issue now is that I really hate how when you want to mention someone, it has to update your status as well.

    IMO they should be separate things. So how can I get it so that when I make a mention, it doesn’t update my status as well?

    Basically I have duplicated the “post-form.php” and called it “post-friend-form.php”. And then within the users activity feed, I have it set so that it will show “post-friend-form.php” on other users, and “post-form” on your own.

    If you need any more info, just let me know.

    I really would like to get this done.

Viewing 3 replies - 1 through 3 (of 3 total)

  • r-a-y
    Keymaster

    @r-a-y

    The easiest thing is probably to wipe out the status if there’s an @mention.

    Use this filter:

    bp_get_member_latest_update

    And do a check to see if there’s an @mention; if there is, return a blank string, if there isn’t, return the full update.


    Nick Watson
    Participant

    @nickbwatson

    Yeah I’ll try that, but if it returns the blank string, doesn’t that mean it will just wipe the status?


    r-a-y
    Keymaster

    @r-a-y

    Yes, unless you find out a way to pull the previous activity update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Mention User without Status Update’ is closed to new replies.
Skip to toolbar