Replies
- Brajesh Singh on September 24, 2022 at 8:38 am in reply to: [Resolved] [x] icon to delete subscriptions #46633
Thank you Mike.
The fix in bbPress core will be much simpler than the above code.
Regards
Brajesh - Brajesh Singh on September 24, 2022 at 12:59 am in reply to: [Resolved] Eliminating the “What’s New” line on the user Profile->Activity #46629
Hi Mike,
That’s good.You can safely remove the last closing tag.
?>Regards
Brajesh - Brajesh Singh on September 23, 2022 at 11:36 pm in reply to: [Resolved] Connecting Xprofilefields to User insights #46628
Hi Ethan,
Thank you for the question.From your screenshots, It seems the user insights has the field types hard coded. Birthday is a sub type of date and they should either add the logic for calculating age or use xprofile_get_field_data to have it automatically formatted for them.
regards
Brajesh - Brajesh Singh on September 23, 2022 at 12:14 pm in reply to: [Resolved] BuddyPress Profanity Filter and BP Better Messages #46620
Hi Christian,
Thank you for reporting it.
The plugin has not been tested with the BP Better Message plugin. Please alloow us to check the BP Better Message and see if they offer filters for the purpose.I will write back within next 24 hours with the details.
Regards
Brajesh - Brajesh Singh on September 23, 2022 at 9:44 am in reply to: Moderation Tools: Error When Trying to Make a Report #46619
Hi,
Thank you for the details. Do you have same database server/version locally as on the site. I doubt it could be related to databaseDo you have access to php error log? If yes, Please share me the log(last few lines) after trying to report a new entry.
Regards
Brajesh - Brajesh Singh on September 23, 2022 at 9:43 am in reply to: [Resolved] xProfile Custom Field Types #46618
Hi Ed,
I am sorry to hear about your issue. Seems like the PMPro addon is causing some conflict. Please allow me to look at it and get back to you within next 24 hours with more details.Regards
Brajesh - Brajesh Singh on September 22, 2022 at 10:44 am in reply to: [Resolved] Create a tab (nav_item) that can display custom post type items of user. #46611
Hi Lefteris,
Thank you for the replies.
I had a look.You can update your function tot his to limit to certain roles.
function mb_bp_profile_menu_radio_shows() { if ( ! bp_is_user() ) { return; } $user = get_user_by( 'id', bp_displayed_user_id() ); if ( ! array_intersect( $user->roles, array( 'editor', 'administrator', 'author' ) ) ) { return; } bp_core_new_nav_item( array( 'name' => 'ΕΚΠΟΜΠΕΣ', 'slug' => 'shows', 'position' => 30, 'default_subnav_slug' => 'shows', 'screen_function' => 'producer_shows', ) ); }For cleaning up the second part, I will suggest using get_template_part to load content from your theme/child theme.
Here, i have loaded the file producer-content.php from theme(you can change as you please)
function producer_shows_content_screen() { get_template_part( 'producer-content' ); // loads producer-conten.php from theme. }and you can put the markup there in this template file.
Hope that helps.
Regards
Brajesh Hi David,
Thank you for the reply.
The plugins will be compatible with 8.0, 8.1 both.Regards
Brajesh- Brajesh Singh on September 22, 2022 at 9:04 am in reply to: Moderation Tools: Error When Trying to Make a Report #46608
Hi,
I am sorry for the issue. The only reason this may happen is when the database save fails.1. is the table prefix same as your other tables?
2. Which version of PHP and MySQL are you using(You can check it from site health).Please share the details and I will assist.
Regards
Brajesh Hi David,
Thank you for bringing it.We are in the process of testing our plugins with PHP 8.1. we will have a blog post about the same by end of this month.
Regards
Brajesh