New
PeoplePress is here. Community building for WordPress, reimagined. Fast, modern, and built for the communities you've always wanted to run.
See it live

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    Hi Atlantis,
    Thank you for using the plugin.

    I am sorry but there is no feasible solution for this case. I will explain the issue.

    1. You have set a member type to trigger role change
    2. You have also setup role to trigger member type change

    Now, when you add a user on a sub site with a specific role, you want the role to trigger the member type change(works) and then this member type change to trigger role change(does not work).

    It does not work as it will cause an infinite cycle role triggering membertype triggering role. To avoid this loop, we only allow either member type to role or role to member type in one transaction.

    Hope it clarifies.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    Hi Max,
    Please use the updated file from here

    https://buddydev.com/downloads/coub-custom/versions/coub-custom-1-0-1.zip

    It allows both the embeddable url or the default view url.

    Please make sure to update field id and styelsheet url.

    Regards
    Brajesh

    PS:- It won’t work with auto update. You will need to delete old and upload new.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    Hi Andi,
    I am sorry for the delayed reply.

    1. It seems to me there is another tab there which is using the position. Can you please tell me what is the “Berater Dashboard”?

    2. Sure, Please use ‘public’.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: Make one page public on site #17655

    Hi Chris,
    Here is the updated code. Add your page slug to the excluded pages and those pages will be excluded.

    
    
    /**
     * Make a WordPress site Private, works with/Without BuddyPress
     *
     * @author sbrajesh
     * @global string $pagenow
     *
     */
    function buddydev_private_site() {
    
    	//do not restrict logged in users
    	if ( is_user_logged_in() ) {
    		return ;
    	}
    	//first exclude the wp-login.php
    	//register
    	//activate
    	global $pagenow;
    
    	//if we are here, the user is not logged in, so let us check for exclusion
    	//we selectively exclude pages from the list
    
    	//are we on login page?
    	if ( $pagenow == 'wp-login.php' ) {
    		return ;
    	}
    
    	// let us exclude the home page.
    	if ( is_front_page() ) {
    		return ;
    	}
    
    	// Exclude some page.
    	$excluded_pages = array( 'terms' ); //add all your pages that you want to exclude.
    
    	if ( is_page( $excluded_pages ) ) {
    		return;
    	}
    
    	//handle Special case of BuddyPress registration/Login
    	if ( function_exists( 'is_buddypress' ) && is_buddypress() ) {
    
    		if ( bp_is_activation_page() || bp_is_register_page() ) {
    			return ;
    		}
    	}
    
    	$redirect_url = wp_login_url( site_url('/') );//get login url,
    
    	wp_safe_redirect( $redirect_url );
    	exit( 0 );
    }
    
    add_action( 'template_redirect', 'buddydev_private_site', 0 );
    
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    Hi Max,
    Just came back to work again. Will have an update within 3-45 minutes.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: [Resolved] Tabs Creator Pro, 404 not found #17650

    No, It does not uses css. It removes them completely using

    
    
    bp_core_remove_nav_item();
    bp_core_remove_subnav_item()
        
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: [Resolved] Tabs Creator Pro, 404 not found #17648

    In other words, I mean the screen the button links to, becomes unavailable for certain users. That’s why any linking pointing to these screen become broken.

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: [Resolved] Tabs Creator Pro, 404 not found #17647

    Hi Carsten,

    The problem is link needs to be accessible/available to the user. When you change tab’s visibility, the links become unavailable for certain users and that’s why the private message button gets broken.

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    Hi Andreas,
    Welcome to BuddyDev Forums.

    Here is the stepwise guide to help you.

    1. Changing label and position:- If 15 does not work, THere is a possibility that some plugin is using a lower value. Try using a lower value like 9 or so.

    2. For sub nav, Please use ‘my-friends’ as shown below.

    a. https://i.imgur.com/hlL4dqA.png

    b. https://i.imgur.com/unbqgke.png

    c. https://i.imgur.com/G3wgCnf.png

    d. https://i.imgur.com/7AoWjeL.png

    Please try it and let me know if it works or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: [Resolved] BuddyBlog not selecting tags #17642

    Thank you.