Forum Replies Created

Viewing 15 replies - 46 through 60 (of 777 total)
  • Popup? EBD doesn’t have anything to do with popups. You’re on your own if you’re trying to make it work in a popup.

    linkzero, please don’t update existing items belonging to other people, as it causes the person who opened the item (months ago) to get an email telling them it’s been updated. Open a new item if you need help (you should first get EBD working with a non-PDF file … if you get it working, then switch to a PDF and see if things work, if not, open a new support item)

    Looks like you have strict mode error reporting turned on in PHP. You should turn that off or else make the error messages go to a file instead of to the screen. In WordPress, you can usually just fix everything by making sure WP_DEBUG is turned off.

    Yeah, you need to real double-quotes (straight quotes). Some people try to cut n paste the shortcode in there from somewhere else & they end up with curly quotes (MS-Word-style dumbquotes). Also, some wordpress HTML editors do that as well. As long as you use straight quotes there is no issue.

    The field name in the CF7 form you made needs to be “your-email”, not “Your-Email”.

    Now I understand.

    EBD always sends at least 1 email, which I call the “notification email”. That email is supposed to go to the wordpress admin (you) to let him know that someone has visited the website and has downloaded the download file by filling in the EBD form & hitting submit. That email does not go to the website visitor — it’s just for you, so that you know something happened. Note that that email does NOT have a link to the download file. Instead, it just has the name of the download file that was downloaded (or multiple files if your form allows that) and is just to let you know something happene. That email is configured by way of the email settings in the Contact Form 7 form you created. In your case, you set the From: and the To: of that email to be your gmail address. You should change the From: of that email to something else, which will keep it from appearing in the Sent folder of your gmail account (normally it is set to something like wordpress@yourdomain.com where yourdomain.com is whatever your domain name is).

    If you selected ’email’ or ‘both’ (rather than ‘inline’) in the EBD Settings, then EBD will send a second email. That email goes to the email address that the website visitor typed into the form on your webpage when he visited your website (which is normally the visitor’s email address & could be anything really). That email DOES normally contain a link to the download file. You don’t see this email because it goes to whatever email address the visitor typed in. Note that there is no way to control the From: of this email in the normal EBD Settings, which is usually a problem because the From: will get set to something goofy. You need to use the Postman SMTP plugin or the Custom Sender For Email Before Download plugin in order to set the From: value of this email. And, you should do that, because many email providers (Yahoo mail, etc) will silently throw the email away if the From: is not a valid email address for your domain name. So, aside from installing one of those plugins, you also may need to create an email address in your web hosts menus.

    So to recap, you need to:
    1. Edit your CF7 form and change the From: to wordpress@whateveryoudomainnameis.com
    2. Install one of those two plugins (unless you are already using a different SMTP plugin)
    3. If needed, create an email account in your web hosting provider’s cpanel or whatever menu system they have, so that you have a something@yourdomain.com email address to use.
    4. Use your SMTP plugin or that Custom Sender plugin to set the From: value to the email address you just created.
    5. Go make a new email address on Yahoo Mail or some other mail provider. You’ll use this email to test with. Once you make it, then use your browser & visit your webpage with the EBD form in it. Put your new Yahoo email address into the form & hit submit. Now, you should get two emails — one email will be the notification email and it will go to your gmail account (and it will have a From: of wordpress@yourdomain.com so it will only appear in your Inbox and not in your Sent). The other email will go to the Yahoo email address & it will have a link to download the download file. If you get both emails then you are in good shape.

    Your CF7 form has the field names “first-name” and “last-name”. EBD doesn’t know what those are. It only knows “your-name”.

    So, when the visitor fills in the form & hits submit EBD sends an email to him and it would normally put the value of “your-name” that the visitor typed in into the [your-name] placeholder that you put in the email template. But, EBD doesn’t have a value for [your-name] because you didn’t put a [your-name] in your CF7 form template. Additionally, [your-surname] is not something EBD understands, so that will never display anything in the email (it’s not a valid placeholder in the email template in the EBD settings). Unfortunately, EBD only has the your-name, so it doesn’t really have a good way to have a firstname & a lastname. You can put those fields in the CF7 form and the visitor can type that stuff in, but it won’t make it into the email, nor will it be stored in the “name” field in the database (which shows up when you export a CSV file).

    Therefore, you probably want to remove [your-surname] from your email template, since that will never work. Then, you probably want to modify your CF7 form and change “first-name” or “last-name” to “your-name” (or get rid of both and just do a single your-name).

    As for [files], that only works in Settings #11 in the EBD settings. In Setting 9.1, the email template, you instead have to build the link yourself using [file_url] and [file_name]. There is an example of how to do that in the help text under 9.1.

    On the From field:

    The “From” of the email that gets sent to the website visitor’s email address (which he typed into the form when it displayed on your page) can be set using either the Postman SMTP plugin or the Custom Sender For Email Before Download plugin.

    Note that you must make the From be an actual real, valid, email address that matches your domain name. It needs to be a real email address (like set up where it could actually receive mail — usually you do this in the cpanel control panel that your web hosting company provides). If it is not a real email address with your domain name on the end then lots of email providers (like gmail, yahoo mail, etc) will silently throw the email away when it shows up (like it doesn’t even make it to the spam folder).

    On the Subject line:

    So you have that “Your [files] infopack is here.” in EBD setting #11 (or maybe it’s #12, can’t remember). What’s happening when the email arrives? Is [files] still in there or did it put something else in there?

    Just guessing, I think you might try editing your download in download monitor and put some text in the “Title” field — I think that might get substituted in for the [files] thing, though I’m not certain.

    If that stuff doesn’t help, or you have further questions, please post a link to your page, the shortcode you’re using, and set it to “both”, so I can see what’s going on. It’s too difficult for me to answer that many questions without seeing where you’re at…

    vinniegtvr, post a link to your page so I can try it

    Yeah that looks like a bug. Switch your double quotes to single quotes in the HTML that you are putting into the EBD setting and that will fix the main issue. I think you might lose the non-breaking space though once you save twice (probably). Rather than using that nbsp maybe you can use some right-side padding on the i element or something like that in order to make the space you want.

    I don’t know if it’s possible to use do_shortcode() to call the email-download shortcode and get everything to work. It might work, might not. When the email-download shortcode executes, the EBD code looks at its arguments and it cares about the quotes when it goes to parse them. After parsing, it runs do_shortcode itself to get CF7 and/or Download Monitor to run.

    At least at first glance, I would think you could get it to work if you properly escaped (backslashed) your quotes. At least for what you pasted in, it doesn’t look like you’re doing that, but it’s possibly that this support forum software removed your backslashes (not sure if it would do that or not). Anyway, I would start by putting backslashes before each quote used around the 455 an 459 arguments. If that doesn’t work, maybe try double-backslashes? Not sure .. you’ll just have to experiment.

    In your CF7 form, the field name for the email field -must- be named “your-email” (without quotes). If it is not your-email then things will not work. You might also want to make the name field your-name though I don’t think that’s required (making it your-name will cause the value that the user types in to be output in the name field of the Export CSV feature, if you care about that).

    Oh, I see the problem — I completely missed it when I looked yesterday. You cannot name the email field “email-988”. It must be named “your-email” or else things won’t work. Fix your CF7 form.

    I just realized they released a new version of EBD that gets rid of the “download.php” part of the download URL. So that explains why that’s missing on yours. Hmmm. That might be the cause of the issue you’re seeing .. or it might not. It’s certainly suspicious.

    The download link that is appearing is missing the “download.php”, which is weird. The one on your site is:

    http://agilecoachtools.com/wp-content/plugins/email-before-download/?dl=ea454f5f5bf344e81c856c5d1b615ae1

    but it should be:

    http://agilecoachtools.com/wp-content/plugins/email-before-download/download.php?dl=ea454f5f5bf344e81c856c5d1b615ae1

    However, even when I try the corrected URL it still does not work. What it does is gives the browser a 302 Location but no URL to go to (a 302 Location redirects the browser). That’s definitely weird.

    Go into the “Downloads” section of your wordpress admin menus (which is Download Monitor) and Edit your download so you can get to the detail screen. Look at the top-right part of that edit screen and there should be a URL which is the URL to get your download using Download Monitor (in other words, without using CF7 or EBD). Copy that URL and paste it into a different browser (a browser that is not logged in to your website) and see if it will download the file. If it does not download, then your problem is that the download file entry is messed up somehow — try making a new one & changing your shortcode. If it does download then update this item with that URL, plus the EBD shortcode you are using, and also check the “hide/mask” URL option in the EBD Settings

Viewing 15 replies - 46 through 60 (of 777 total)