BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    You are welcome.
    I am glad you were able to get it working.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: How to safely modify buddpress files? #52898

    Hi Alex,
    Thank you for the question. Changing a core file of any plugin is bad as It will be overwritten in their next update.

    I have replied to your other post with suggestion and some question to assist you further.

    Please take a look.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    Hi Alex,
    Thank you for the reply.

    Changing core BuddyPress file is a bad idea.

    Where did you put the code I had supplied? It should go it bp-custom.php(wp-content/plugins/bp-custom.php)

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    Hi Newton,
    Welcome to BuddyDev support forums.

    Thank you for reporting the issue.

    We handle file upload on ‘xprofile_data_before_save` (when a profile field data is saved to the database).

    In BuddyPress 14.0, The registration does not store any data in xprofile table unless the user account is activated(Internally account is created after activation now).

    That is causing the issue. There may be a solution by forcing creation of account.

    Please put this in your bp-custom.pjp

    
    
    add_filter( 'bp_signups_create_user', '__return_true' );
    
    

    Let me know if that works or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    Hi Naomi,
    Thank you for using the plugin.

    Can you please confirm that you have enabled the auto activation settings? Also, which version of BuddyBoss are you using?

    Please share the details and we will assist.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    Hi Alex,
    I am sorry, I lack the time to invest into getting tiny 7 work with WordPress.

    I would suggest opting for one of the solutions from above for now.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: BuddyBlog Group Type Commenting #52884

    Hi Aaron,
    Thank you for the patience.
    I have investigated it and I am seeing the reason.

    The problem is BuddyBoss’s bp_disable_blogforum_comments() method works incorrectly if the activity component is not set to ‘blogs’. It does not check if the commenting is actually disabled for the post type unless the component is set to blogs. In our case, the component is set to ‘groups’ and that’s why.

    We can filter on bp_activity_can_comment to provide a fix as I don’t have much hope from their support.

    Please allow me couple more days to put an update without having any side effect.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    Hi,
    Welcome to BuddyDev.

    I just tested it and It is working.

    Can you please confirm you are translating the string %s years. This is used to display the age.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    Hi Alex,
    Thank you for the replies.

    I went through the entire thread about the security issues. It is not going to affect when you use it with WordPress.
    All the content gets sanitized with kses and only allowed tags get pass, so the issue does not have impact on WordPress.

    Still, here is a way to disable the kses stripping your tag(It is even more insecure to do it).

    
    add_action( 'bp_init', function () {
    	remove_filter( 'bp_get_the_profile_field_value', 'bp_xprofile_escape_field_data', 8 );
    } );
    
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: xprofile taxonomy with wpml #52872

    Hi Eric,
    Thank you for reporting the issue.

    In our plugin, we use

    
    	$terms = get_terms( $taxonomy_selected, array( 'hide_empty' => false ) );
    

    and then loop through the terms to show $term->name as option label. I am not sure who WPML works with it. If the update the name, It should work.

    Otherwise, Please ask them if they recommend using another method to make it wpml compatible and I will update.

    Regards
    Brajesh