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: 25480

    Thank you 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25480
    Brajesh Singh on in reply to: [Resolved] Unable to create Project inside a Group #19570

    If it is happening for group admin, I can certainly help with it. I will check tonight and update you.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25480
    Brajesh Singh on in reply to: [Resolved] Unable to create Project inside a Group #19567

    Hi Daniel,
    I am sorry, I can not sell code for other’s plugin.

    I can modify it for you but I see a lot of limitation for me.

    1. The permissions for editing/deleting tasks need to be more fine grained and I am not much familiar with this plugin, so doing it fine grained will not be feasible(I am unable to spend much time on the plugin).

    If you want to allow all members to edit/delete tasks(I don’t think it as a good idea), please do let me know and I can share the modified file quickly.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25480

    Hi Thorsten,

    I am sorry the plugin does not handle role to role or member type to member type restrictions yet. We do plan to add it(and also per role restriction) sometimes early next year.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25480

    Hi Damian,
    Thank you for using MediaPress.

    You can use something like this

    
    
    function mpp_custom_gallery_view_restriction() {
    
    	if ( is_super_admin() || bp_is_my_profile() || ! mpp_is_single_gallery() || ! function_exists( 'pmpro_getMembershipLevelForUser' ) ) {
    		return;
    	}
    
    	$level = pmpro_getMembershipLevelForUser( get_current_user_id() );
    
    	// do your check here and
    
    	if ( ! $level ) {
    		// restrict.
    		bp_core_redirect( home_url( '/' ) );
    	}
    
    }
    
    add_action( 'bp_template_redirect', 'mpp_custom_gallery_view_restriction' );
    

    Please modify it according to your need.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25480
    Brajesh Singh on in reply to: [Resolved] Is buddyBlog (in)compatible with WP 5.0+? #19560

    Hi Richard,
    No worries. Thank you for sharing the details.

    I am glad it was not an issue 🙂

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25480
    Brajesh Singh on in reply to: BP messages are all time stamped with 01:00 #19558

    Hi Carsten,
    I am sorry, It is very specific to theme and I am unable to help you with it.

    Please try switching theme and see if it persists.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25480
    Brajesh Singh on in reply to: [Resolved] php 7.2 support? #19557

    Sure 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25480
    Brajesh Singh on in reply to: [Resolved] Unable to create Project inside a Group #19556

    Hi Daniel,
    I had looked at their code quickly and found it. All the permission functions are in their plugin’s core/conditional-tags.php.

    The problem is for other permissions, they haven’t provided any filter. So you will need to edit this file and add a condition using the function “groups_is_user_member” to return true for group members.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25480
    Brajesh Singh on in reply to: Problem with Link page to group plugin #19555
    This reply has been marked as private.