Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • martin@easywebsites.ky
    Participant

    @martineasywebsitesky

    I was able to add notification message.

    I added this code in bp-activity-functions.php

    case ‘request_accepted’:
    $activity_id = $item_id;
    $poster_user_id = $secondary_item_id;
    $at_mention_link = bp_loggedin_user_domain() . bp_get_activity_slug();
    $at_mention_title = sprintf( __( ‘@%s Mentions’, ‘buddypress’ ), bp_get_loggedin_user_username() );

    if ( (int) $total_items > 1 ) {
    $text = sprintf( __( ‘You have %1$d pet requests’, ‘buddypress’ ), (int) $total_items );
    $filter = ‘bp_activity_multiple_at_mentions_notification’;
    } else {
    $user_fullname = bp_core_get_user_displayname( $poster_user_id );
    $text = sprintf( __( ‘%1$s accepted your pet request’, ‘buddypress’ ), $user_fullname );
    $filter = ‘bp_activity_single_at_mentions_notification’;
    }
    break;

    my problem is I need to remove the notification once clicked.

    Do you know where it is triggered?


    martin@easywebsites.ky
    Participant

    @martineasywebsitesky

    Hi,

    When posting on my friend’s wall, I see my post with his/her name like @username HEY!!!.

    But when I check my personal page, I see duplicate post. @username HEY!!! and HEY!!!.

    It is saving two posts in database with and without @username.

    Here is the sample link. You can see duplicate post message “IDOL”.

    http://www.forbesbark.com/members/dcoy

    Thanks!
    -Martin

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar