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: 25313
    Brajesh Singh on in reply to: Disabling Buddypress Group Deletion Non Site Admin #17804

    Hi Kerem,
    Thank you for posting.

    BuddyPress 3.0 has changed the way functions are loaded and this function is loaded conditionally now. That might be the reason.

    I was unable to recreate it. Still, you can use the following code to avoid any such notice.

    
    /**
     * Disable group deletion by non site admins.
     */
    function buddydev_disable_group_delete_by_non_site_admin() {
    
    	if ( ! bp_is_group() || is_super_admin() ) {
    		return;
    	}
    
    	$parent = groups_get_current_group()->slug . '_manage';
    	bp_core_remove_subnav_item( $parent, 'delete-group', 'groups' );
    
    	// BuddyPress seems to have a bug, the same screen function is used for all the sub nav in group manage
    	// so above code removes the callback, let us reattach it
    	// if we don't , the admin redirect will not work.
    	if ( function_exists( 'groups_screen_group_admin' ) ) {
    		add_action( 'bp_screens', 'groups_screen_group_admin', 2 );
    	}
    
    }
    
    add_action( 'groups_setup_nav', 'buddydev_disable_group_delete_by_non_site_admin' );
    
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25313
    Brajesh Singh on in reply to: [Resolved] Buddypress and Woocommerce #17801

    Thank you for letting me know.

    Glad that you found a solution.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25313
    Brajesh Singh on in reply to: BuddyBlog, multisite posting #17800

    Sure. All the best.

  • Keymaster
    (BuddyDev Team)
    Posts: 25313
    Brajesh Singh on in reply to: [Resolved] Link Page to Groups #17799

    You are welcome.

  • Keymaster
    (BuddyDev Team)
    Posts: 25313

    Hi Kreatsya,
    You are welcome. Glad that it is resolved.

    Yes, disabling minification will have performance ramifications.

    Most of the minify plugins provide a way to exclude certain files. Please notify the developer of minify plugin that it is causing problem with front end usage of WordPress media uploader and they should be able to help.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25313

    Hi Kerem,
    Thank you for using the plugin.

    You will need some translation tool to translate a file.

    I suggest using POEdit. You may find this guide useful
    https://www.hostinger.com/tutorials/wordpress/how-to-translate-wordpress-theme-using-poedit
    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25313
    Brajesh Singh on in reply to: BuddyBlog, multisite posting #17790

    Hi Hervé,
    Welcome to BuddyDev forums.

    No, The plugin can not post to multiple blogs at one time. It can post to one site.

    You will need some kind of syndication plugin to move sync contents between blogs.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25313
    Brajesh Singh on in reply to: [Resolved] Integration with PMPro #17787

    Hi Irene,
    Thank you for posting.

    Please see the guide here.
    https://buddydev.com/docs/buddypress-member-types-pro/assigning-paid-memberships-pro-memberships-based-on-member-type/

    Hope it helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25313

    Hi Kreatsya,

    It seems there is a confusion. I did not say it is browser specific. I said tha it is most probably a javascript error you should look into console.

    It does not matter which browser’s console you check. Since chrome has a nice document, I linked it for you.

    Also, as of the media modal is concerned, I can assure that it is not cause by our plugin. We are simply using WordPress default editor and all the work is done underneath by WordPress itself.

    Something else is misbehaving with the WordPress media modal and causing it. If you check our plugin, you will not find a single line of javascript code for front end(we don’t need them atleast yet).

    So, I am sure that the error is due to some plugin misbehaving and not BuddyBlog.

    A better strategy to find the conflicting plugin is to use a plugin like WP Staging and create an staging enviornment. Then disabling plugins one by one and finding the conflict.

    Please let me know which plugin is conflicting.

    About RT Media, It is in no way related to BuddyBlog upload. They have a custom uploader like we have in MediaPress. BuddyBlog does not use its own uploader and lets WordPress do the job.

    Hope that clarifies.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25313

    You are welcome.