Forum Replies Created

Viewing 15 replies - 616 through 630 (of 777 total)
  • the force download option in EBD I mean, not Download Monitor.

    Ok, so if you have created the CF7 form on the server and used that contact form ID (not one from your localhost) and if you have uploaded the file into Download Monitor on the server system and used that download ID (not one from your localhost), then that sounds ok.

    You haven’t actually described what the problem is, so I don’t know if, for example, you have it set to Inline and you are not getting the link. Or, if you have it set to Both and don’t get the link or the email. Or if you do get the link, but it doesn’t download the file, etc.

    EBD may try to directly access the file off the filesystem, so you may have to set or unset that option in Download Monitor … the force download option or whatever it’s called. I think one way does a Location: command (maybe) and the other way opens the file off the disk. I suspect the opening the file off the disk isn’t going to work well if you’re wanting S2Member to intercede there, so you probably need it to request it by having the browser go to the URL (Location:) or opening a socket or something. I’m not that familiar with doing it that way, so I don’t know if that Download Monitor setting for Force Download or whatever will work…

    You may have to instead use that file= option in your shortcode. I believe you do like file=URL where URL is the URL to the file.

    Make sure you are not masking the URL (in the EBD settings)

    The EBD shortcode goes into a page that you make in wordpress. It might work in a post, but I’m not sure, I haven’t tried it.

    If your post page is special in some way — like dynamically generated, I think it’s very unlikely that it would work right, but I could be wrong on that.

    Looking at your screenshots, I think the fact that your URLs are localhost is very weird. If I am a user on my system out on the internet somewhere & I go to your website & I encounter a url with localhost in it then my browser is going to go back to my own computer — not your website — for that URL. So, that seems very wrong to me.

    You should focus on getting Download Monitor working first. You should be able to get to the file & download it using the Download Monitor URL in the top-right area of that page and it should be an external URL, not a localhost URL (a localhost URL might work for testing if you are developing on your own local system with a local instance of wordpress installed, but once you deploy you’ll need to change the host & probably the uploaded file ID since you’ll need to upload that file on your server so it’s correct filepaths & ID & such get into the database).

    Not quite all of that. There isn’t any kind of approval step (where the admin approves someone to download). Also, there isn’t really registration as in some sort of account is created. There is a form & you can put whatever fields on it you want & the user has to fill those in & press submit. Then, depending on how you configure it, either a link to download the file appears on the screen (via ajax update), or the user is sent an email with the link in it, or the user is sent an email with the file attached to the email (and optionally a link to download it as well), or you can do both the ajax-update link on the screen & the email to the user with or without a link and/or attachment.

    The advantage of doing an email with a link or an email with an attachment is that the user cannot get the download unless they have provided a working email address (rather than something they just type in there). If you do the ajax-update display link on the screen then you don’t really know if the email address works or not, which can be a problem depending on what you’re doing (for example, mailchimp doesn’t like you to have too many non-working email addresses on your list).

    So, to summarize, there is no real registering of an “account” and there is no admin authorization step, but otherwise it pretty much does what you want. You make a form, the user has to fill it in, the user can optionally get an email about it (with or without link and/or attachment), and the site admin gets a notification email saying what was downloaded & what was typed in the form. That info also goes into the database & there is a log export function to get a csv. I’m not sure about adding extra fields like company .. I don’t know if that will be exported via the export log file function or not .. I think it will, but not sure.

    it works

    You can set up a custom email template in item 9.1 of the Email Before Download settings (or item 9.2 if you’re doing multiple downloads w/checkboxes).

    Just put some html in item 9.1 that includes the signature you want (make sure you put some stuff about it to make a link and use the [file_url] shortcode — see the example provided for item 9.1 in the settings page)

    Sorry, not sure how to do that then I guess. I would probably just edit out the text in the php (make it so it’s just a space character instead of that message). There are several similar messages, so look closely in the PHP to match up with what’s on-screen & then edit it down. You don’t need to know PHP to do that probably — if you’ve never written any program or macro or whatever you probably have enough skill to do it.

    FYI – I just used your form and put in my test gmail address. I received the email from your site to my gmail address about 20 seconds after I submitted the form. In the email was a link for the download & I tested that & it worked fine (downloaded an 11 meg .exe file). That all worked well.

    There are 2 different ways you can change the “From:” of the email that is sent to the end user:

    One option is to use https://wordpress.org/plugins/custom-sender-for-email-before-download/ which is a plugin that will allow you to put your own From in there. Note that every time you save your Email Before Download settings you will need to go back into this plugin (the custom sender plugin) and put your From back in there because it will be removed when you save settings in EBD.

    The other option is to an SMTP plugin. The one that most people using EBD use is called Postman SMTP and its author, Jason Hendriks, is very good about helping folks, though you probably won’t need any assistance with it. The SMTP plugin offers more flexibility, plus it logs what it does, etc. Unless you have a reason not to use it, you should probably choose this option.

    Note that a number of email providers (like Yahoo Mail) will reject incoming mail where the From: is set to an email address that doesn’t exist on the server that is sending the mail, unless you have set up things like the SPF record, DMARC, DomainKeys, etc. Those are ways to help prove you are not a spammer. Make sure you set those up and/or make sure that your From: matches up with the domain & account of the system sending. Make sure you create a test yahoo email address & use that in your testing of the EBD form. If you don’t get mail from EBD to that test Yahoo mail account it will be because Yahoo rejected it (thinking you are a spammer).

    aha! thanks for posting the answer back in here!

    change that same line again (line 561) to this:

    else if( (!empty($d) || !empty($ebd_item->file)) && strpos($ebd_item->download_id,',') === FALSE ){

    be sure and test all your EBD pages after you make that change, including testing checkbox pages by not selecting any checkboxes & hitting submit.

    ignore that — I don’t think that will work

    Try changing the $dIds to count($dIds) on that line 562 that I changed. So it should look like this:

    else if(count($dIds) && (!empty($d) || !empty($ebd_item->file)) ){

    I think that will fix it.

    If not, update this ticket with the exact message you are seeing (“Selected 1 file to download” is not standard text in EBD I don’t think, so maybe you misquoted what the error was … or maybe you changed it to read that way [if so, tell me the line number you changed])

    You could use the ::before or the ::after css selectors perhaps. You’ll have to figure out the css for the right combination of descendent selectors to target the div where the ajax loads. Might be kind of difficult.

    Or, I believe there is a span with a class of “et-icon” that wraps or is a parent of the file title link (the link you click to download). I don’t know if you can get it to display the way you want though. You might read my old description of it (and the problem it was causing someone at) https://wordpress.org/support/topic/email-link-is-vertical-one-word-at-a-time?replies=7

    Or directly modify the plugin to give it a classname you could target.

    Or pay the $10 support fee to the M&S Consulting guys (the plugin author) and ask them for help.

    (I assume the fee would be much higher than the $10 support fee, but can’t hurt to ask)

    I can’t think of any simple way to do that. I think you would probably need to modify the php to get that to work.

    You could pay the $10 support fee to the plugin authors (M&S Consulting) and ask them. They might be willing to spin off a custom version for a fee.

Viewing 15 replies - 616 through 630 (of 777 total)