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: 25454
    Brajesh Singh on in reply to: [Resolved] BuddyPress Group Widget #4523

    Hi Dandy,
    I have updated our Extended User Groups plugin to list hidden groups now.

    Please upgrade to 1.0.2 and let me know if that works or not?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25454
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25454
    Brajesh Singh on in reply to: [Resolved] BuddyPress Group Widget #4519

    Hi Dandy,
    Are you using the default BuddyPress group widget? It is doing it correctly as it does not know about the logged in user’s membership of groups.
    Or, are you using something else?

  • Keymaster
    (BuddyDev Team)
    Posts: 25454

    Hi Lee,
    You mean something like this

    
    add_action( 'bp_actions', 'buddydev_custom_redirect', 0 );
    
    

    It is a function call and based on the definition of the function being called, a developer can pass the parameters.

    In case of add_action/add_filter functions, the definition allows two optional numeric parameters as the last 2 . Example

    
    add_action( 'some_action_name', 'some_callback', 'optional_numeric_priority', 'optional_expected_parameters by the callaback');
    
    

    The fist numeric parameter tells us the priority of the attached callback function and the second numeric tell us about the expected number of parameters

  • Keymaster
    (BuddyDev Team)
    Posts: 25454

    HI Lavish,
    Please put this code in your bp-custom.php and visit The Users profile

    
    function buddydev_modify_profile_page_title( $title_parts ) {
    		
    	if ( bp_is_user_profile() && bp_current_action() == 'public' ) {
    	
    		$member_type = bp_get_member_type( bp_displayed_user_id() );
    
    		if ( $member_type ) {
    			
    			$memeber_type_object = bp_get_member_type_object( $member_type );
    				
    			array_unshift( $title_parts, $memeber_type_object->labels['singular_name'] );
    			
    		}
    	}
    
    	return $title_parts;
    	
    }
    
    add_filter( 'bp_get_title_parts', 'buddydev_modify_profile_page_title' );
    
    

    Please let me know if it works for you or not?

  • Keymaster
    (BuddyDev Team)
    Posts: 25454

    Hi Lavish,
    Have you kept the code from Ravi’s previous reply?

  • Keymaster
    (BuddyDev Team)
    Posts: 25454
    Brajesh Singh on in reply to: UPLOAD MEDIA AND LIKE BUTTONS #4487

    Hi Clyn,
    1. You can use any of the CDN enabler plugin for WordPress. The Media in MediaPress is WordPress attachment and any CDN hosted file solution for WordPress should work with it. IF it does not, We will help to get that working.

    2. I understnd the issue. I am not sure if I have any recommendation at the moment about like. I don’t like some plugin’s data structure and other has bug.

  • Keymaster
    (BuddyDev Team)
    Posts: 25454

    Hi Michael,
    I have worked on it. It won’t work for older notifications but will work with newer.

    The one problem I am facing is getting the correct url og a comment. A blog can use any type of permalink setting, so front end linking will make it a little complex. Should I use the ?p=post_id#comment_id instead ?)

  • Keymaster
    (BuddyDev Team)
    Posts: 25454
    Brajesh Singh on in reply to: Video and Music Link #4485

    Hi Clyn,
    Thank you for posting. It is not possible with MediaPress at the moment.

    Having a different filter is a good idea and I will keep that on my list. The posting from URl is coming in mid September. I am sorry about this for now.

  • Keymaster
    (BuddyDev Team)
    Posts: 25454

    Thank you.
    1. Please make sure you have copied the file completely. I see the submit button here
    https://github.com/sbrajesh/bp-simple-front-end-post/blob/master/form.php#L86

    2. yes, doable and will get @ravisharma to post the code

    3. Multi post type is difficult with BuddyBlog at the moment.

    4. Thank you. We will be sure to do that(It will be free 🙂 )