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: 25384
    Brajesh Singh on in reply to: Max upload space not working in groups #10128

    Hi,
    Please allow us to test it today and then update you.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: limit gallery link on members profiles #10126

    Hi Patti,
    Simple solution will be to filter on ‘mpp_is_enabled’ to completely remove it from user profile.

    I will post an example below with capability, please feel free to update for s2members pro.

    
    
    /**
     * Example: Disable MediaPress gallery for subscriber, contributor, author
     *
     * @param bool   $is_active is MediaPress active.
     * @param string $component component name(members, groups,sitewide etc).
     * @param int    $component_id context items id(user id, group id etc).
     *
     * @return bool
     */
    function mpp_custom_disable_for_users( $is_active, $component, $component_id ) {
    	// only for members component.
    	if ( 'members' !== $component ) {
    		return $is_active;
    	}
    	// only editor or above should have gallery.
    	if ( ! user_can( $component_id, 'publish_pages' ) ) {
    		return false;
    	}
    	return $is_active;
    }
    add_filter( 'mpp_is_enabled', 'mpp_custom_disable_for_users', 10, 3 );
    
    

    regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Hi Thorsten,
    I have been looking at today.

    It’s very strange but the admin options are saving properly for me. Can you please give it a try.

    I have a confusion about option 3 though

    3. Do you want to disable the email notification for all users if you select No in the backend?

    Please let me know, I am hoping to push a release as it should have been yesterday.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: [Resolved] Verifying a user – plugin idea #10119

    Thank you.
    yes, Please do keep sharing the ideas 🙂

    I helps us to move forward and I sincerely appreciate it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: [Resolved] Verifying a user – plugin idea #10117

    Hi Thorsten,
    Thank you.

    I have used it on one of my clients site and I know that the plugin does have the potential but a lot of issues. I was hoping to contribute and update the plugin itself instead of forking but the repository of Ryan seems to be empty
    https://github.com/modemlooper/BuddyVerified

    Will do something similar. We had another plan to have a work flow for verification(Like a front end page where user upload docs, requests for verification etc) but may be we can avoid that for now and go for a simple solution.

    Will keep in our list of upcoming projects in next 8-12 weeks.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Hi Thorsten,
    Thank you.

    That is happening because of the overflow:hidden in css. I will update it on the site.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: Hide Member Types on Directory for specific Role #10115

    Hi Dwi,
    Thank you for posting.

    Please post me the exact conditions(using member type and not role) and I will post the code.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384

    Hi Jay,
    I will be releasing an update by coming Wednesday/Thursday.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25384
    Brajesh Singh on in reply to: Add links user blogs in groups #10112

    Hi Jay,
    Thank you for posting.

    It is doable but there is no out of the box solution. BuddyPress does store the user to blog relation but it does not keep the role.
    So, An student will most probably be member of the main site and his/her personal site.
    Group Extension and blogs loop and some hard coding/sql for fetching the blogs.

    Thank you
    Brajesh