Replies
- calu on February 5, 2023 at 10:58 am in reply to: BuddyPress Components do not have associated WordPress Pages: Gallery. #48280
Hi Brajesh, thanks for the clarification, and how to disable the notification.
Regards
Carsten 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
CarstenHi 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?
Regards
CarstenHi 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
CarstenHi 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 agoRegards
CarstenHi 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/N2wXMZU
Cron jobs is on in my wp-cron.phpdefine( 'DOING_CRON', true );
Why are these jobs not run?
Regards
CarstenHi 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
CarstenHi 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
CarstenHi 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
CarstenHi 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 );