dtynan
Forum Replies Created
-
Forum: Plugins
In reply to: [Email Before Download] Error 503 Service Unavailablein the EBD settings, make it so hide/masquerade is off and try again (or if it’s already off then try it with it on).
did you get things working first before trying to make it go to an S3-stored file? If not, you probably should.
- This reply was modified 9 years, 11 months ago by dtynan. Reason: fixed first sentence to make more sense
Forum: Plugins
In reply to: [Email Before Download] error in SQL syntaxEBD does occasionally log errors and warnings and some are kinda scary like that one. Many months ago I went through the code because I was concerned about those, but found that they didn’t actually cause any problems. I had followed the instructions on the Description page, which had led me to install the older version of Download Monitor. After reading through the code it looked to me like the latest version of Download Monitor might work and not generate most of those errors, so I tried it and it got rid of those errors for me (I might have also fixed one or two myself, not sure now).
Anyway, if you’re not using the latest version of EBD, you should, as that fixes a couple of the errors. Then, as I said, I think you’ll have fewer of those if you use the latest version of Download Monitor also. But, you may still see some (but you can probably ignore them).
Forum: Plugins
In reply to: [Email Before Download] More than one email templateNo, it doesn’t support that. You can set one custom email template/layout in setting 9.1 for a single-file download and you can set one custom email template/layout in setting 9.2 for multi-file.
So you’re saying that’s an exact copy of what you have in there for 9.1 in the EBD settings, correct? Assuming that’s right, then it looks like you’re actually making a link yourself using a real url and such, rather than using the little shortcode-like text placeholder replacement thingies. You’ve used [requesting_name] at the top, which is good. You just need to change the URL so you’re using [file_url] and [file_name] (or whatever they are) with the little bits of html around them to make a link. See the help text underneath the 9.1 setting – it explains how to do it.
Forum: Plugins
In reply to: [Email Before Download] [contact-form-7 404 "Not Found"]Why are you doing it in php .. are you trying to make it work inside a template?
I don’t know if it will work that way or not. Maybe. Anyway, I think what you were doing was pretty close to what you would need to make the shortcode execute in a template, so I’m guessing that’s what you’re doing.
This is what you had:
<?php echo do_shortcode("[email-download download_id=“372” contact_form_id=“368”]"); ?>I don’t think that would work because it’s not going to parse the double quotes right. Maybe try this (I have changed the double quotes on the outside to be single quotes):
<?php echo do_shortcode('[email-download download_id=“372” contact_form_id=“368”]'); ?>I think that would work. Hopefully that will at least produce the EBD form from your template. Assuming it does then I really don’t know if the rest will work or not .. maybe. Since it does an ajax post it might have trouble, I’m not sure. Also, if you have selected ‘inline’ or ‘both’ in the EBD Settings that might be a problem since it updates the page with the link & message and such — I think that would be especially problematic if it were to show up on pages on your site that are not really a normal WordPress Page or WordPress Post (like a dynamic page created by a plugin or something that happens to use the same template .. I would think that would probably not work). Anyway, I’m just guessing really … give it a shot and see what happens.
Forum: Plugins
In reply to: [Email Before Download] [contact-form-7 404 "Not Found"]Ok, so you do have a question about EBD, not CF7, it looks like. Though, I have no idea what you’re asking really .. you haven’t actually stated what the problem is?
Hmm. Also, I don’t understand what you’ve posted. Why did you post PHP code? You should be taking that EBD shortcode (the email-download shortcode) and putting that in a wordpress page or a wordpress post, not putting it in a call to do_shortcode in PHP (also, even if you could do that, it wouldn’t parse right because you’ve put double quotes inside double quotes).
Why don’t you back up and explain exactly what it is you’re trying to do and what problem it is that you’re seeing.
Forum: Plugins
In reply to: [Email Before Download] Attached File is not geting DownloadedEdit the form that you created in CF7 and change the name of the email field in the shortcode for your html form to be “your-email”. The field name must be “your-email” (without quotes) for things to work properly. See the 2nd screenshot from the top on this page if you don’t follow what I mean:
https://wordpress.org/plugins/email-before-download/screenshots/I don’t know if a name field is required or not. I think it will work without one … you don’t have one, so I guess we’ll find out 🙂
Anyway, change it to “your-email” and try again.
Forum: Plugins
In reply to: [Email Before Download] Custom ClassIf you just do like an a:hover then you’re going to affect every link on the page. To target a specific link you need to do a.classname:hover like I did above .. but, obviously you need to change classname to an actual classname on that link.
Or, if you don’t have a classname on that link and can’t get one on there, then I suggest you read up on CSS3 Selectors. You should be able to target a specific link by using the right combination of selectors to get at it .. it takes some practice/learning to figure it out at first. Good luck
Forum: Plugins
In reply to: [Email Before Download] Download link not showing after successNo idea. I’d probably just try a different popup plugin until I found one that worked.
From your other posts I thought you were doing inline link, but your message here talking about a link not showing up in your email. Does that mean you are doing ‘both’? Are you getting the email and there is no link in it, or are you not getting the email at all?
Make sure you are aware that EBD sends 2 emails out. One goes to the To: value of the CF7 form that you made. I call that one the notification email. He lists what the user downloaded, but it is not a link, just the name of the file. The other email goes to the email address that the website visitor typed into the EBD form (and then hit Submit). That email contains the link to the download file (and/or has the download attached if you selected that option). Note that it is common for that email (the one going to the website visitor) to not actually be delivered (because of the From: value .. this is a common issue when your website is on shared hosting). It is best to test with an email address that is not your WordPress Admin email address — that way you can easily see if both emails show up — one to the WordPress Admin (the notification email that has no link) and another to the email address entered into the form by the website visitor (this one will have a link – if it gets delivered, but it is often blocked by the email provider [gmail, yahoo, etc].
Forum: Plugins
In reply to: [Email Before Download] Contacts1)
The subscriber info gets stored in a couple of tables in the database. I think ebd_link and ebd_posted_data or something like that. The best way to get the subscriber data is to use the Export CSV feature from top of the EBD settings page in WordPress. That will generate a CSV file that you can then do something with (parse it with a script, load it into excel, etc).
Aside from the database and CSV export, note that each submit of the EBD form causes a notification email to be sent to the wordpress administrator (or whatever email address you put in the To: field in the CF7 form that you made) and that notification email also contains the submitted form data.
2)
There is no specific built in support for running EBD in a popup window. I have seen test pages that people have made where they have it working in a popup, but I don’t know what plugin they used to make it work. I suspect you’d have to just try a few until you got one that worked — particularly if you are doing the ‘inline’ or ‘both’, since both of those use ajax to update the screen with the message and link, which might be an issue for some popup plugins I’d guess.
Forum: Plugins
In reply to: [Email Before Download] Custom ClassYou can use this css selector to get at the inline link that will appear after the user submits the form:
a.icon-button.download-iconSo here’s an example of how you might use that to change the hover color that link:
a.icon-button.download-icon:hover { color: red; }Forum: Plugins
In reply to: [Email Before Download] [contact-form-7 404 "Not Found"]You have posted on the Email Before Download forum, but your question appears to be about Contact Form 7 (you are using a CF7 shortcode, rather than an EBD shortcode) I think… Maybe you meant to post your question on the Contact Form 7 forum or on the Email Before Download forum?
Forum: Plugins
In reply to: [Email Before Download] Download link not showing on 1st successI’m on a mac. I’ll try a PC tomorrow and see what happens (then I’ll update this item).
Forum: Plugins
In reply to: [Email Before Download] 404 Not Found errorEdit the CF7 form that you made and change the 2 shortcodes for the name and the email address so that the field names are “your-name” and “your-email” (without quotes). See the 2nd screenshot on this page for an example:
https://wordpress.org/plugins/email-before-download/screenshots/
Forum: Plugins
In reply to: [Email Before Download] Attached File is not geting DownloadedIt sounds like your file is messed up somehow in Download Monitor, or the file is not in the right location in the filesystem, or the file is zero bytes or something weird like that.
Go into Download Monitor (the “Downloads” link on your main wordpress admin menu) so that it lists the files you’ve uploaded. You should be able to “edit” the file (the id of that file should be the same as the download_id in your shortcode by the way). When you “edit” the file it will bring up like the Detail page of info for that file. On that Detail page, look at the top right area of the screen and there will be a URL there. That URL is what you would use to access that file using your web browser and have Download Monitor give it to the browser (in other words, it avoids EBD and CF7 and just tests whether your download is working properly using just Download Monitor). Grab that URL and put it in your browser and see if the file downloads.
If the file does not download properly then something is wrong with your file or how you uploaded it or where it is or what Download Monitor thinks about it.
If the file does download ok then I need to take a look a your page to figure out what’s happening, so put the URL to your page in here. Also put your shortcode in here.