dtynan
Forum Replies Created
-
You can use this plugin:
https://wordpress.org/plugins/custom-sender-for-email-before-download/Note that every time you change & resave your Email Before Download settings that it will probably wipe out the value you put in Custom Sender For Email Before Download settings (the value of the From:). So, you’ll have to remember to go put it back in there.
As a side benefit of getting a real email address at your actual domain in there for the From: value, it will make the email be deliverable to a lot of providers (like Yahoo Mail) that would have silently rejected the email if you left it with somenumbers@bluehost.com as the From: value.
If you don’t like the Custom Sender For Email Before Download plugin, an alternative way to fix it is to install the Postman SMTP plugin.
Forum: Plugins
In reply to: [Email Before Download] 2 attachments in emailMultiple downloads (or attachments) only work if you have set up the form for checkboxes (use the ebd or ebd_left tags as shown in the screenshots). That allows a user to check (or not check) each download and then he’ll get an attachment for each one he checked. It does not work unless you are doing checkboxes, so you can’t really “force” two or more attachments.
Another option would be to put the 2 files in a zip and do a single download of the zip.
Forum: Plugins
In reply to: [Email Before Download] 404 Not Found ErrorOk, on the 404 problem, it looks like something is set up wrong or somehow interfering. I suspect there is some issue related to PHP files.
My guess is that you have some security setting somewhere that is preventing PHP files from executing when they are accessed from somewhere other than localhost.
This could be a setting in your apache config file or in htaccess files or in some security plugin in your webserver (apache module of some type) or a wordpress security plugin.
Or, it could be some sort of php misconfiguration. That would probably take the form of a FILES directive (or related regex matching directive) that is targeting PHP files.
The reason I say all that is because I can go to
http://www.clickfox.com/wp-content/plugins/email-before-download/readme.txt
using my browser and it shows me the EBD readme.txt file.But if I go to any of the PHP programs, I always get a 404, which is not right:
http://www.clickfox.com/wp-content/plugins/email-before-download/checkcurl.php
(that should display curl is enabled or curl is not enabled message)http://www.clickfox.com/wp-content/plugins/email-before-download/export.php
(that should just give a 200 success with no html, not a 404 error)http://www.clickfox.com/wp-content/plugins/email-before-download/download.php
(this is the program that executes when the user clicks the link .. it should not 404)http://www.clickfox.com/wp-content/plugins/email-before-download/email-before-download.php
(on mine that gives a 500 internal server error, but I have made modifications .. regardless, it should not give a 404).All of yours that end in .php and that are in the plugins area are giving a 404, which is not right. Definitely configuration problem or security crap getting in the way.
Forum: Plugins
In reply to: [Email Before Download] 404 Not Found ErrorOk, I’m gonna give you quite a bit of info here so you understand what’s up. The email delivery problem and the 404 problem are probably not related. I will explain the email delivery problem next, in this comment, then I will do a separate comment on what we can try next on the 404.
EMAIL DELIVERY PROBLEM:
The email not showing up is a separate (and common) issue. Yahoo Mail, Gmail, and so on have anti-spam measures in place that are preventing the email that goes to the web surfer who filled your form from getting through. It has to do with the From: of the email that is being sent.
The email shows up for me because I sent it to my own linux server and I don’t have any antispam measures turned on.
To be clear, I’m talking about the email that goes to the email address that some web surfer filled in on your form (on the test page in this case). That email is the one with the link to the file and (in this case) the attached pdf. There is a different email, that I call the Notification Email, which goes to the wordpress admin (which is probably one of your email addresses). The notification email almost always goes through (it is sent by Contact Form 7). The other email (the one with the link & attachment) is the one that often has trouble getting through (it is sent by EBD and when you are on a shared hosting environment it will usually have a From: that doesn’t match your domain name and/or is not a real email account, which causes it to not get through to some email addresses because it looks like spam to some email providers).
Most people on here fix that problem by installing a plugin called Postman SMTP by Jason Hendriks. That plugin is very nice, has an email delivery log, and lets you set various fields like the From:, and so on. That plugin is at
https://wordpress.org/plugins/postman-smtp/Alternatively, you can install a plugin that lets you set the From: of the email sent by EBD. That plugin is at
https://wordpress.org/plugins/custom-sender-for-email-before-download/
You set the From: to be a valid email address at your domain (clickfox.com). Note that every time you change & save your Email Before Download settings, it may wipe out the value you have put in there, so you need to remember to double-check it & put it back in there if needed. (that is one reason it is better to use Postman SMTP).Forum: Plugins
In reply to: [Email Before Download] 404 Not Found Erroralso, if Hide/Mask has been unchecked the whole time, try checking it and trying again. It could be that you have some tests & redirects in your apache config or htaccess files that are somehow getting in the way.
Forum: Plugins
In reply to: [Email Before Download] 404 Not Found ErrorGreat, thanks. Ok, so I tried it again and put in an email address on my own server so that I could be sure the email came through without the email service provider (yahoo, gmail, etc) getting in the way. I received the email successfully and it did have the file attached and the file is good. However, the link in the text of the email gave a 404 just like the link that appears on the webpage.
So, that tells us that it IS finding the file ok (since it came through as an attachment). It’s just the link that seems to be messed up. I’m not sure why. It could be a conflict with your theme somehow. I don’t see any plugins that should cause a problem, so probably not a plugin conflict, but there’s always a chance.
If you have Hide/Masked checked, uncheck it (same for expiring). Try that. Let me know what happens.
If that didn’t help, go back into that same screen in Downloads for your download and check “Redirect to File” over on the right side. Try that. Let me know what happens.
Forum: Plugins
In reply to: [Email Before Download] 404 Not Found ErrorAre you set to ‘both’ or to ‘inline’?
(Set it to ‘both’ and set it to do attachments please)Also, in your Downloads (the Download Monitor area of your menu), pull up your download (should be the same download_id as you have in your shortcode) and when you are looking at it in the detail page look at the top right area of the screen and there will be a URL there that is the URL to directly access that file (using only Download Monitor, bypassing EBD). Please post that URL here.
Forum: Plugins
In reply to: [Email Before Download] Export log as .CSV file not workingNot sure what that could be. You need to be logged in as the wordpress admin. Your system needs to have either wp-load.php or wp-config.php in the normal place (2 directories above your EBD directory .. in the wordpress root). Those are the main requirements.
You probably need to have some data, so you need to do a couple of test downloads so that there is some csv data to export.
Beyond that, not sure what it could be. The export.php is pretty short, not much can go wrong. Suggest you check all your error_log files (PHP error logs) to see if the problem is getting killed due to some php error.
Forum: Plugins
In reply to: [Email Before Download] 404 Not Found ErrorThe curl thing doesn’t matter, ignore it.
What did you change to make the form appear? I need to know what was wrong.
I didn’t understand your description of what is happening now. Are you to ‘both’ in the EBD settings? When you get “adverse reply”, what does that mean – an error appears below the submit button or..? In one sentence you say there is a download link but you click it and get file not found. Then, at the end you say “File’s link is working”.
You need to make a page so I can see this or else describe what’s happening in much greater details – maybe with screenshots.
Seeing any kind of file not found message is definitely not right — that makes me think you have the wrong number in there for download_id maybe. Hard to say from your description.
the 3rd item in the FAQ says you must use your-email https://wordpress.org/plugins/email-before-download/faq/
but yeah, it could be more clear
Forum: Plugins
In reply to: [Email Before Download] 404 Not Found ErrorThere is no alternative plugin that does the same thing that I know of.
It’s ok if you can’t publish a test page, we can probably figure it out, you just have to try some stuff & tell me what you see & so on.
One problem that can cause the issue that you are seeing is if you have used wordpress reserved words in the field names of the CF7 form that you made. You need to make sure that the fields you have in there are “your-email” (for the user to put his email address in) and “your-name” (assuming you have a name field. If you have any other fields, make sure they are your-whatever, just to be safe. It needs to look like the CF7 form on the screenshots page of Email Before Download ( https://wordpress.org/plugins/email-before-download/screenshots/ )
Another thing that can cause that problem is if your page doesn’t have a wp_footer. Some themes are missing that and will cause CF7 to issue that error. Your theme must have a wp_footer, which is usually created by calling the wp_footer() function. Since i can’t see your page, you will need to figure that out on your own. Note that if you followed the instructions and made sure you got CF7 working properly first (installed it, made a little test form in CF7, made a WP page, put the cf7 shortcode in there, used your browser to go to it and fill it in and submit it, made sure you got the email), then a missing wp_footer is not the cause of the problem. If you did not test CF7 fully first, then missing wp_footer could be the problem … you could go make a test page now & put the cf7 shortcode in there (not the ebd shortcode) and try it and see if you get the same error (then you’ll know for sure).
Forum: Plugins
In reply to: [Email Before Download] Not working with WP 4.4?awesome, glad you got it working.
on the other ticket it sounds like you fixed things by making sure you were using “your-email” in the form, so I consider this fixed now (if this is a different problem with some other system then just update to let me know, otherwise no need to update this).
Forum: Plugins
In reply to: [Email Before Download] Email to User Not Sendinghi dscha — ok, good to hear you got it working by changing to “your-email” on there. It looks like upgrading to WordPress 4.4 has impacted some people that were not using “your-email” for the field name. A few others have seen that. The crazy thing is, not only do I not understand how WP 4.4 could cause that, I also don’t understand how it ever worked before for folks who weren’t using “your-email”. Anyway, I’m just glad it’s working now…
Forum: Plugins
In reply to: [Email Before Download] Not working with WP 4.4?asbruff – Ok, I tried the test page. Again, it seems to POST the data properly, but gets no response (unless you don’t fill in both fields). I don’t recall ever seeing this exact behavior. It looks like the program is most likely getting killed before it can send back the JSON response. I think you should check your PHP error logs — hopefully you know how to do that … depending on how your installation is set up, there can be several of them scattered around in multiple directories, or, sometimes your hosting provider gives a way to access them all via one interface (like in cpanel). I’m guessing that in one of them there will be an error that is killing the program somehow (though I cannot imagine why that would happen). As a last resort, you could try temporarily changing php.ini to display errors to the screen rather than to a file, which might show us the error when we submit the form, but no need to try that if you’ll just find & examine the end of every one of the php error_log files.
Another thing to check … I’m pretty sure this is correct in your setup, but go into the CF7 form you are using and double-check that you are using “your-email” as the name of the field in the form (like where the html is).
Also, I’d like to confirm the versions of CF7, DM, and EBD that you are using. And post the shortcode that you are using on that test page you made. And, go into your Downloads (Download Monitor) and pull up the download that you are using (the one with the download_id that is the same as your shortcode) and look at the detail page for that download and in the top right corner of the screen there will be a URL. That URL is the URL that you can use to directly access the download (bypassing EBD). Please post that in here also.
alipio123 – please open your own ticket (and you need to go into your contact form 7 form that you made and make sure you are using “your-email” as the field name for the email address the user would type in)