You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

  Sunday, 15 October 2017
  11 Replies
  6.2K Visits
Is possible to allow users to manage their own images and files?

something like if every user has his own folder
more than a month ago
·
#93681
Accepted Answer
The folder will be automatically created if it does not already exist.

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#93676
The File Directory Path can take variables, like $usergroup, $username, eg:

images/$user

which would restrict a user with the username bob to the folder

images/bob

Please see - https://www.joomlacontenteditor.net/support/tutorials/editor/setting-the-file-directory-path

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#93679
Thanks

but, the folder must be previosly manualy created? or is it created automaticaly?
more than a month ago
·
#93681
Accepted Answer
The folder will be automatically created if it does not already exist.

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#93695
Perfect!

Great JCE

Great JCE Support

Thank you
more than a month ago
·
#96677
Hello, this is great news! I typically use email addresses for usernames. Will that work or does the @ symbol break the file system? Perhaps the system strips it out?

I find it easier for a user to remember their email vs a username. I need to do this for a site with many users though and hope it's possible somehow.

Thanks

Hey careful man, there's a beverage here!

more than a month ago
·
#96681
typically use email addresses for usernames. Will that work or does the @ symbol break the file system? Perhaps the system strips it out?


This is fine, the @ is removed from the folder name, eg: This email address is being protected from spambots. You need JavaScript enabled to view it. becomes adminjoomla.org

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#96693
What if users are allowed to change their username? I want to cover all bases before I set this parameter.

Thanks

Hey careful man, there's a beverage here!

more than a month ago
·
#96694
If the username is changed, they will be assigned a new folder with the new username, and lose access to the old folder.

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#96695
So best to do it by user group to be safe or change the setting to not allow username change.

Thanks for clearing this up.

Hey careful man, there's a beverage here!

more than a month ago
·
#101833
Hi Ryan

I am confused. This is what you wrote:
The File Directory Path can take variables, like $usergroup, $username, eg:
images/$user
which would restrict a user with the username bob to the folder
images/bob
Please see - https://www.joomlacontenteditor.net/support/tutorials/editor/setting-the-file-directory-path

Your advice is $usergroup but in the mentionned documentation (URL above) $usergroup can not be found???
Your advice is to use $username but you ar giving an example $user???

Thank you and kind regards
Chris
more than a month ago
·
#101839
Your advice is $usergroup but in the mentionned documentation (URL above) $usergroup can not be found???
Your advice is to use $username but you ar giving an example $user???


Yes, there is some discrepancy between the post above and the tutorial, but both variables are valid.

$usertype and $usergroup both refer to the group that the user is assigned to, eg: Author, Super User etc.

$user refers to the user's username.

Just because you're not paranoid doesn't mean everybody isn't out to get you.

  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!