BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 24599
    Brajesh Singh on in reply to: [Resolved] buddypress gallery slug not working #53388

    Hi Brent,
    Thank you for using MediaPress.
    It seems to be a bug in BuddyPress.

    Please install BP classic.
    https://wordpress.org/plugins/bp-classic/

    and activate it. Visit Dashboard->Settings->BuddyPress->pages and save it.

    After that, the gallery directory should start working.

    Please let me know if that works or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24599

    Hi Stephanie,
    Thank you for the patience.

    I tested it today and I do see one issue. I will explain and will proceed based on your feedback.

    1. The restriction is working but there is a minor bug. If you set the upload quota to 2MB, and there is available space for say .8Mb but media of more than .8Mb is tried, It will go through.
    The reason is we only calculate what has been uploaded and not what is being uploaded.

    That is causing the last file (which may be larger) to go through and we need to fix this.

    I was not able to find any issue. Please let me know if this is the right issue and I will update the plugin.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24599
    Brajesh Singh on in reply to: BuddyBlog Pro error, #53386
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24599

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

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24599
    Brajesh Singh on in reply to: Critical error when I Customize Community Pro Theme #53383

    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: 24599

    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: 24599
    Brajesh Singh on in reply to: BuddyBlog Pro Problem – Images Not Uploading. #53375
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24599
    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: 24599
    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: 24599

    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