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: 25295
    Brajesh Singh on in reply to: profile customization with widgets #14551

    Hi Monica,
    For MediaPress, you do not need to use shortcode. You can configure it to allow uploads form profile and a user can upload form their profile.

    For other customization, Please check the mail.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25295

    Hi Julia,
    You can use the following code to enable the edit button for RT Media.

    
       add_filter( 'bp_editable_activity_allowed_type', function ( $allowed ) {
            $allowed[] = 'rtmedia_update';
            return $allowed;
       }) ;
    

    But you may not want to do it as the edit will only show html code.

    Best regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25295

    Hi,
    I just forgot to update it. We won’t be able to support the xprofile location field as it is heavily js dependent and will not work for dynamic generated form. We tested the plugin and had a look and the conclusion was it is not feasible to do it in the current state of Xprofile Location field plugin.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25295

    Hi Brandon,
    Can you please guide me on recreating the issue on site. Do I need to register a user with _ in username?

  • Keymaster
    (BuddyDev Team)
    Posts: 25295
    Brajesh Singh on in reply to: Custom background #14544

    Hi Jill,
    Please use the following code

    
    
    // disable the custom profile background generated css.
    add_filter( 'bppg_iwilldo_it_myself', '__return_true' );//do not generate css for us
    
    //Our own css
    function buddydev_custom_inject_css() {
    	if ( ! function_exists( 'bppg_get_image' ) ) {
    		return ;// no trouble when the plugin is disabled
    	}
    
    	$image_url = bppg_get_image();
    
    	if ( empty( $image_url ) ) {
    		return;
    	}
    
    	$repeat_type = bp_get_user_meta( bp_displayed_user_id(), 'profile_bg_repeat', true );
    
    	if ( ! $repeat_type ) {
    		$repeat_type = 'repeat';
    	}
    	?>
    	<style type="text/css">
    		body.is-user-profile #buddypress div#item-body{
    			background: url(<?php echo $image_url; ?>);
    			background-repeat: <?php echo $repeat_type; ?>;
    		}
    
    	</style>
    	<?php
    }
    add_action( 'wp_head', 'buddydev_custom_inject_css', 200 );
    

    You may experiemnet with the css selector to aplly the image to various other parts.

    Best Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25295

    Hi Sujee,
    You are correct about the default tab. It applies to all or none.

    if you can tell me about your member types and provide the slugs for applying to these types, I can help with code.

    You will have to remove the default selection for the tab from the profile tabs plugin in that case.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25295

    Thank you. Will certainly do. The focus will be on import after 2.0

  • Keymaster
    (BuddyDev Team)
    Posts: 25295
    Brajesh Singh on in reply to: [Resolved] Activity Updates #14540

    Hi Keith,
    BuddyPress Activities can have only 2 privacy either visible to all or only visible to the poster(It may change if the Core developers decide to add ebtetr privacy in future).

    For MediaPress, if an item is accessible to all(including non logged), Its activity is set public otherwise it is set as private.

    What you are seeing is the correct listing for a logged in users only gallery.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25295
    Brajesh Singh on in reply to: Buddypress Activity spam link #14539

    Hi Tosin,
    I won’t be able to look into it and assist as we have a moderation plugin coming this week and I am investing my time on that. Once the plugin is available and you still feel you need to use this code, Please feel free to post back and I or one of our team members will help.

    At the moment, I am just trying to avoid any duplicate effort.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25295