Events Made Easy › Forums › Generic › Registration for events is not working anymore
- This topic has 23 replies, 5 voices, and was last updated 7 years, 1 month ago by Anonymous.
-
AuthorPosts
-
Wed 27 Sep 2017 at 21:15 #56681AnonymousInactive
Good evening Franky,
after updating the last two versions my plugin is not working correctly anymore.
When I click on Register, browser is loading and redirecting to the booking form without booking the event. Using the plugin only in Member area with private events – could send you Useraccount via Mail?Thank you very much!
Wed 27 Sep 2017 at 21:24 #56682AnonymousInactiveBooking via Admin Menu is working well, only frontend booking is not working
Wed 27 Sep 2017 at 23:15 #56683FrankyKeymasterDid you update to 1.9.8?
If that still doesn’t work, let me know. The thing is: if there’s a javascript error on your page, the submit will indeed fail …
You can always mail me an account to liedekef@telenet.be and/or show a demo page.Thu 28 Sep 2017 at 09:04 #56687AnonymousInactiveI send you an e-Mail.
I´ve updated to 1.9.8 but error is still there.Thu 28 Sep 2017 at 10:45 #56688FrankyKeymasterSee my reply: you have a google maps plugin that doesn’t respect your https-site. This causes javascript errors and thus the form submit fails. If you use an older (less-strict) browser and allow non-secure content to be shown (like IE), it work just fine. So fix or disable that plugin.
Thu 5 Oct 2017 at 11:46 #56707AnonymousInactiveHi,
I have the same problem, updated to the newest version, but now people are unalbe to register (by mobile phone and firefox. Google Chrome browser does work). Can you please help me to fix this? Let ne know what you need for this.
Thu 5 Oct 2017 at 15:00 #56710AnonymousInactiveI’m also running into a problem with 1.9.8 as well. In, 1.9.4, I can add a Google Conversion code in the theme function.php file but I can’t even get away with this in 1.9.8:
//For EME Add Conversion add_action( 'eme_insert_rsvp_action', 'emersvp_google'); function emersvp_google($booking) { ?> <script type='text/javascript'> console.log('CONVERTED'); </script> <?php }
Anything JS code I enter stops the registration from completing. Any wisdom is greatly appreciated!
K
Thu 5 Oct 2017 at 23:30 #56711FrankyKeymaster@kayphoonstar: wordpress action hooks are not meant to output anything. So it is logical this stops the JS execution.
@Cindy: EME has NO browser specific code at all. I’m using firefox all the time: works just fine. If it works in one browser and not another: check the browser console log for hints. A javascript error on your site will stop the rsvp submit.Fri 6 Oct 2017 at 00:55 #56714AnonymousInactiveSo. . .
Would you say, then, that the conversion code should go in the EME setting “Extra html header”. as such:
jQuery(document).ready(function () { if (jQuery('#myElementID').length) { // do my stuff } });
. . . since it no longer works with the
eme_insert_rsvp_action
hook? Would that be the appropriate solution?Fri 6 Oct 2017 at 01:12 #56715AnonymousInactiveUm, in answer to my own question. . . That works!
Thank you for an AWESOME Plugin!!!
K
EDIT: Ooops. . . I spoke too soon. . . . (Sorry, I had reverted to 1.9.4)
Fri 6 Oct 2017 at 08:03 #56717FrankyKeymasterIt should go in there, but don’t forget the script tags. Also, don’t forget to check the browser console for hints.
Fri 6 Oct 2017 at 08:06 #56719FrankyKeymasterAlso: I don’t know what you’re trying to do, but trapping the submit will lead to problems.
Fri 6 Oct 2017 at 09:56 #56720AnonymousInactiveThank you, Franky. The Google Conversion code tag should run on page load – I believe it’s essentially like an Google Analytics tag. I add the
console.log()
just to verify it’s working. It should only load *after* the submit, when the user arrives at the payment page.It seems as though this should work as a test when entered into the “Extra html header” (works in 1.9.4 but not in 1.9.8):
<script type='text/javascript'> jQuery(document).ready(function () { if (jQuery('#bookingNumber').length) { var bookpeople = document.getElementById("bookingNumber").value; console.log(bookpeople); } }); </script>
I can see it in the page source but it’s not firing – nothing in the Chrome Console.
Fri 6 Oct 2017 at 11:33 #56721AnonymousInactiveJust to be clear, given the title of this thread, I should note that when the code is entered into the “Extra html header” field, it does *not* stop the registration from completing. However, the same code that I noted earlier, when entered into the
functions.php
file as a hook, *does* keep the registration from completing (in 1.9.8). There’s no error code logged into the console and the code does not seem to run in either case.Thanks again,
KFri 6 Oct 2017 at 13:11 #56722FrankyKeymasterThe reason it is not working in the “Extra html header” field is because the submit goes via ajax. The returned code after the ajax submit is in fact the payment form.
In your case, the jquery only looks once if the field is there (and initially it isn’t), so it doesn’t get fired when the payment html is put in place of the rsvp form.
What should work is putting that code in the payment form header format. See also the FAQ “How to redirect automatically to paypal after successful booking” here: http://www.e-dynamics.be/wordpress/faq/Fri 6 Oct 2017 at 22:26 #56723AnonymousInactiveWhich, in fact, it does! (Has that field *always* been there!?)
Thank you, again.
K
Sat 7 Oct 2017 at 00:29 #56724FrankyKeymasterLet’s just say that it was already there in 1.9.4 🙂
Mon 9 Oct 2017 at 09:05 #56727AnonymousInactiveHi Franky,
I do not think it is a browser specific problem, as it also happens in other browsers right now. The thing is, I can register now, but when I do, my name does not appear in the list (I however do see my name when I open the calandar in another browser. Even when refresing the page it does not appear in the browser I have used to register, but my name does appear when I open the calendar in a different browser. And some people do not have a problem with this at all…
I do not know a thing about java codes and programming, so can you please explain me in simple language what I can do to fix this?
Thanks!
Mon 9 Oct 2017 at 11:26 #56728FrankyKeymasterWhat do you mean with “my name dos not appear””? In which list? And what do you mean with “I see my name when I open the calendar in another browser”? Bear in mind that I don’t know your site at all.
And it is not java, but javascript. Your browser has a console that just lets you see all possible javascript error messages.
It seems to me your problem is not related to this ticket at all, so I advise you to open a new one with a bit more specific info (screenshots or so as well).Mon 9 Oct 2017 at 14:57 #56729AnonymousInactiveHi,
I have looked at the error messages, but that’s might as well be in chinese….
Now there seems to be a delay (so it keeps changing). You can register, but the name appears only a while later. Maybe all will work again the way it did tomorrow, or I will ask advice from someone around me to help out (who knows more about these things then I do) or I will open a new ticket.Thanks
Mon 9 Oct 2017 at 16:00 #56730FrankyKeymasterI just thought of something : make sure some wordpress caching plugin is not causing these weird effects.
Mon 16 Oct 2017 at 20:50 #56738AnonymousInactiveI’m having the same issue as Cindy above- registration is accepted from IE, but registree wouldn’t know because the button spins like it’s still processing, and there is a delay in seeing the registree added to the list from admin view. In Chrome, I can’t get front-end registration to work at all. http://water2winemke.com/events/601/girls-night-out/ for a page with no payment.
Tue 17 Oct 2017 at 00:50 #56739FrankyKeymasterIf it keeps spinning, it means there’s probably an error with the mail being sent (and you activated php warnings to be shown in the browser). See here:
https://wordpress.org/support/topic/booking-form-stuck-at-loading/
The delay is not caused by EME (maybe a caching plugin causes it, but EME registers info immediately after you press the button).
If it is not working in Chrome: the next version will hopefully remedy that. Chrome has a specific javascript-implementation (well, every browser has one and the problem is that none behaves the same).Tue 17 Oct 2017 at 23:05 #56742AnonymousInactiveThank you. That helped me find the error. I appreciate your time and talent.
-
AuthorPosts
- The forum ‘Generic’ is closed to new topics and replies.