Ok. I am starting to understand what I'm missing. Just to recap... here is my current setup (1-4 are fully functional). If you can guide me through the proper call to uploads, I'd appreciate it.
1. User logs in.
2. They are auto directed to a page with the same name as their username.
3. On that page, they can download 1 file that is unique to them (it's a PDF)
4. Right now, that is a manual call to a file in the uploads directory /uploads/files/uniquefile01.pdf
To make this work properly, it sounds like I need to implement the UPLOADS module on a page that I can navigate to to upload the files... vs. uploading through the admin panel or via ftp.
#1. Is that correct?
#2. If so, how do I only show that 1 unique file on each page?
Again. Thank you for your assistance. I know this will help many people... not just myself.
Extending Frontend User Security to Uploaded Files
Re: Extending Frontend User Security to Uploaded Files
Mmmmm... Tasty.
Re: Extending Frontend User Security to Uploaded Files
see belowjtcreate wrote: If you can guide me through the proper call to uploads, I'd appreciate it.
Not sure I follow you here. Uploading through the Uploads admin interface should work just fine. You can also use FTP, but you'll have to add the file summary, etc, in the Uploads mod anyway. Might as well do it all through Uploads.jtcreate wrote: To make this work properly, it sounds like I need to implement the UPLOADS module on a page that I can navigate to to upload the files... vs. uploading through the admin panel or via ftp.
#1. Is that correct?
{cms_module module="Uploads" category="somecategory" upload_id="id_of_the_uploaded_file"}jtcreate wrote: #2. If so, how do I only show that 1 unique file on each page?
Re: Extending Frontend User Security to Uploaded Files
Thank you. All the files are in the uploads module. Each has an id.
I added this call from one of the pages:
{cms_module module="Uploads" category="volunteers" mode="link" upload_id="33"} (PDF)
And, it's blank. So close here. I tried a few different modes (as mentioned in the module help), but none worked.
This is so close to working...
- the category is volunteers (Cat #3)
- their are multiple files in there - each has its own ID in the left column
If I change the category name in the above line {cms module... etc.} is does say "Category Not Found". So, I'm assuming it's connecting to the Uploads module. Am I missing something in the line above?
Again, thanks for your help.
I added this call from one of the pages:
{cms_module module="Uploads" category="volunteers" mode="link" upload_id="33"} (PDF)
And, it's blank. So close here. I tried a few different modes (as mentioned in the module help), but none worked.
This is so close to working...
- the category is volunteers (Cat #3)
- their are multiple files in there - each has its own ID in the left column
If I change the category name in the above line {cms module... etc.} is does say "Category Not Found". So, I'm assuming it's connecting to the Uploads module. Am I missing something in the line above?
Again, thanks for your help.
Mmmmm... Tasty.
Re: Extending Frontend User Security to Uploaded Files
If you just FTP the files to the site there is a good chance this will never work iirc all protected files need to be uploaded thru the admin of the Uploads Module...
Re: Extending Frontend User Security to Uploaded Files
Good point. As a test, I created a fresh category and uploaded one file into it through the admin panel and then did the call from the page... still blank.mark wrote: If you just FTP the files to the site there is a good chance this will never work iirc all protected files need to be uploaded thru the admin of the Uploads Module...
It's connecting, but not showing the link or other content. If I put in incorrect parameters or a wrong category name, it returns an error. Current code line is:
{cms_module module="Uploads" category="tester" mode="link" upload_id="101"}(PDF)
Everything else works great! This is the last piece of the puzzle. Thanks to all.
Mmmmm... Tasty.
Re: Extending Frontend User Security to Uploaded Files
hmmm, that exact module call works for me (of course changing the category name, etc for my install)
{cms_module module="Uploads" category="downloads" upload_id="77" mode="link"}
{cms_module module="Uploads" category="downloads" upload_id="77" mode="link"}
Re: Extending Frontend User Security to Uploaded Files
I concur with your "hmmmm"... does it matter what order you set it up? eg. I had mode then upload_id? Otherwise, I'm truly stumped now. Everything else is working great.
Mmmmm... Tasty.