This topic has 16 replies, 3 voices, and was last updated 9 years by Radu.

  • Author
  • #134266
     aatefsoliman
    Participant

    Hi,

    I have 2 issues related to the live notifications under Kleo in the menu, firstly for some reason it doesn’t appear in the menu when I view the site using the mobile. please check the first 2 attached images

    Secondly wheneven I set an icon to it in the menu and save it automatically remove the icon again! please check the last 2 images

    Can you please support with that?

    Best regards,

    #134307
     Radu
    Moderator

    Hi,

    I don’t think there is a theme problem and I think the issue it’s caused by some plugin or by minifying or cache, so please purge empty all caches, de-activate minifying for all resources also the cache, then de-activate rest of the plugins except BuddyPress and try to reproduce that bug and let me know

    Try also with the child theme de-activated if you using it.

    Cheers
    R.

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

    Hi Radu,

    Admin Credentials

    username: kleosupport
    password: Temp@ccessKle0supp

    I tried nearly everything, disabling caching and all plugins except Buddypress, disabling the child theme but still the same result.
    Even after having only Buddypress and the theme activated I edited the menu and added again “live notification” for the list of Kleo but still it’s not displayed in the menu on the mobile phone.

    By the way I had this issue long time ago even before start enabling caching on the site.

    Please advise.

    Best regards,

    #134459
     Radu
    Moderator

    Hi,

    It’s a normal behaviour on mobile for notifications item to be hidden you can show the item by using this css

    COPY CODE
    
    
    @media (max-width: 991px) {
    .kleo-toggle-menu, .kleo-toggle-menu .kleo-toggle-submenu {
        display: block !important;
    }}
    
    

    Cheers
    R.

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

    Hi,

    I see the problem, for the icon that is not saving, please ask your hosting support to change the “max_input_vars” value to something bigger, like 5000

    Let me know

    Cheers
    R.

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

    Hi Radu,

    I tried the provided css code, it worked however the notification in the menu is displayed incorrectly as the words “no notifications” appear as well, please check first attached image.

    Is there a reason why it’s by default disabled, from the end user point of view how will they know about new notification while using the site on the mobile?
    On PC it’s quite clear and the live notification is even displaying additional number for new notifications and this is really great, how to achieve the same on the mobile phone while browsing the site?

    For the max_input_vars I contacted my hosting support team and they changed it to 5000, however Kleo theme is still seeing it as 1000 and I can’t set an icon.

    I verified as well the value for max_input_vars using http://sharemit.net/phpinfo.php, please check last 2 attached images.

    Awaiting your response.

    Best regards,

    #134568
     Radu
    Moderator

    Hi again,

    Please add this code to wp-content/themes/kleo-child/functions.php

    COPY CODE
    
    add_filter( 'kleo_theme_options_ajax', '__return_false' );
    

    Note : child theme needs to be installed and active

    Then change some settings in theme options and press save and check if the changes apply

    The notifications are hidden on mobile because for the desktop has build to work on hover.. and on the mobile devices you don’t have hover because you don’t have mouse.

    Cheers
    R.

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

    Hi Radu,

    I added the mentioned code and did some changes in the theme settings and the changes apply but I still have the same issue of adding an icon to the menu, not working.

    By the way I have uninstalled the whole theme and installed it again but still in the Kleo welcome page PHP Max Input Vars is 1000

    Not sure what else is missing.

    For the mentioned point with the live notification and the hover thing, usually what is used instead then to display the notification on the mobile devices while the end users are browsing the site?

    Best regards.

    #134683
     aatefsoliman
    Participant

    By the way it seems during your investigation your have installed a plugin called Transient Cleaner, Is it still needed?

    #134684
     aatefsoliman
    Participant

    Further trials from my side

    I installed menu icons plugin https://wordpress.org/plugins/menu-icons/ and tried using it, again the icons don’t appear however when I change to a different theme the assigned icon appears, please check attached image.

    The below is mentioned in the FAQ section for the plugin

    The icons are not showing!

    Make sure that your active theme is using the default walker for displaying the nav menu. If it’s using its own custom walker, make sure that the menu item titles are filterable (please consult your theme author about this).

    #134986
     Radu
    Moderator

    Hi,

    I don’t need the transient cleaner, for the mobile, a notification system can be facebook style… with a number of notifications over an icon we don’t have a quick solution for this.

    Have you installed that plugin to can bypass that problem ?

    Provide FTP and admin credentials to investigate more..

    Cheers
    R.

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

    Hi there,

    I experienced a similar issue with the menu item disappearing when just using an icon. I got around it yesterday by just using a couple of empty spaces as a ‘label’. See attached screen shot. But then when the notifications were working I received the following from WP Engine (hosting):

    Hello there,
    I am reaching out to you on behalf of our Technical Operations team at WPE due to large amounts of 504 errors being generated on the server. Looking into it, these seem to be originating from the purplefruitinstall due to high admin ajax requests using the kleo_bp_notifications_refresh¤t action. These are coming from the kleo theme. I would highly recommend reaching out to your theme developer to see if this could be adjusted so as to lower the amount of admin ajax requests this is creating, to assist in stabilizing resources being used on the server.
    If you have any further questions or concerns, please feel free to let us know and we would be happy to help.
    Regards,

    So I replied:

    Thanks – I’ve disabled that theme feature now – I had turned it on only yesterday.
    I will reach out to the Kleo developers as it seemed like such a good feature (it provides live notifications for our membership site on the menu bar).
    I wonder if, because I just turned it on yesterday, whether it was trying to backdate notifications. That would make sense of there being so many.
    I will ask the theme makers.
    Thanks and sorry for the issue!
    Anna

    We do have approx 3000 members of our site – though only probably a max of 50 active at one time.

    We are yet to upgrade to the latest version of Kleo (will be doing that soon) but I wanted to check whether you were aware of this issue, whether the feature is suitable for large membership sites etc?

    Thanks

    Anna

    #147823
     Radu
    Moderator

    Hi @annamason

    In the past we had a bug about this kleo_bp_notifications_refresh action but now it’s solved the problem was 0 value wasn’t applies in theme options, using 0 value you can de-activate the notifications refresh.

    If you have so many active members I recommend you to change the refresh interval from 20 seconds ( 20000 ) to a higher value like 80 seconds ( 80000 )

    The change can be made from wp-admin -> theme options -> buddypress

    Cheers
    R.

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

    thanks for this Radu, I will pass this on to my maintenance team and hopefully we can get this resolved. Do you think it is worth trying to make the changes you suggest with the current version of Kleo or wait until we have updated it?

    Thanks

    Anna

    #147826
     Radu
    Moderator

    What’s your current version? anyways put a higher value like 80,90 or 300 seconds time between notifications check.

    I recommend you to increase the value until you update the KLEO theme to latest version.

    Cheers
    R.

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

    We’re seriously out of date at: 3.0.9

    We have a very complex site but the updating will be done late January.

    Thanks

    Anna

    #147830
     Radu
    Moderator

    I see, in this case most probably if you will put 0 value in notification settings this will not be disabled and yours should put a higher value like 15 minutes but converted to milliseconds in this way the notification check for each user will be made once at 15 minutes or depends by the value that you put there.

    Cheers
    R

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

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?