BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25182

    Hi Kim,
    Thank you.
    I am glad you have found a solution.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25182

    Hi Paul,
    I am sorry for the issue.

    1. Are you using the latest version of community Builder pro?
    2. Are you using BP classic plugin? Is it active? If not, Please activate this.
    https://wordpress.org/plugins/bp-classic/

    Please let me know if that makes it work or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25182

    Hi Stephanie ,
    Thank you for the assistance. I am currently testing it and I will have an update by the day end today.

    regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25182
    Brajesh Singh on in reply to: BuddyBlog Pro Problem – Images Not Uploading. #53375
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25182
    Brajesh Singh on in reply to: Hide Leave Group button #53374

    Hi,
    Welcome to BuddydDev support forums.

    I am sorry, that code will not work with BuddyBoss. They have additional customization on buttons. It is very much intertwined with their experience.

    I will suggest reaching out to BuddyBoss support for the same to see if they can assist.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25182
    Brajesh Singh on in reply to: [Resolved] Anonymous plugin – bugs #53373

    Hi Katrin,
    I am sorry. You are right about the issue it caused.

    At the moment, BuddyPress does not provide the ability to remove the link. There is a filter bp_activity_permalink but if I return empty , It will leave an orphan anchor element in the activity.

    The other solution is to remove the above code and inject a css class using the following code

    
    add_filter( 'bp_get_activity_css_class', function ( $class ) {
    	$activity_id = bp_get_activity_id();
    	if ( ! $activity_id ) {
    		return $class;
    	}
    
    	if ( function_exists( 'bp_is_anonymous_activity' ) && bp_is_anonymous_activity( $activity_id ) ) {
    		$class = $class . ' is-anonymous-activity';
    	}
    
    	return $class;
    } );
    

    Then we can add the folloowing css in custom styles to hide the link.

    
    
    .is-anonymous-activity .activity-header .activity-time-since{ display:none !important;}
    
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25182

    Hi Kevin,
    Welcome to BuddyDev.

    You need to update your code for filtering.
    There is a problem with this.

    
    add_filter('bp_core_current_time','set_gmt');
    function set_gmt ($type,$gmt) {
    	return current_time($type='mysql',$gmt=true);
    }
    

    It should be

    
    add_filter('bp_core_current_time','set_gmt');
    function set_gmt ($time) {
    	return current_time('mysql', false );
    }
    

    and even better(prefixing function to avoid conflict)

    
    add_filter('bp_core_current_time','kevin_set_current_time_local_tz');
    function kevin_set_current_time_local_tz ($time) {
    	return current_time('mysql',false);
    }
    
    

    Please give it a try.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25182

    Hi,
    Welcome to BuddyDev support forums.

    I am sorry, I do not understand your question. You do not need to update js code for the select2 js. You can select and enable select2 from the right side box of the profile field creation/edit page as shown below.

    https://i.ibb.co/db1xz2p/Selection-358.png

    Please help me understand the issue a little better if I am missing something.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25182
    Brajesh Singh on in reply to: Anonymous plugin – rtMedia issue #53370

    Hi Katrine,
    Thank you for trying MediaPress.

    The problem with upload is it needs to be associated with a user. Irrespective of the plugin, the uploads belong to some person and the current implementation of the plugins(RT Media or MediaPress) does not allow showing it without that user references.

    This is going to be huge issue with user experience to enable/disable anonymous activity for media(as it is currently implemented). I will need a few days before sharing the status about achieving it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25182

    Hi Kim,
    Thank you for the question.

    Please link me to the post and also provide the name used for the member type(It should be in lowercase, unique identifier of the member type).

    I will be glad to assist further.

    Regards
    Brajehs