BuddyDev

Search

Replies

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

  • Keymaster
    (BuddyDev Team)
    Posts: 25211

    Hi Mike,
    That’s good.

    You can safely remove the last closing tag.

    
    
    ?>
    

    Regards
    Brajesh

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

  • Keymaster
    (BuddyDev Team)
    Posts: 25211

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25211
    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: 25211
    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: 25211

    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: 25211
    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: 25211
    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: 25211
    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