dtynan
Forum Replies Created
-
Forum: Plugins
In reply to: [Email Before Download] Forms not showing upsreekanth.cool – if you still need help then open a new ticket and describe the problem in detail and include a link to your page if it’s public. thanks
Forum: Plugins
In reply to: [Email Before Download] MIMEGood, sounds like you’ve made some good progress.
The content of your message does make a difference (of course) as to whether the receiver’s email provider thinks it’s spam or not. The default email EBD sends out is pretty spartan, but it does get through to the Inbox as long as the From: is good (and having SPF helps).
On the From:, make sure you not only have it using your domain name, but also a real actual email account (go make one in your hosting provider cpanel if you need to). In other words, if it comes from yourfiles@whateverdomain.com then someone should be able to send an email to yourfiles@whateverdomain.com and it actually appears in some inbox somewhere rather than rejecting.
Forum: Plugins
In reply to: [Email Before Download] Page isn't redirecting properlyGreat, glad you figured it out and got it working. Couple of comments:
A few people have reported problems where the most recent WordPress upgrade broke their existing Email Before Download setup. Those people were all using something other than “your-email” as the field name in the CF7 form for the email that the web surfer would type in to the form. Changing their forms to put your-email in there fixed it for those folks. Some of those people were set for ‘inline’ (not ‘both’ or ’email’) so it’s not exactly clear why they would need to have your-email in there (since nothing is emailed), nor is it clear why putting it in there fixed it. My best guess is that the “your-email” thing didn’t actually do anything, but they somehow got a new CF7 form ID or something like that and that’s what actually fixed it, though I can’t prove that.
It’s difficult to explain, but EBD may end up pulling “old” data out of the database because it pulls based on IDs. Thus, it might miss some changes you did or keep pulling old bad data out of the database. That is why it is often helpful to start completely over — get a new CF7 form (so you get a new ID), reupload your files so they get new IDs (I usually tell people to give them different filenames too), etc. Essentially, make everything brand new, which is similar to what you did to fix things for yourself.
Anyway, glad you got it working…
I’m not sure I really understand what you are trying to do, but I’m pretty sure that you cannot do that. There is no support in Email Before Download for categories — it doesn’t know about them, doesn’t do anything with them, etc.
You can make a page that lists all of your downloads with checkboxes (or radiobuttons) next to it. That allows the user to select more than one download. However, there is nothing that will automatically fill in all those download IDs based on a category or anything like that.
Forum: Plugins
In reply to: [Email Before Download] MIMEI assume you mean that most of the emails EBD is sending out are ending up in the user’s spam folder or possibly not showing up at all, correct?
If that’s right, then the problem is most likely due to the From: of the email. Many email providers will either not accept email at all or will accept it but it will end up in the spam folder because the From: of the email is going to make it look like spam if you are using a shared-hosting provider like a Bluehost or a Hostgator or something like that.
In other words, if your website’s domain is thisismydomainname.com then you need the From: of your outgoing email to be somerealemailaccount@thisismydomainname.com but that’s not going to be what it is on Bluehost or Hostgator or any shared-hosting provider.
To fix that, you can install the Postman SMTP plugin from Jason Hendriks. That’s what most people on here do when they realize that some of the outgoing mail is not arriving (Yahoo mail will block it, so you can use a Yahoo mail account to test with and see if it shows up or not). If you don’t want to use Postman SMTP then you can use a plugin called Custom Sender For Email Before Download which allows you to type in the From: for EBD’s outgoing emails (and that’s all it does). Note that if you use that plugin, then you may have to put that From: value back in there every time you resave your EBD settings (at least for me, it wipes out that value every time I resave EBD settings and I have to go put it back in there).
So, generally that’s going to fix everything. However, if you continue to have problems getting email into the Inbox rather than the Spam folder, then you need to look into doing some of the anti-spam stuff like setting your SPF, DomainKeys, DMARC, etc — that will take some time & research on your part.
Forum: Plugins
In reply to: [Email Before Download] Text Not Fitting in Download ButtonYou’re seeing that problem because you’re using Divi as your theme. Or, more accurately, because you’re using an Elegant Themes theme.
In the Email Before Download code there is a span with a class of “et-icon” that wraps around another span which has the link text to click to download (in your case that is “Kitchen Design – The Basics”).
For most themes, a class of “et-icon” means nothing. However, in Divi, “et-icon” goes with a little background sprite image. That image messes things up and makes the width of the entire button be the width of the sprite. Thus, your text goes streaming down the page at a couple of characters per line.
The easiest way to fix this is to edit email-before-download.php and simply remove the class=”et-icon” part of the span. Then the button will display properly and the width will be correct.
Alternatively, if you’re good with css and layout then you can try to figure out what css to apply where and make the icon thingy not mess up the entire button and do the whole thing with css perhaps.
if you have a bit of php editing experience then you could edit email-before-download.php and comment out the two lines that begin with @wp_mail by putting // in front of them, so it looks like: // @wp_mail(whatever….)
I think that will work if I remember correctly, though I might be mistaken, I don’t recall how that part of the code works at the moment & am too lazy to go look it up. I don’t think it checks any kind of return code or anything, so commenting them out should be ok (there are two areas that call @wp_mail because one is for if you chose ’email’ and the other is for ‘both’)
Forum: Plugins
In reply to: [Email Before Download] Blocked domains syntaxLooks like that message is hardcoded into email-before-download.php at about line 420. You’re stuck with it unless you want to modify that php file (which is no big deal since new versions of email-before-download.php rarely appear, so not much chance your change will get overwritten on a plugin update).
I don’t think there’s a way to do that through any kind of option or setting. However, there are a couple of things you could do:
1. You could create a filter in your mail program or mail provider (like gmail or whatever) that automatically deletes those notification emails.
2. Or you could make it send to an email address that you never bother to check (and thus you never see the messages). That notification email is sent by Contact Form 7. So, you can go into your Forms and edit your form and then go to the Mail tab and change the To: to be some other email address that exists but that you don’t bother to check.
Forum: Plugins
In reply to: [Email Before Download] Allowing Multiple DownloadsI will probably have to see this in order to figure it out. Can you make a test page or tell me where to go to try it out?
Are you set to ‘inline’ or ‘both’? Set it to both if you haven’t already.
Do you have hide/mask checked?
Forum: Plugins
In reply to: [Email Before Download] Blocked domains syntaxI have never used that feature. As far as I can tell, what happens is that email address the web surfer puts into your form gets checked against each of the blocked domains. If the domain in the email address matches one of the domains in your list of blocked domains then it will not send an email and I think it will instead put a message on the screen to the web surfer telling him the email is not allowed.
The code looks to me like it should work. The syntax for the blocked domain list is just:
gmail.com,whatever.com,somethingelse.orgor something like that. Domain names with commas between and no spaces. If you just had one then no commas of course.
Forum: Plugins
In reply to: [Email Before Download] Email address is wordpress@domainname.comMost people install Postman SMTP plugin.
Alternatively, you can install Custom Sender for Email Before Download plugin (note that every time you resave your Email Before Download settings it may wipe out the From: value that you’ve put in Custom Sender for Email Before Download and you may have to go back in there & resave it in there)
jsavoor – it sort of does what you are trying to do, but not exactly. You can create a page in WordPress and on that page you can have a field for the user to input their email address (and name or whatever). You can also have a list of products (downloads) with a checkbox next to each one. The user can check one or more of those products and enter his email address and hit submit. Then, if configured this way, it can send the user an email with a download link to each file he checked (or the files can be attached to the email).
The user interface for that is via checkboxes only — no dropdown menu like you want. But, generally, it accomplishes what you are trying to do. You have to use the ebd or ebd_left codes in order to do checkboxes (see the screenshots page).
as you guessed, you cannot do use EBD on two different pages in two different ways (your second question).
on the first question, we need to make sure you understand which email is which. EBD sends to two emails when you have it set to “email” or “both” (and only 1 email when set to “inline”).
one email is what I call the notification email. that email goes to the wordpress admin email address (usually, and usually that is gonna be you). that email is actually sent out by CF7. that email will list the file or files that the user downloaded. those files will NOT be links. they will just be text. this email almost always goes through just fine. i’m guessing this one is working for you.
the other email is the one that goes to the web surfer who filled in the form on your website. the web surfer might enter any email address — something@yahoo.com or whatever@gmail.com, etc. many email providers have anti-spam measures that block incoming email if they think the email might be spam. that is the problem for many EBD users because they are using a shared hosting platform (like Hostgator or Bluehost or whatever). EBD sends out the email to the web surfer’s email address & the From: of the email will usually pick up some weird outgoing email address that is associated with the physical system (like jfe28h3yh@server47.bluehost.com or something like that). you need that to be a valid email address that is from your domain so that it gets through the antispam stuff and ends up in the web surfer’s inbox. there are 2 plugins you can use to accomplish that:
the vast majority of the people on here who run into that problem end up installing Postman SMTP by Jason Hendriks. it works well, it has a log window in it so you can see what happens, etc. that will fix your problem. you can find it at:
https://wordpress.org/plugins/email-before-download/alternatively, you can install Custom Sender for Email Before Download which lets you set the From: of the outgoing email that EBD sends (the one to the web surfer). note that every time you resave your EBD settings, it may wipe out the Custom Sender setting and you might have to go put it back in there. you can find it at
https://wordpress.org/plugins/custom-sender-for-email-before-download/Forum: Plugins
In reply to: [Email Before Download] How to set up download limit for each emailyou can’t do either one of those things.