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: 25287
    Brajesh Singh on in reply to: [Resolved] Sitewide gallery upload issue #48673

    You are welcome!

  • Keymaster
    (BuddyDev Team)
    Posts: 25287
    Brajesh Singh on in reply to: [Resolved] Public gallery with upload #48672

    You are welcome!

  • Keymaster
    (BuddyDev Team)
    Posts: 25287
    Brajesh Singh on in reply to: [Resolved] Public gallery with upload #48661

    Yes, MediaPress only allows uploading from logged in users. Anonymous/non logged uploads are not supported.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25287
    Brajesh Singh on in reply to: [Resolved] Sitewide gallery upload issue #48660

    I am glad it is clear.
    In MediaPress, public is for viewing permission not the write/edit/delete.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25287
    Brajesh Singh on in reply to: Buddyblog group #48659

    Please do it from BuddyBlog->Group Settings

    That menu is only available if you have BuddyBlog Groups plugin installed.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25287

    Thank you Oscar.
    Please do let me know if it worked or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25287

    Thank you Nik.
    It does point me in the right direction.

    I will make sure that the status message is working properly in next release.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25287

    Hi Tosin,
    Thank you for the details. I will have someone test it and write back to you early next week.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25287

    Hi Azamat,
    As conveyed over email, the plugin does not allow you to add public tab to private/hidden groups. That is how BuddyPress/BuddyBoss works.

    Marking it resolved as discussed over email.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25287

    Hi Dianne,
    Thank you for the question.

    I have modified your shcorcode for flexibility. I hope it helps.

    
    /**
     * Shortcode for listing groups of a user.
     *
     * @param array  $atts shortcode attributes.
     * @param string $content content.
     *
     * @return string
     */
    function user_world_memberships( $atts, $content = '' ) {
    
    	$atts = shortcode_atts(
    		array(
    			'user_id'            => bp_displayed_user_id(),
    			'type'               => 'alphabetical',
    			'order'              => 'ASC',
    			'page'               => 1,
    			'per_page'           => - 1,
    			'group_type'         => '',
    			'group_type__in'     => '',
    			'group_type__not_in' => '',
    		),
    		$atts,
    		'member_worlds'
    	);
    
    	$groups = groups_get_groups( $atts );
    
    	$groups = $groups['groups'];
    	if ( empty( $groups ) ) {
    		return '';
    	}
    
    	$list = '';
    	foreach ( $groups as $group ) {
    		$list .= sprintf( '<li><a title="View %1$s" href="%2$s">%3$s</a>', esc_attr( $group->name ), esc_url( bp_get_group_permalink( $group ) ), esc_html( $group->name ) );
    	}
    
    	if ( ! empty( $list ) ) {
    		$list = "<ul class='custom-user-group-list'>{$list}</ul>";
    	}
    
    	return $list;
    }
    
    add_shortcode( 'member_worlds', 'user_world_memberships' );
    
    

    P.S. we normally void providing coding support for 3rd party plugins but there are always exceptions.

    Regards
    Brajesh