This topic has 1 reply, 2 voices, and was last updated 11 years by Laura.

  • Author
  • #50340
     rogeriovaz
    Participant

    Well,
    After I asked here and anybody answer me about it I got a solution for those who want to sum all notifications and show in live notification as facebook does, not just sum all “kinds” of notification as Kleo does.
    1 – go to the path “\wp-content\themes\kleo\lib\plugin-buddypress”.
    2 – Open the file: menu-notifications.php
    3 – Replace all lines “$count = ! empty( $notifications ) ? count( $notifications ) : 0;” for
    $count = ! empty( $notifications ) ? bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) : 0;

    By the way, this solution has no effect if you change the files in kleo-chield folder.

    #50616
     Laura
    Moderator

    Hello, you should never edit original files, so i suggest to create the following path in your child theme:
    lib/plugin-buddypress
    Create both folders
    Activate child theme and do the change in the file, then paste it there.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?