• Resolved Marcel Rothuizen

    (@marcel-rothuizen)


    From Multisite 3.4.2 images of subsites are no longer stored in /wp-content/blogs.dir/ see https://codex.wordpress.org/Multisite_Network_Administration.

    The lines in wppa.php for multisite installations should be something like this:

    if ( $debug_multi || ( is_multisite() && ! WPPA_MULTISITE_GLOBAL ) ) {
    define( 'WPPA_UPLOAD', $rel_uploads_path );
    define( 'WPPA_UPLOAD_PATH', WPPA_ABSPATH.WPPA_UPLOAD.'/wppa' );
    define( 'WPPA_UPLOAD_URL', site_url().'/'.WPPA_UPLOAD.'/wppa' );
    $user = is_user_logged_in() ? '/'.wppa_get_user() : '';
    define( 'WPPA_DEPOT', trim( '/wppa-depot'.$user, '/' ) );
    define( 'WPPA_DEPOT_PATH', WPPA_UPLOAD_PATH.'/'.WPPA_DEPOT );
    define( 'WPPA_DEPOT_URL', WPPA_UPLOAD_URL.'/'.WPPA_DEPOT );
    else {

    Best regards,

    Marcel.

    https://wordpress.org/plugins/wp-photo-album-plus/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Thanx. I will implement as soon as i have a solution for backward compatibility…

    0etzi

    (@0etzi)

    Sorry for my english.

    before update to wppa+ 5.3.2 all images was stored in /blogs.dir/…/ (WordPress 3.9 and Multisite).
    After update to wppa+ 5.3.2 the images path was changed to wp-content/uploads/admin/wppa/.

    I found this in wppa.php
    To run WPPA+ in a multisite old style mode, add to wp-config.php:
    define ('WPPA_MULTISITE_BLOGSDIR', true);

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Yes, i had to this for backward compatibility and also be able to implement the new style multisite systems.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Multisite paths should not be wp-content/blogs.dir’ is closed to new replies.