BuddyDev

Search

Replies

  • Participant
    Level: Yogi
    Posts: 1117

    Hi Brajesh, thanks for the clarification, and how to disable the notification.

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: BuddyPress Clear Notifications #48214

    Hi Brajesh, thanks, I appreciate that.

    To rule out that it could be something with my site, it would be good to know if the plugin is working to other users, or they are facing the same issue?

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: BuddyPress Clear Notifications #48125

    Hi Brajesh, after taking over wp-cron.php, the cron jobs are carried out, but there are no changes in the amount of notifications, do the old notifications added before installing Auto Clean Notifications plugin not be affected, so I have to clean up the database?

    https://imgur.com/6AEnCof

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: BuddyPress Clear Notifications #48117

    Hi Brajesh, I have disabled the WP cron job, and taked over cron through a task in my Plesk control panel instead.

    The notifications has not cleared yet, but lets see how it goes 😉

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: BuddyPress Clear Notifications #48116

    Hi Brajesh, thanks for the suggestion, I will take a look at that. But there must be something profound wrong with the WP system cron

    If I do an Auto Run, this error comes up:

    Failed to schedule the cron event bp_auto_clear_notifications_cleanup_task.

    Also the time stamp is completly wrong:

    1970-01-01 01:00:01
    53 years 1 month ago

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: BuddyPress Clear Notifications #48102

    Hi Brajesh, thanks for your help, I think you are right, something is not as it should be with the cron jobs also affecting notifications.

    https://imgur.com/jJRWgLx

    https://imgur.com/N2wXMZU
    Cron jobs is on in my wp-cron.php define( 'DOING_CRON', true );

    Why are these jobs not run?

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: BuddyPress Clear Notifications #48087

    Hi Brajesh, thanks for your answer. I want all notifications auto deleted after some time, so they do not fill up the database.

    Therefore I installed BuddyPress Auto Clean Notifications plugin, but it does not work.

    Even if I change the default deletion period to one day days, one of my test profiles still have 772 notifications, so it’s definitely not working.

    What can be wrong?

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: Dequeue bp-nouveau css #48031

    Hi Brajesh, thanks for this very valuable information, it’s good to know, what is right or wrong, since all the documentation I have found was about copying and editing the buddypress.css in child theme.

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: Dequeue bp-nouveau css #47998

    Hi Brajesh, I’m a bit confused wether or not to use buddypress.min.css or the Dequeue/Enqueue function.

    I read this at https://buddypress.org/support/topic/modifying-buddypress-min-css/

    “Now if you want to change any buddypress styles create a folder in child theme top level ‘buddypress/ in that a folder named /css/ so we have ‘buddypress/css/ in that css folder copy buddypress.css; now you have a full copy of the bp styles and BP will automagically find that file and use it instead of it’s original copy, you can now edit anything you care to in that file.”

    Can you clarify on this eventually provide some documentation on what is right and what is wrong, since there is a lot of confusion and different opinions on this topic?

    Regards
    Carsten

  • Participant
    Level: Yogi
    Posts: 1117
    calu on in reply to: Dequeue bp-nouveau css #47996

    Hi Brajesh, just to clear out any misunderstandings.

    You did mean that I should delete the Dequeue BP Nouveau code?

    Othervise it does not work for me.

    I have renamed the copy of buddypress.css to buddypress.min.css in my child theme, and apperently this is working.

    If I keep the code in my bp-custom.php, the buddypress.min.css is not loaded

    Regards
    Carsten

    
    /**
     * Dequeue BP Nouveau style
     */
    function buddydev_dequeue_nouveau_styles() {
    	wp_dequeue_style( 'bp-nouveau' );
    }
    
    add_action( 'wp_enqueue_scripts', 'buddydev_dequeue_nouveau_styles', 11 );