Events Made Easy Forums Generic Registration for events is not working anymore

Viewing 24 posts - 1 through 24 (of 24 total)
  • Author
    Posts
  • #56681
    Anonymous
    Inactive

    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!

    #56682
    Anonymous
    Inactive

    Booking via Admin Menu is working well, only frontend booking is not working

    #56683
    Franky
    Keymaster

    Did 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.

    #56687
    Anonymous
    Inactive

    I send you an e-Mail.
    I´ve updated to 1.9.8 but error is still there.

    #56688
    Franky
    Keymaster

    See 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.

    #56707
    Anonymous
    Inactive

    Hi,

    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.

    #56710
    Anonymous
    Inactive

    I’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

    #56711
    Franky
    Keymaster

    @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.

    #56714
    Anonymous
    Inactive

    So. . .

    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?

    #56715
    Anonymous
    Inactive

    Um, 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)

    #56717
    Franky
    Keymaster

    It should go in there, but don’t forget the script tags. Also, don’t forget to check the browser console for hints.

    #56719
    Franky
    Keymaster

    Also: I don’t know what you’re trying to do, but trapping the submit will lead to problems.

    #56720
    Anonymous
    Inactive

    Thank 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.

    #56721
    Anonymous
    Inactive

    Just 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,
    K

    #56722
    Franky
    Keymaster

    The 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/

    #56723
    Anonymous
    Inactive

    Which, in fact, it does! (Has that field *always* been there!?)

    Thank you, again.

    K

    #56724
    Franky
    Keymaster

    Let’s just say that it was already there in 1.9.4 🙂

    #56727
    Anonymous
    Inactive

    Hi 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!

    #56728
    Franky
    Keymaster

    What 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).

    #56729
    Anonymous
    Inactive

    Hi,

    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

    #56730
    Franky
    Keymaster

    I just thought of something : make sure some wordpress caching plugin is not causing these weird effects.

    #56738
    Anonymous
    Inactive

    I’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.

    #56739
    Franky
    Keymaster

    If 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).

    #56742
    Anonymous
    Inactive

    Thank you. That helped me find the error. I appreciate your time and talent.

Viewing 24 posts - 1 through 24 (of 24 total)
  • The forum ‘Generic’ is closed to new topics and replies.
Scroll to Top