Using on WPMU – “slideshow-gallery” cannot be created inside “wp-content/uploads
-
This is kind of a two part question…
First, I received the above error because I’ve activated your plugin on an subdomain blog of a WPMU installation. If you’re not familiar with WPMU, there is no /uploads/ directory under /wp-content/. Uploads are put under the /blogs.dir/blogid/files/year/month/ directory. So, I simply created the /uploads/slideshow-gallery/ structure under the main wp-content directory and the warning went away. I uploaded a couple custom slides using the plugin interface and they uploaded fine. So, I thought I was good to go, but…
…a couple things. First, I cannot get the slideshow to display with the template hardcode from your site:
<?php if (class_exists(‘Gallery’)) { $Gallery = new Gallery(); $Gallery -> slideshow($output = true, $post_id = null); } ?>
I tried using your shortcode and that works great. I don’t understand why the
Also, while writing this, I realized that even if this did work, I’d get into trouble eventually when using the plugin on other subdomain blogs on this installation because all of these images would be saved in the /wp-content/uploads/slideshow-gallery/ directory. I quickly imagined how messy this would get as I added more blogs on this installation.
1. Can you think of any reason why the hardcoding wouldn’t work?
2. Can you please consider making the directory paths compatible with MU? I would imagine this would be a proactive step since the WP/WPMU merge is coming very soon.
Thanks for your time:)
https://www.ads-software.com/extend/plugins/slideshow-gallery/
- The topic ‘Using on WPMU – “slideshow-gallery” cannot be created inside “wp-content/uploads’ is closed to new replies.