Tagged: ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #4037
    vshpigel
    Participant

    Hello!

    After activating WordPress MU the Gmedia library is not visible from the secondary website: “No items to show.”. The gmedia plugin was ‘activated for the network’, the galleries have been resaved on the primary site. The plugin’s changelog says it works with MU, is there an instruction on how to set it up?

    Thanks!

    Slava

    #4045
    Rattus
    Keymaster

    Plugin works with WordPress MU, that means it create separate database tables and folders for each site in network. But you can’t load images on one site and use them on another.
    I’ll think if it’s possible to implement blog_id to gmedia shortcode.

    #4046
    vshpigel
    Participant

    Got it, thanks! Meanwhile, do you think it would be possible if I try to copy the existing database entries to secondary site tables and point them to photos on the server?

    #4047
    Rattus
    Keymaster

    Images in database have no absolute path. You should also copy images to “/wp-content/blogs.dir/_BLOG_ID_/grand-media/image/” or if you developer you can use add_filter
    $uploads = apply_filters( 'gm_upload_dir', array( 'path' => $dir, 'url' => $url, 'error' => false ) );
    see plugins folder ‘/inc/core.php’ file on line 181

    #4048
    vshpigel
    Participant

    Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Troubleshooting’ is closed to new topics and replies.
Forum closed. Use forum at Wordpress.org: Gmedia Support Forum