Learning by doing

NextGEN Gallery with WPMU support

I finished the first WPMU modification for NextGEN Gallery based on the changes from Rowan Crane. I’m tested this here locally and it works so far. If somebody is interested to test this in live you can checkout the current version at my GoogleCode project .

I’m not very familiar with WPMU blogs , so leave a comment if you have ideas what features could be added for a seamless WPMU integration…

It is an amazing work. I like it very much.I was searching for a long time how to add a good gallery to my blog. At last I got it. You are the true opensource geeks too. Convey my regards to all, those who worked beyond the development. You see the demo from here.

You are amazing! I don’t think there are any photogallery plugins that natively support WPMU yet (at least, I have yet to find any). I’ve been surviving off of modified builds of various scripts for about a year now, latest of which has been NextGen.

As for features, I can’t think of any features that need to be added besides quota check and better integration with WPMU, which I see you are doing.

your plugin is making a big conflict with the “xmlrpc.php”, when try to publish via microsfot word, or Flickr, the program crash, but the post is done, :S. If i disable the plugin all works fine… Greetings

Thanks for your reply Alex. I mean being able to display a set of pictures from flickr as a gallery. I know there are other plugins out there which should do the thing, but they seem to cause problems. For instance the slickr plugin just displays an empty options screen..

hi alex; i had try on the “nextgen gallery for wpmu” is great, and i dun see any-prob now, i going to let user to have gallery=1, and blogs.dir/ID/files/ and a picture file on default meaning; once active or when a new user created, the dir, picture and gallery will auto insert, is it posible?

hi alex, i had install http://firestats.cc/wiki/WPMUPluginCommander
the plugins did active only “Setup” is available. I had check the wp table the wpdb-> table did not create ngg-album, ngggallery …etc. but when user click manualy the plugin runs great. why?

I already have a couple blogs running under one user right now. Would I be able to use this modification and still use the current photos I have up .. I’d hate to have to modify all of them, I guess I could just change the dirs. in php edit manually.

A lot of filesystems, including ext3, have a limit of 32,000 directories within a directory.

Thus, if you reach that number of directories, WordPress can’t create more directories within blogs.dir and thus no new blogs.

By MD5ing the blog ID, it creates a directory tree with a 16^6 number of possible directories under which blog dirs are organized. Essentially it overcomes that 32K barrier and increases the number of possible blogs to about 16 million.

There are code modifications for this at the wpmu forum.

This is also the problem why there is a limit of the number of tables mysql can have, because it can’t create that many files within the database’s directory. If the tables were organized within a MD5 hash-type directory tree, the limitation would disappear.

As for the problem with the “only reset issue”, do you think then this is a problem of Plugin Commander?

hi alex,
i m just a beginner so i havent look on the trac trunk. I m still looking on it, and one question about “nextgen gallery” Gallery path on admin what you mean by %BLOG_ID% places-holder, i try to edit it to “wp-content/blog.dir/%BLOG_ID%/ this can’t work?

I’ve installed the latest version WPMU support. The gallery works fine as an Administrator. However, when a subscriber attempts to create a new album, the folder is created on the server, but when the user attempts to upload photos, the album is not in the drop-down and can’t be selected.