This topic has 1 reply, 2 voices, and was last updated 9 years by Abe.

  • Author
  • #50343
     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-child folder.

    Attachments:
    You must be logged in to view attached files.
    #50766
     Abe
    Keymaster

    Hi, we will review this and maybe add a hook so you can rewrite the function in your child theme for the next KLEO version

    Thanks

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

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?