Skip to:
Content
Pages
Categories
Search
Top
Bottom

@mentions – Where can I find the file?

  • Avatar of sawyerh
    SawyerH
    Participant

    @sawyerh

    I’m trying to add the @mentions section of a member’s page to the bottom of the profile page, however I can’t find where the @mentions file/ code snippet is located. Any ideas?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • members/single/member-header.php

    Avatar of sawyerh
    SawyerH
    Participant

    @sawyerh

    Hm, I didn’t see anything in that file. What I am looking for is the code snippet that will display the member’s public messages which they’ve received (@mentions).

    i believe that is in the activity-loop but if you look at the feed code

    bp_has_activities( 'max=50&display_comments=stream&search_terms=@' . bp_core_get_username( $bp->displayed_user->id, $bp->displayed_user->userdata->user_nicename, $bp->displayed_user->userdata->user_login ) ) )

    i guess you could access it directly as well

    Avatar of sawyerh
    SawyerH
    Participant

    @sawyerh

    Hm, I think we’re getting closer. I’m not sure how I would implement the above code?

    Thanks for your help so far, I really appreciate it.

    Avatar of sawyerh
    SawyerH
    Participant

    @sawyerh

    Still looking for an answer, any help is appreciated. Thanks

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

The topic ‘@mentions – Where can I find the file?’ is closed to new replies.