Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • antoinegdln4
    Participant

    @antoinegdln4

    I only know the method to put the notifications in the main menu… :/
    By the way, this topic is solved, i got the answer on overflostacks…


    antoinegdln4
    Participant

    @antoinegdln4

    No Help ? :/


    antoinegdln4
    Participant

    @antoinegdln4

    My question is “How can i include this code

    $notifications = bp_core_get_notifications_for_user( bp_loggedin_user_id(), ‘object’ );
    $count = !empty( $notifications ) ? count( $notifications ) : 0;
    $alert_class = (int) $count > 0 ? ‘pending-count alert’ : ‘count no-alert’;
    $menu_title = ‘‘ . $count . ‘‘;

    (who can get the class [and color] i want) to my previous code…. ”
    Thanks !

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