I see what's happening. That wouldn't be possible without some pretty extensive editing of the plugin code. It's just not designed to utilize such a dynamic naming scheme for the files and folders it uses.
Basically, $avatars_path works like a constant in the plugin, that remains the same in all instances it's called. You'd probably need to change $avatars_path into a function to dynamically generate the path based on your specifications.
Responses (6)
WPMU DEV Fanatic — 1st September 2011 #
Hi Mustafa,
Looking at the core file for the plugin, it looks like the path can be changed in the Config section which contains all the following:
Have you already looked at that?
Thanks,
David
Lifetime Member — 1st September 2011 #
Hi David,
Yup,I tried.And used this snippet
Images storing fine,but not showing.
Maybe plugin developer can help me.
Thanks.
WPMU DEV Fanatic — 2nd September 2011 #
Hi Mustafa,
I see what's happening. That wouldn't be possible without some pretty extensive editing of the plugin code. It's just not designed to utilize such a dynamic naming scheme for the files and folders it uses.
Basically, $avatars_path works like a constant in the plugin, that remains the same in all instances it's called. You'd probably need to change $avatars_path into a function to dynamically generate the path based on your specifications.
-David
Lifetime Member — 2nd September 2011 #
I understand,
Maybe, I'll re-code this plugin :/
Cheers :)
WPMU DEV Fanatic — 13th October 2011 #
Hiya Mustafa,
We an always consider these types of things through feature requests as well. There's just not an easier way I could see in looking through the code.
Cheers,
David
Lifetime Member — 13th October 2011 #
Hiya David,
I'm using default type :) I guess, this plugin already using md5 hash for upload path So I don't think get 32.000 folder issue for linux ext3 :)
Cheers,
Become a member