Community & Support

Opt-in Page for File Download and list

Hello,
I am looking to do the following:
Direct someone to a page that discusses the benefits of an ebook, plus a little other marking info. On the page will be a form where the user enters their name and e-mail address. An e-mail is immediately sent that contains a link to the file for them to download. Their name is also included in a list for later use (e.g. more marketing info, newsletter, etc.). If possible, I'd also like to have the file protected from direct download or something along those lines.
What modules should I use for this?

Comments

_

You could probably set this up with simplenews or a little custom code in a page using the drupal_mail function.

If you really want to protect the file from direct download, you should just mail it as an attachment.

Otherwise check out the http://drupal.org/project/private_upload and http://drupal.org/project/downld modules.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

Simplenews vs Autoresponder

Thank you for responding so quickly.
So, simplenews would be better than autoresponder? Will it automatically e-mail them the file immediately when they sign up, or will I have to send out another newsletter each time?

_

I've not tried autoresponder-- if it works for you by all means use it.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

Autoresponder not working

I like the fact that Simplenews allows registering within a block. Is it possible to make simplenews send out the attached e-mail as soon as a person signs up? I am thinking I could make an issue that just has a link to the download page. Or, if there were some other method of doing this, I'd be happy with that as well.

_

You might be able to do this with the http://drupal.org/project/rules module.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

Thank YOu

We used workflow_ng and cck and it works okay (e.g. the e-mail gets sent out, but isn't necessarily added to a list. I guess I can do that later). Workflow doesn't seem to have a "user entered form info" event, so I went the "node created" route with CCK. However, the user will need to "Create mynode", which is kinda awkward. Is it possible to create content, but on a page different than www.site.com/add/mynode? I'd want additional text as well to convince the person to fill in the form, which of course creates the node.

_

Hmmm... it might actually be easier to do this with http://drupal.org/project/webform.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

Webform support Workflow?

I looked into that, but it seems webform doesn't support workflow. Also, webform doesn't allow one to configure the email sent to the user (unless I missed it). So, I guess I just need to find a way to add content on a page that doesn't look like I'm adding content?

_

Since you're still on d5/workflow_ng this should work for you: http://drupal.org/node/267365#comment-1017782

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

Alternative to Webform

Thank you for sending me that information. I think it would work if Webform would then send the captured data to workflow, so I could send the e-mail to the entered address. Since we've got it this far, I'm thinking maybe I don't want to go the webform route. Basically, I'm just trying to pretty-up the node creation process, so I can say, "Hey you. You wanna fill out this form (which is really a new node)!! Fill it out now!!!" and have the node submission right there, as opposed to the "Submit New Content" page. Isn't there something or someway out there to create a node, but either within a block or within a page?

I hate to keep bothering you with this, and am EXTREMELY grateful for your help. You've gotten me 95% there. I just need this last 5%. Someone else seems to have had a similar situation, and I plan to inform them on the solution http://drupal.org/node/249183

you could look at the

you could look at the http://drupal.org/project/formblock module-- with that you can put the form anywhere you like in a block.

it's not a bother i'm just payin' it forward ;-)

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

5%

_

Nice! lol.

To remove the preview button, put the following in a little custom module:

<?php
function mymodule_form_alter(&$form, $form_state, $form_id) {
  unset (
$form['preview']);
}
?>

If you only want to remove it for a specific form, add an "if" clause to check $form_id.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

nobody click here