Profile Topics Started Replies Created Engagements Favorites Search replies: Forum Replies Created Viewing 3 posts - 1 through 3 (of 3 total) Author Posts April 29, 2011 at 8:42 am in reply to: Upload folder : one per user ? #1065 simon6023Participant Hi Michael, I found out how to do this, thanks to the topic you indicated. Here is the hack ! On line 307 of the easyflashuploader.php, replace $destination = isset($local_params['destination']) ? $local_params['destination'] : $default_params['destination']; 1 $destination = isset($local_params['destination']) ? $local_params['destination'] : $default_params['destination']; by $user = & JFactory::getUser();<br /> $destination = "users/$user->username"; 12 $user = & JFactory::getUser();<br />$destination = "users/$user->username"; It works perfectly ! Automatically creates the user folder, by username (or whatever else you want, id, etc), and updates it when the folder already exists. Thanks for helping ! Simon April 29, 2011 at 8:31 am in reply to: Per User ? #1020 simon6023Participant In fact, I found out how to do this, thanks to the code you posted before. Here is the hack, if someone wants to do that again… On easyflashuploader.php, replace line 307 $destination = isset($local_params['destination']) ? $local_params['destination'] : $default_params['destination']; 1 $destination = isset($local_params['destination']) ? $local_params['destination'] : $default_params['destination']; by $user = & JFactory::getUser();<br /> $destination = "users/$user->username"; 12 $user = & JFactory::getUser();<br />$destination = "users/$user->username"; It creates a directory for each user. April 28, 2011 at 12:03 pm in reply to: Per User ? #1019 simon6023Participant Hi jstevens, I’m trying to do the same thing with Flash Uploader. Did you succeed editing the code for this plugin ? Thx in advance, Simon Author Posts Viewing 3 posts - 1 through 3 (of 3 total)