MLA and Multisite Global Media plugin
-
Hi.
Thank you for this plugin, I love it!
I recently moved my single WP install to a multisite WP install. I wanted a way to access all of my media from each site. By default multisite separates the media libraries for all the sites. I found this plugin to do the trick. It works, but only when MLA is deactivated.
Is there a way to configure MLA so that it can work with this plugin? Please let me know what other information you would need from me.
-
Thanks for your kind words regarding MLA and for your question. I have downloaded a copy of Multisite Global Media from GitHub and I will run some tests on my system. Any details you can provide on the type of problems you discovered would be helpful.
In the interim, you might find this earlier topic useful:
Using Shortcodes to retrieve media from another sites media library
You can ignore the material about Development Versions; the “MLA Multisite Extensions” example plugin is included in the current MLA version.
I will post an update here when I have progress to report.
I have installed and activated Multisite Global Media but I do not see the additional tab in the Gutenberg Image Block. I am also seeing this message on the Posts admin screen:
No suitable autoloader found. Multisite Global Media cannot be loaded correctly.
Can you give me more specific steps to get things running and reproduce your problem(s)? Thanks!
I have reproduced your issue and will investigate the feasibility of a fix and the work required to implement it.
In the interim, You can avoid the problem without completely disabling MLA. Simply uncheck the “Enable Media Manager Enhancements” and “Enable Media Grid Enhancements” boxes in the “Media Manager/Media Grid Enhancements” section of the Settings/Media Library Assistant General tab. Scroll to the bottom of the page and click “Save Changes” to save the new settings.
Let me know if that helps. Thanks for your patience and understanding.
Thank you very much David!
Thanks for your patience while I worked on a solution for the problem. The Multisite Global Media plugin is well-made but does not have any provision for working with other plugins like MLA. It took some time to work out a creative approach.
I have uploaded a new MLA Development Version dated 20220223 that includes an updated “MLA Multisite Extensions” example plugin. You can find step-by-step instructions for using the Development Version in this earlier topic:
PHP Warning on media upload with Polylang
Once the Development Version is installed you must install and activate the example plugin. Navigate to the Settings/Media library Assistant Documentation tab and click the “Example Plugins” button. Type “multisite” in the text box and click “Search Plugins” to filter the table.
You are looking for the “MLA Multisite Extensions” example plugin. Find that plugin and hover over the title in the left-most column. Click the “Install” rollover action, then go to the WordPress Plugins/Installed Plugins submenu and activate the example plugin as you would any other plugin. Make sure you have version 1.05, the latest update.
Once the Development Version and new example plugin are installed and active you can reenable the “Enable Media Manager Enhancements” and “Enable Media Grid Enhancements” boxes in the “Media Manager/Media Grid Enhancements” section of the Settings/Media Library Assistant General tab. Then, go back to the Media Manager Modal (popup) Window and check the content of the “Global Media” tab.
This example plugin will be part of my next MLA version, but in the interim it would be great if you could install the Development Version and the example plugin and let me know if it works for you. Thanks for inspiring this MLA improvement.
By the way, I did have some issues during my testing of the Multisite Global Media plugin, with or without MLA. The Gutenberg “Image” block works fine, but the “Gallery” block does not. For example, here is one sequence that doesn’t work as expected:
- Add a Gallery block to a post, then click “Media Library”. The popup window opens with the site’s images, but no Global Media tab. There is a Global Media action at the left.
- Click the Global Media action and the global content is displayed with no tabs at the top of the window.
- Click the “Create Gallery” action and you get a blank popup window; no tabs, no items.
- Click the Global Media action again, select an image and click “Insert into post”; nothing is inserted in the gallery.
The normal “Create Gallery” popup window allows multiple selections; Global Media does not. Also, the “Add to Gallery” popup window does not have a Global Media action or tab.
Finally, when returning to a post containing a Gallery with global media images the gallery displays “This block contains unexpected or invalid content”.
Do you encounter any of these issues?
I have released MLA version 3.00, which contains the enhancements required to support Multisite Global Media.
I am marking this topic resolved, but please update it if you have any problems or further questions regarding MLA’s support for Multisite Global Media. Thanks for inspiring this MLA improvement.
The topic ‘MLA and Multisite Global Media plugin’ is closed to new replies.