Replies
- Tosin on November 11, 2022 at 11:26 am in reply to: [Resolved] Redirect users immediately after profile photo upload #47293
Tested this again and it now works there was a conflict with perfmatters (https://perfmatters.io/) plugin
I also noticed that there is a redirect when photo is deleted, how can I stop this the redirect should only work for photo upload and not photo delete.
Thanks
- Tosin on November 11, 2022 at 11:22 am in reply to: [Resolved] How to disable all activity meta buttons #47292
Thanks Brajesh this is now resolved
- Tosin on November 10, 2022 at 6:10 pm in reply to: [Resolved] How to disable all activity meta buttons #47286
The filters are ok
I also don’t want the comments to be recorded in database
For example when a user comments on a blog post, buddypress should not record a corresponding activity for the comment.
Thanks
This plugin was the problem https://wordpress.org/plugins/performance-lab/
- Tosin on November 9, 2022 at 1:43 pm in reply to: [Resolved] How to disable all activity meta buttons #47273
im using the legacy template
I tried updating to the new 11.0 beat 1 maybe the issue might be resolved their but this is the debug error im getting
this is the stack trace
Stack trace: #0 /home/site.com/public_html/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php(3580): array_filter() #1 /home/site.com/public_html/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php(3515): bp_get_send_public_message_button() #2 /home/site.com/public_html/wp-includes/class-wp-hook.php(308): bp_send_public_message_button() #3 /home/site.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #4 /home/site.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/site.com/public_html/wp-content/themes/klein/buddypress/members/single/member-header.php(87): do_action() #6 /home/site.com/public_html/wp-includes/template.php(785): require('...') #7 /home/site.com/public_html/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(222): load_template() #8 /home/site.com/public_html/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(67): bp_locate_template() #9 /home/site.com/public_html/wp-content/themes/klein-child/functions.php(1276): bp_get_template_part() #10 /home/site.com/public_html/wp-content/themes/klein/buddypress-full-content.php(9): klein_bp_member_head() #11 /home/site.com/public_html/wp-includes/template.php(785): require('...') #12 /home/site.com/public_html/wp-includes/template.php(718): load_template() #13 /home/site.com/public_html/wp-includes/general-template.php(204): locate_template() #14 /home/site.com/public_html/wp-content/themes/klein/buddypress.php(28): get_template_part() #15 /home/site.com/public_html/wp-includes/template-loader.php(106): include('...') #16 /home/site.com/public_html/wp-blog-header.php(19): require_once('...') #17 /home/site.com/public_html/index.php(17): require('...') #18 {main} thrown in /home/site.com/public_html/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php on line 3580
The activity comment gets deleted only when the delete button link is opened in new browser tab
The activity comment does not delete with ajax while staying in the same browser tab
Maybe 🤔 there is a bug in buddypress
I also just noticed that if I right click on the activity comment button link and open it in new browser tab then the comment delete successfully
Please note that the main activities are deleting what is not deleting is the activity comments