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

    Thank you Joss.

    Please allow me to look into it today and assist you.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: [Resolved] Default Home Tab for Groups #21001

    Hi Propertytips,

    Thank you.

    We store two meta keys for each post

    1. _bcg_group_id where we store the associated group id.
    2. _is_bcg_post it is used for backward compatibility. Even though we can do without it, It is there for backward compatibility. We were not storing group ids earlier.

    These 2 meta should be present for the posts.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: [Resolved] Mediapress Permalinks #21000

    Hi Ben,
    Welcome back.

    To shorten the permalink, you will need to modify the slug for the uploaded files. We have done it in past for title and filename.

    I or Ravi will pack it as a small plugin and make available in next 3-4 days.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    Hi Max

    1. We released profile completion a few weeks ago
    https://wordpress.org/plugins/buddypress-profile-completion/

    2. The Profile field moderation is almost ready. Will be available in 1-2 week. Most probably as a separate addon(as of now). Before final release, I am going to see if we can merge it with Moderation tools, If we can, that will be the best thing.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    Hi Edward,
    We have profanity filtering plugin(We developed 1.5 year ago). It has been on hold as we could not determine when the admin will want to do the filtering and how do we notify efficiently. Applying regular expression on everything is not the best way.

    If you can help me understand what filtering you want to do(from site admins point of view), I will push this plugin forward and offer a free copy to you.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: [Resolved] Default Home Tab for Groups #20990

    Please use the following to restrict and redirect to group home page

    
    
    /**
     * Restrict single group posts on the main blog.
     */
    function buddydev_bcg_single_post_protect() {
    	if ( ! is_singular() ) {
    		return;
    	}
    	$post_id  = get_queried_object_id();
    	$group_id = get_post_meta( $post_id, '_bcg_group_id', true );
    	if ( ! $group_id ) {
    		return;// not a group post.
    	}
    
    	$group = groups_get_group( $group_id );
    	if ( ! $group->id ) {
    		return;// the group was perhaps deleted.
    	}
    
    	if ( ! is_user_logged_in() || ! groups_is_user_member( get_current_user_id(), $group_id ) ) {
    		bp_core_redirect( bp_get_group_permalink( $group ) );
    	}
    }
    
    add_action( 'bp_template_redirect', 'buddydev_bcg_single_post_protect' );
    
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: BuddyPress Ajax Registration – social login #20989

    Hi Max,
    Thank you for posting.

    We do not intend to include social login support out of the box. I know that it works with https://wordpress.org/plugins/wordpress-social-login/

    Will check with NEXTEND SOCIAL LOGIN in next couple of days. It should work out of the box. If it is not, Will add support for that plugin.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: Change login button link in Community Builder theme #20988

    Hi Hugo,
    Thank you for posting.

    We are using wp_login_url() so any plugin filtering on that url should do it automatically.

    Here is the filter if the plugin is not doing it

    
    /**
     * Filter login url.
     *
     * @param string $login_url login url.
     * @param string $redirect where to redirect.
     * @param bool   $force_reauth force reauth.
     *
     * @return string
     */
    function buddydev_custom_sso_login_url( $login_url, $redirect, $force_reauth ) {
    	return site_url( '/?auth=sso' );
    }
    
    add_filter( 'login_url', 'buddydev_custom_sso_login_url', 10, 3 );
    
    

    You can put it in bp-custom.php or child theme’s functions.php and It will work.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513

    Hi Joss,
    I have tested these two plugins today and they seem to work fine.

    can you please provide me the following details to recreate it(or provide temporary amdin access to check the configuration).

    1. For each member type, Please let me know the member type name and the level it is mapped ot
    like
    Member Type X- Level1

    2. For Pmpro, Please let me level to member type mapping, e.g
    Level2 -> Member type 1, member type 2 etc.

    Either screenshot, or normal details or temporary admin access, any of the above will work for me.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25513
    Brajesh Singh on in reply to: [Resolved] comment plugin #20983
    This reply has been marked as private.