dtynan
Forum Replies Created
-
Forum: Plugins
In reply to: [Email Before Download] Incorrect link displayDo you have it set to Email right now? Can you change it to Both and update this ticket once you do. Also:
take a screenshot or two of your contact form settings in CF7 and mail those to me at info@electionaustin.com (or dtynan88@gmail.com). I want to be able to see the whole thing .. what you have From set to, etc.
Also, in the email, include the exact shortcode that you are using on your page.
Forum: Plugins
In reply to: [Email Before Download] No link after submit???It looks like Ajax is not working. When I submit the form on your page it -should- be an ajax connection back to your server, it gets the download link from the server, and then it puts that download link into an existing div on the page. Instead, it is submitting the form like a normal non-ajax POST, which clears the page & loads it again with that message at the end. That’s why it doesn’t work.
Ajax probably doesn’t work right because the EventManager javascript stuff you have. That would be my first guess. Another thing I noticed is that when you open firebug (or chrome devtools) and then load your page, it logs javascript errors for nav.js and search.js saying something about window.addtype not valid. So, it looks like you’ve got some conflict issues with your javascript or with plugins or theme or something that is using javascript. You’re on your own figuring that out… if you didn’t specifically add the eventmanager stuff yourself, then disable as many plugins as you can & try again.
I forgot to mention a couple of things…
When your page first loads, it is issuing an ajax call back to itself (to the same url) but with a couple of parameters that look like they are related to Contact Form 7. That may be normal with the latest versions of Contact Form 7 or may not, I’m not sure. It did look a bit weird though & the only response was two square brackets, like “[]”, which is also odd. So, that could just be related to the problem of your closing head tag & opening body tag being commented out — jquery or something may be freaking out because of that, who knows… That page has a lot of javascript, so no point in trying to track anything down until you try the stuff I mentioned in the previous comment.
The other thing is that your page returns a 500 internal server error for the favicon. I doubt that is related to these other issues, but it’s something you’ll want to fix before you go live (it could be because you made a test page … your production one may work fine for the favicon, but figured I’d mention it just so you’d be aware).
Couple of thoughts:
View source on your page (from your browser) and go down to line 77. It is an opening HTML comment that has the words “Grey Head bar”. Note that the comment is effectively commenting out your closing Head tag, the opening Body tag, and some other stuff. I don’t know if that’s the cause of what you’re seeing, but it certainly looks wrong. I’d fix that first.
If that doesn’t do it, then I suspect the problem is the square brackets [pdf] that you have in the titles. Perhaps the EBD code is getting confused thinking that’s a shortcode or something like that. You could try deleting that “[pdf]” from each of your Titles of your uploaded files & see if that fixes it .. be sure to clear any caching plugins & your browser cache & stuff too once you fix it, just in case.
If that doesn’t do it, then I think you should ADD completely new files that you’ve never used before & give them simple filenames & simple titles like “Apple” and “Orange” or something like that. Make a new WordPress page & put your ebd downoad code in there, but only use the download IDs for the new files you just added — do not use any of the old IDs or filename or titles – you want to get everything new & not accidentally pick up anything already in the database.
Give it a shot – let me know how it turns out.
Forum: Plugins
In reply to: [Email Before Download] Incorrect link displayI’m not sure what’s going on yet, but I do see something that looks weird. If you scroll down your pro-questionnaires page, you will see displayed shortcodes that are for Contact Form 7 and have 404 “Not Found” in them. That doesn’t look normal. They look like:
[contact-form-7 404 "Not Found"]There are several — looks like one of those shortcode/errors at the end of each section on that page.
Did you maybe put multiple email-download shortcodes on that page? Are you trying to offer multiple downloads maybe? I don’t know if you can put multiple email-download shortcodes together on the same page .. I kinda doubt it .. but if you do you’d probably need multiple CF7 forms & use a different ID# on each of your email-download shortcodes. But, like I said, I suspect that wouldn’t work. Also, you’d end up with multiple forms all on the same page, which would be a weird user experience .. the user would see Name & Email & Submit form for each different section of that page. So, I’m not sure if that’s what’s going on, but that’s kind of what it looks like.
Alternatively, perhaps your page is special somehow … like maybe it’s created by a plugin or something so that it pulls multiple pages into one page & that’s how it is somehow getting multiple CF7 shortcodes erroring (or multiple email-download shortcodes that are failing & leaving that CF7 shortcode i there maybe).
It’s hard to say exactly .. could be something else. If you want, you can email me your page contents (like the html & such that has your email-download shortcode) to dtynan88@gmail.com.
Other thoughts:
did you check Masked urls?
did you set anything to Forced download?
have you tried setting it to Both (rather than inline) and see if it emails you the correct pdf (set it to send attachments to)? doing this could help narrow down if EBD is the problem or if Download Monitor is doing something weird
Forum: Plugins
In reply to: [Email Before Download] email before download, no inline link, it just spinsDece..
You might be getting an ajax error or perhaps a javascript error .. bit of a guess, could be something else.
You need to either post the page publicly so someone on here can test it for you or, if you know how to use the development tools built into Firefox (Firebug) or Chrome (Chrome Dev Tools), then you should
exit & restart your browser
go to your webpage that has the EBD form on it
open the development tools & put it on the Network tab
fill in your EBD form stuff as normal & hit submitsomewhere in the network tab will be an ajax request … you might want to bounce over to the Console tab & see if it showed you an error. If not, see if you can find the ajax request & click on it & then look through the Headers tab, Response tab, etc and see if anything looks weird. You might see some error text mixed into the Response tab (which I think will be json if I remember correctly, but could be html). See if you got a 200 response from the server or something else (like a 500 internal server error).
Are you set on Inline response? Try Both if you haven’t yet.
The most likely underlying cause is probably your theme or a plugin that modifies the page contents somehow. If you have a lot of plugins, you might try & disable ones that could modify the page somehow — effects, icons, seo, whatever. If you’re using a theme with a crapload of options & javascript & stuff, then that’s probably the underlying issue. Maybe try to switch themes temporarily and see if that helps.
Forum: Plugins
In reply to: [Email Before Download] PDF link not showing upthe page you linked to appears to be protected by a password .. at least part of it does.
it would be helpful if you gave more information too, like
what versions of all the software are you using
what options did you set in EBD?
did you try email delivery, did that work? or did you try ‘both’ maybe?
Forum: Plugins
In reply to: [Email Before Download] Error while downloading the filei haven’t seen or heard of that before.
if you have the page available publicly, please post the url
otherwise, you might try these ideas:
1. try a different computer & see if a different computer will download it.
2. or, I suggest you add a new file — one you’ve ever used before — to Download Monitor. Make it a .jpg or something like that — not a PDF. Give it a new name, new description, everything new. See if you can download it from download monitor … or, if you prefer, just go fix your existing shortcode so that it uses the ID from the new file you just uploaded. Then try again and see it will download the new file.
3. If that doesn’t work, I would uninstall EBD, CF7, and DM and start over. Remove any files that you uploaded off the server. Then, follow the EBD instructions closely & test along the way. I think it has you start with first installing Download Monitor & getting it working before you do anything else…..
Forum: Plugins
In reply to: [Email Before Download] EBD – multiple file check boxes displayIt looks like the br’s between each line are display:none, so they aren’t having any effect. If you use Firebug or Chrome dev tools or something similar, then view your page (source) using the tools then highlight the br tag between your checkboxes, you’ll notice its display:none. If I turn that off, then the formatting looks better.
I believe the display none is coming from Contact Form 7. The online discussing were too long for me to read through, so I don’t know if there is a setting you can flip or not. You could probably just put some css in to take care of it. Maybe something like
.wpfc7-form br { display:inline !important; }or something like that…
Just as a side note, if you want the checkboxes on the left of your text, rather that on the right, like they are currently then you can use:
<ebd_left />(you must have the space after the ‘t’ or it won’t work)
Forum: Plugins
In reply to: [Email Before Download] Email Before Download – paragraphs in e-mail templatetry making your html template be HTML. Or, at least the newline parts. So, where you currently have an empty blank line, you might try like p and slash p or the br. I don’t know how to enter that stuff on this message board without it getting interpreted.
Hopefully you understand what I meant by the above, but I’ll try something here and see if it’ll show up:
so like try a <br /> tag where you currently have a blank line in your template. I can't remember if that works or not, but I think it does .. I want to say that even if you are sending text email it translates those back into newlines in text (rather than as html), but I may be confused. anyway, give it a shot. if that doesn't work, try: <p></p> on a line by itself. Or, you could always try wrapping your paragraph in that like <p> this is my paragraph blah blah </p> and that might work. or, i could be misremembering..Forum: Plugins
In reply to: [Email Before Download] How can I get the log to store another fieldif you look back through this forum — way back — you’ll find 3 or 4 posts where people either recommended or tried some database plugin, that I can’t recall the name of, to try and add extra fields. However, that was way back on old versions of all of these plugins (DM, CF7, EBD). Also, I don’t recall anyone ever getting it to work right. So, I think the answer is probably that you’d have to modify the source to get extra fields in there.
However, you are trying to get the Name to be stored. That works for me. I can download the EBD log (from the EBD settings page), and I see the value from the your-name field inserted into the “username” column in the csv log. It’s possible I modified the code to make that work — I can’t remember. Note that I also see the your-name data included in the “posted_data” column in the CSV. You may want to look in there & see if you see the data in there. That field has all the posted data from the form in an xml format — perhaps you could parse it out of there or something.
Good luck.
Forum: Plugins
In reply to: [Email Before Download] [contact-form-7 404 "Not Found"]make sure you have the correct value in your email-download shortcode for the contact_form_id — it needs to match the CF7 form. see https://wordpress.org/plugins/email-before-download/screenshots/
if that’s not it, then make sure your CF7 form is using field names like “your-name”, not “name”. WordPress has problems when you use fields with reserved words like “name” (or, at least it used to).
If neither works, uninstall everything, reinstall CF7 and get it working first from a test page that you make. THEN, once you get it working, follow the EBD instructions like you did before.
Also, it’s worth pointing out that another person recently reported the same problem on this support forum. It could be that the latest versions of everything don’t work & cause the issue you’re seeing. You could try to step back a little bit on one or more of the plugins & see if that fixes it.
Forum: Plugins
In reply to: [Email Before Download] [contact-form-7 404 "Not Found"]make sure you have the correct value in your email-download shortcode for the contact_form_id — it needs to match the CF7 form. see https://wordpress.org/plugins/email-before-download/screenshots/
if that’s not it, then make sure your CF7 form is using field names like “your-name”, not “name”. WordPress has problems when you use fields with reserved words like “name” (or, at least it used to).
If neither works, uninstall everything, reinstall CF7 and get it working first from a test page that you make. THEN, once you get it working, follow the EBD instructions like you did before.
Also, it’s worth pointing out that another person recently reported the same problem on this support forum. It could be that the latest versions of everything don’t work & cause the issue you’re seeing. You could try to step back a little bit on one or more of the plugins & see if that fixes it.
Forum: Plugins
In reply to: [Email Before Download] E-mail message with link does nor appear.In the form that you create in Contact Form 7:
you should be using the box labeled “Form”. In that box you put the HTML that will be displayed to web surfers. This will say something about entering your name and email address to download a file. It should be using the [your-name] and [your-email] tags in there.
you should also be using the box labeled “Mail”. That is where the settings for “notification email” go. This is the email that is supposed to go to you, the wordpress administrator.The web surfer does not get that email. In the “To:” you should have like your wordpress admin email or something like that. The “Message Body” should say something about it being a notification email that some user has signed up to download the file. It can use [your-name] and [your-email] in there & that will display whatever the user typed into those fields on the form on the website. You can put [your-message] in there, which will list which file was downloaded by the user.
you should not be using the box labeled “Mail 2”.
The other email that gets sent goes out from EBD. It gets sent to whatever email address the user entered on the form. If that email is getting out and there is a problem with the text on it, then I think you need to explain what’s wrong again (or make sure your test page is working). If that email isn’t getting out (it never shows up), then you have a mail delivery/setup thing, like a lot of people on here. You can either set up SMTP or, as a test, you might try entering your wordpress admin email address in the form & see if the email will go through that way (then you would get 2 there – that one, and the notification one .. if only one comes through, it’s probably the notification one).
Forum: Plugins
In reply to: [Email Before Download] send emailIf I’m understanding what you’re saying, it sounds like you have a single-file-download (not multiple with checkboxes). Also, I think you have put stuff in EBD settings item #9 – a custom email template. Is that right?
If so, you must put [file_url] in there, or there will be no link. If that doesn’t work, I suggest you make that #9 entry blank — don’t put anything in it — and try again & see if you get a link then. If so, then you know you’re missing something in your template or it’s not getting parsed right for some reason.
You might also turn on Attachments & see if the email you receive has an attachment (then you can just turn it back off). That is helpful to make sure that it knows which file should be there, that you are getting the correct email, etc.