I have a complex operation to put together and my knowledge of hooks, filters, and general php is minimal to say the least. I would appreciate some help here:
I have a page with a list of downloads that are placed dynamically using a plug-in called MediaTags. Basically, all this does is allow me to categorize media and display it on a page according to category. Now, I need to be able to do several things on this page:
1. Downloads are publicly available as long as users fill out a form first. So I thought I could link each file to another page with the form on it. This should only happen for non-members. Members who are logged in should be able to download directly from the downloads page, without being redirected, and without filling out anything. Any ideas how I can do this?
2. Once a user lands on the form page, they should be given an option to download the file they clicked on, and any of the other files listed on the Downloads page - the posts regarding dynamically populating a field have pretty much gone over my head, so I am not sure how to get the list from the previous page into a dropdown/checkboxes/list on the form. Remember that the list of files is periodically updated, and is already called dynamically on the previous page, so this information cannot be hard-coded.
3. Once the user has made his selection and filled out the form, the links for the download should appear on a redirected page, or can be sent to him via email (obviously, this will be based on the selections made by the user - as I understand it, the file urls would be the values of each item in the dropdown. How do I do that???).
Where do I start with this kind of process? I checked the documentation for populating fields dynamically, but it might as well have been in cyrillic. I understood very little. Can anyone help?