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: 25509
    Brajesh Singh on in reply to: Media Press and Site wide activity? #15160

    Hi Jill,
    Hope you are doing well.

    Please upgrade to the latest version of MediaPress(1.3.7) and also the latest version of the Sitewide activity widget.

    It will allow attachments without content now.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] Mediapress status order #15159

    Hi Axel,
    Here is a future proof way to do it

    
    
    /**
     * Reorder status in the dropdown.
     *
     * @param array $statuses statuses.
     *
     * @return array
     */
    function mpp_custom_status_order( $statuses ) {
        // the ordered list, knowm.
    	$ordered_statuses = array( 'public', 'loggedin', 'friendsonly', 'loggedin', 'private' );
    
    	// we will organize the list here.
    	$new_ordered_statuses = array();
    
    	// Copy all valid status based on the ordered status. It only copies the statues specified by the ordered list.
    	foreach ( $ordered_statuses as $ordered_status ) {
    		if ( isset( $statuses[ $ordered_status ] ) ) {
    			$new_ordered_statuses[ $ordered_status ] = $statuses[ $ordered_status ];
    		}
    	}
    
    	// now, some other values might still be remaining.
    	$remaining_statues = array_diff( array_keys( $statuses ), $ordered_statuses );
    
    	foreach ( $remaining_statues as $remaining_key ) {
    		$new_ordered_statuses[ $remaining_key ] = $statuses[ $remaining_key ];
    	}
    
    	return $new_ordered_statuses;
    }
    
    add_filter( 'mpp_get_editable_statuses', 'mpp_custom_status_order' );
    
    

    It might be even easier in future when we add the support for Sortable interface.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Sujee,
    It can be easily added but I will suggest to wait for next 2-3 days. I am adding the dynamic redirection (also custom landing tabs) to our member types plugin.

    That will make it way better for you.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    You are welcome. Marking it as resolved.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Sujee,
    In next 2-3 days,I will be updating our member types plugin and adding the optiont o dynamically redirect based on member type.

    I will link you after the update.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Thorsten,
    I did not check it in combination with the W3 Total Cache. Please allow me to check that again.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Thank you for the patience.
    I have added wildcard support now.

    Please use 1.0.3
    https://buddydev.com/plugins/wp-ban-registration-domain/

    Please do note that *.example.com will match all sub domains of example.com but not example.com. You will need to add the main site as another entry.

    Also *some* will expand to [email protected], [email protected] or [email protected] and so on.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] .wpress file size is exceeding #15120

    You are welcome.

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] .wpress file size is exceeding #15118

    In that case, you will nbeed to update php settings(mostly php.ini)
    for

    
    upload_max_filesize
    post_max_size
    
  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] .wpress file size is exceeding #15116

    Are you on multisite? If yes, you will need to change the settings from Network Admin->settings page and then from cpanel for file limit as explained below.

    You will also need to change the settings for php

    upload_max_filesize
    post_max_size

    Regards
    Brajesh