Hi guys, once again I would like to raise the issues regarding the "blogs.dir" and the limit of 32,000 folders that it can have.
After searching this forum, I have found 2 solutions:
1) define( "UPLOADS", "wp-content/blogs.dir" . strrev(chunk_split (strrev(md5($wpdb->blogid)), 2,'/')) . "/files/" );
2) $offsetLeft = intval($intPadLength - strlen(trim($wpdb->blogid)));
$strPadded = str_repeat('0', $offsetLeft) . $wpdb->blogid;
define( "UPLOADS2", "wp-content/blogs.dir" . strrev(chunk_split (strrev($strPadded), 2,'/')) . "/" );
However, as I understand, these solutions can be implemented on a fresh WPMU install but what can I do with an Existing install? If I use of of these methods, the files in the EXISTING blogs will no longer be available because the folder structure will now be different...
what i thought of doing is putting a if $current_blog->ID < 1000 (current highest blog id) >> use old folder structure, else use new structure...however cant seem to make this work...please help
And also, all threads about this issue with the uploads folder seem to be 1 year old, how do you guys deal with uploads now, how do you separate uploads into different folders/servers when they get too large?
Tnx for any help!