• Toby

    (@tobyhawkins)


    Great plugin, thanks!

    I noticed on my installation that when visiting other member’s profiles that their notification was showing on the menu, not mine.

    Not sure if this is installation specific, but I fixed it by adding bp_loggedin_user_id() to the counts section of wp-content > plugins > bp-direct-menus > inc > frontend-noajax.inc.php:

    // Plug In Buddy Press Counts
    $msgcount = messages_get_unread_count( bp_loggedin_user_id() );
    $friendcount = friends_get_total_friend_count( bp_loggedin_user_id() );
    $groupcount = groups_get_total_group_count( bp_loggedin_user_id() );
    $notificationscount = bp_notifications_get_unread_notification_count( bp_loggedin_user_id() );

    https://wordpress.org/plugins/bp-direct-menus/

  • The topic ‘Notification count incorrect when viewing other member's profiles’ is closed to new replies.