Hello All,

This is my first post here and I am looking for some advice. I am new to Drupal and really love the flexibility. I do however have a couple problems.

1.) I would like to be able to have authenticated users upload files.
2.) I would like the users to be given a link that they can share with other people.

Now, I have set up something so that authenticated users can upload files but their upload is something along the lines of /content/[whatever they called the upload]

Ideally, i would like to have it just be a node. So, something like /node/[node#] and I would like this node numbered page to have a download link for the file on it.

In essence, if the user were to have 50 uploaded files, I would like them to be able to manage them all from a certain "user" page and still have the functionality to have one of their individual files have a node page with a download link on it.

Please help a noob in need.

Thanks.

Comments

m13’s picture

and use "file attachments" for the thing you need

another thing is that you can have authenticated users uploading files if you set the permissions correctly.

But I think you need to design your system. What exactly you need your users to be able to do, how this content categorises throughout your website etc.

For sharing nodes with social networking use "Share" and "Share this" widgets

for nodes acting as web storage spaces do the thing I described in the beggining of this comment.

If you need the node to have image/text/attachment use "Image module"

If you need it to have text and attachment only then use the default content types "page" or "story".

I don't know if this helps.. good luck!

m13’s picture

"In essence, if the user were to have 50 uploaded files, I would like them to be able to manage them all from a certain "user" page and still have the functionality to have one of their individual files have a node page with a download link on it."

you definetely need "views" module that will display blocks on certain pages (block visibility)

generally speaking, you got things straight but I think you need to make clear what exactly you need to do and how exactly the content of your website is going to be managed.

dec1ph3r’s picture

Okay, so here is a rundown of my site. I have CCK installed with FileField and Views Modules. I have created a content type "upload" with the filefield "file upload" parameter. I have found a way to have authenticated users upload a file to a "node" however the "node" that it uploads to is a direct link to the file. This is not what I want. I would like the uploaded file from the authenticated user to create a "node", yet have the file itself linked from that particular node page. As well, I would like the file that was uploaded to be accessible from a views block or page that ONLY that authenticated user has access to. Sort of along the lines of mediafire but not coded with that much complexity. Wherein the user can access the links to these uploaded files from their own "user" page or view. Hence, the ability to "manage" said files, being able to pass these links on to other people. These anonymous users should be able to access the particular node with that one uploaded file and click on the download link. Is this possible? I assume it is. I just don't have a HUGE knowledge of PHP. I am reading books and trying to understand the intricacies of the language.

Thank you for your help, m13.

If you need more info you can get me on an IM client, just let me know which one you use.

m13’s picture

I would like the uploaded file from the authenticated user to create a "node", yet have the file itself linked from that particular node page.

this is the only part I do not understand. All others are solved. Please clarify so that I can give you instructions on how to make the thing you need!

the thing you need to do is very simple apart from the fact that I do not understand what you mean by "yet have the file itself linked from that particular node page".

p.s. every thing you mentioned you need to do is duable :)

WorldFallz’s picture

I'm not sure what the question is. Create a content type called "file", add a single value cck filefield to it, then create a view of file nodes by user. You can place the view on the user's profile page with a tab (using the menu settings of views) or with something like the views_attach module.

EDIT: also, for truly private files you'll want to use something like the private_upload module or http://drupal.org/node/189239.

m13’s picture

been circling around drupal for a week now and I ended up here ..where I started from that is.

that's odd