Hello all! I was wondering if any of you have suggestions for a need that I have.
I wondered if there are any modules that would provide individual user areas for cmsms? For example, using Front End users, once a user logs in could I present them their own 'area' that contains folders and files specific to their username. In this example our authenticated users will be downloading documents specific for their vehicles, no two users would see or be able to download somebody else's files. As admins, we would need the ability to place these files within their individual folders so they can download them when they log in.
I've looked thru the modules at cmsms forge but can't seem to find anything fitting my needs.
Any help or direction you can give me would be much appreciated.
Individual user download areas?
-
gahanna-6.4
- New Member

- Posts: 4
- Joined: Mon Jan 05, 2009 2:03 am
Re: Individual user download areas?
You need to use FrontEndUsers for the authentication, and CustomContent to protect/display the content. Can also add SelfRegistration if you want users to be able to register themselves rather than having an admin do it.
http://wiki.cmsmadesimple.org/index.php ... om_Content
http://wiki.cmsmadesimple.org/index.php ... om_Content
Last edited by jmcgin51 on Tue Apr 07, 2009 5:44 pm, edited 1 time in total.
-
gahanna-6.4
- New Member

- Posts: 4
- Joined: Mon Jan 05, 2009 2:03 am
Re: Individual user download areas?
Right.. i read up on that before posting. Will FEI and CC allow me to setup individual users rather than just groups? As stated, each of these members/users have differing files we're going to allow them to download.. no two will be alike. I don't want to get into creating a new group for each user.jmcgin51 wrote: You need to use FrontEndUsers for the authentication, and CustomContent to protect/display the content. Can also add SelfRegistration if you want users to be able to register themselves rather than having an admin do it.
http://wiki.cmsmadesimple.org/index.php ... om_Content
I guess what Im looking for is once they are logged in via FEU I want to present to them a list of folders that belong to that individual user. Inside these folders are individual files for that user only - they can click to download the file(s). Each user needs their own area.
Last edited by gahanna-6.4 on Tue Apr 07, 2009 5:56 pm, edited 1 time in total.
Re: Individual user download areas?
You can set up individual users and permissions for each in FEU/CC. However, to properly protect uploaded files, you will need the Uploads module. Uploads is group-based. You could work around this by using a different security mechanism to protect the uploaded files (i.e. skip the Uploads module).
-
gahanna-6.4
- New Member

- Posts: 4
- Joined: Mon Jan 05, 2009 2:03 am
Re: Individual user download areas?
...Any examples? Im afraid I dont understand your last statement.
Re: Individual user download areas?
One feature of the Uploads mod is that it prevents a user from viewing the protected file via the Uploads link unless he is a member of a group that is authorized to view the file. (It does NOT stop him from viewing the file if he knows the complete path to the file.)
However, in your situation you do not want to create a group for each user. So you could skip the Uploads mod (or use it for uploads but not for security). Then use an htaccess file to prevent unauthorized file access.
(Disclaimer: I know this can be done, but I am no htaccess wizard, and can't tell you the specifics. if you're familiar with htaccess, you probably already know how to do what I'm talking about.)
However, in your situation you do not want to create a group for each user. So you could skip the Uploads mod (or use it for uploads but not for security). Then use an htaccess file to prevent unauthorized file access.
(Disclaimer: I know this can be done, but I am no htaccess wizard, and can't tell you the specifics. if you're familiar with htaccess, you probably already know how to do what I'm talking about.)
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Individual user download areas?
This is trivially simple if you're talking about users downloading files only, and have a bit of knowledge of smarty.
There is a file-list plugin (can't remember the name) that you can call..... lets say it's called 'file-list'...
a) create a directory under uploads for each user (directory name should match the username).
b) put their files there
c) do something like this:
{if $ccuser->loggedin()}
{capture assign='dir'}uploads/{$ccuser->username()}{/capture}
{file_list dir=$dir}
{/if}
disclaimer: completely untested... and I probably have a few errors... but that's the principle.
There is a file-list plugin (can't remember the name) that you can call..... lets say it's called 'file-list'...
a) create a directory under uploads for each user (directory name should match the username).
b) put their files there
c) do something like this:
{if $ccuser->loggedin()}
{capture assign='dir'}uploads/{$ccuser->username()}{/capture}
{file_list dir=$dir}
{/if}
disclaimer: completely untested... and I probably have a few errors... but that's the principle.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
