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: 25302
    Brajesh Singh on in reply to: Number of members in the group #46696

    Hi Vlad,
    Thank you for your patience and bringing it. We missed to track the issue and implement it. I will look at our current schedule and update you in next 24 hours on a probable availability date.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25302
    Brajesh Singh on in reply to: [Resolved] BuddyPress User Contact Form #46695

    Hi Jimmy,
    Thank you for the question and your interest in the plugin.

    The plugin allows users to receive message via email. While BuddyPress Messages component is aimed at conversation on the site itself, this is aimed at off site conversation.

    The visitor can get it in touch via the user using this form and continue their discussion off site. This is not suitable for social community but more suitable in cases when you want your users to receive messages from visitors(without visitor being logged in depending on the setting).

    In other words, It is a contact from plugin b ut not for the site. It is for individual users and you may find it useful if you have site using classifieds/listing etc.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25302
    Brajesh Singh on in reply to: how does a user add content #46694

    Hi Ken,
    Thank you for purchasing from us.
    This plugin does not allow adding content by user. It is aimed at site admins who want to add tabs for their users.

    I have received your mail about using BuddyBlog Pro instead and will be getting back to you soon.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25302

    Hi Dianne,
    Thank you for the patience. I am sorry, i haven’t been able to release the update.

    Please allow me couple more days and I will release the updates.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25302
    Brajesh Singh on in reply to: [Resolved] Show Opposite Gender Base on XProfile #46679

    Hi Catherine,
    Thank you.

    I am glad that it worked.

    You can change this

    
    $query->query_vars['xprofile_query'] = array(
    	array(
    		'field'   => bp_get_xprofile_gender_type_field_id(), // field id or name.
    		'value'   => $opposite_gender,
    		'compare' => '=',
    	),
    );
    
    

    with something like this.

    
    
    $query->query_vars['xprofile_query'] = array(
    	array(
    		'field'   => bp_get_xprofile_gender_type_field_id(), // field id or name.
    		'value'   => $opposite_gender,
    		'compare' => '=',
    	),
    	array(
    		'field'   => 'your_field_id', // field id or name.
    		'value'   => 'the value',
    		'compare' => '=', // your compare operator.
    	),
    
    );
    
    

    You can add as many conditions as you need but I will recommend to be cautious. Xprofile query is not efficient and if you put 4-5 xprofile query clauses, it may cause database load issues. I have seen the issue on a site with moderate number of users couple of years ago.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25302

    Hi Ethan,

    Please put this code in your bp-custom.php

    
    /**
     * Force Userinsights plugin to use age instead of date.
     */
    add_filter( 'usin_user_profile_data', function ( $user ) {
    
    	$filed_id = 25; // please change with your birthdate field id.
    
    	$key = "bxp_{$filed_id}";
    
    	if ( $user->{$key} ) {
    		$user->{$key} = xprofile_get_field_data( $filed_id, $user->ID );
    	}
    
    	return $user;
    } );
    

    and make sure to update the field id with the correct field id.

    It will fix the issue. Please let me know if it works for you or not?

    PS:- This is happening due to incorrect implementation of userinsights and I will recommend that you request them to fix it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25302
    Brajesh Singh on in reply to: [Resolved] BuddyBoss Group Activity Moderation #46668

    You are welcome.

  • Keymaster
    (BuddyDev Team)
    Posts: 25302
    Brajesh Singh on in reply to: [Resolved] Show Opposite Gender Base on XProfile #46667

    Hi Catherine,
    Thank you for the reply.
    I am glad that it worked on your local setup.

    Not sure why it is not working on the live server, is there any other plugin using xprofile_query? That could be the reason.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25302

    Thank you Chris.
    I am glad that it worked.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25302
    Brajesh Singh on in reply to: Move menu item to submenu #46663

    Hi,
    Thank you for the question.
    it is not feasible with BuddyPress . This is a limitation of BuddyPress where views are tied to urls and there is not much we can do about it. Moving url breaks the view.

    Regards
    Brajesh