Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on 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 database

    Do 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

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on 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

  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on in reply to: PHP upgrade #46610

    Hi David,
    Thank you for the reply.
    The plugins will be compatible with 8.0, 8.1 both.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on 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

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on in reply to: PHP upgrade #46605

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    Hi Dianne,
    Thank you for the patience.
    I had a look and I see that our plugin does not have the ability to remove sub tabs from group currently.
    At the time we had developed this plugin, there were no front end sub tabs for groups. We will ad dthe ability to remove sub tabs in near future.

    For the time being, if you need, I can share the code for the same. Though I see that this is going to be problemetic as the screen callback attached for the “send group Message” and “send private message” sub tabs and removing one will be breaking other unless we re-add that.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    Thank you Cristi.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on in reply to: [Resolved] [x] icon to delete subscriptions #46597

    Hi Mike,
    You are welcome.

    It seems someone had reported it earlier on bbPress trac and our topic was linked there too today.

    https://bbpress.trac.wordpress.org/ticket/3454

    Regards
    Brajesh