Forum Replies Created

Viewing 15 replies - 1 through 15 (of 29 total)
  • I can confirm the same issue. Website is https://educationinaction.org.uk. Scroll down to the bottom and click on the Register for updates button under Register with Education in Action. A drawer will slide out with a CF7 form. The field is:

    Subject you’re interested in:
    [subjectschecks subjects]

    This has worked for years until now ˉ\_(ツ)_/ˉ
    Thanks!

    Sorry, forgot to say that after doing that, it works! ??

    Same problem here. Any help would be great ??

    UPDATE: Went through the plugin files and commented out line 35 on cardboard.php:

    if ( is_admin() ) {
         //add_action( "add_attachment", array( $this, "add_attachment" ) ); Comment out this line
         add_filter( "image_send_to_editor", array( $this, "image_send_to_editor" ), 10, 8 );
    } else {
    • This reply was modified 8 years, 1 month ago by elmediano.

    Same thing for me:
    WP 3.4.1 + EM 5.1.8.5

    I’m loading everything through the EM settings, no custom code or anything ??

    Thread Starter elmediano

    (@elmediano)

    hahahaha Fair enough mate ??

    I understand you are not going to write all the code for me and to be honest I like doing it myself and learn it but… any hints or tips on where to start? Any hooks/filters I should be looking at?

    Your suggestion tells me you might think I intend to click on the arrow and make the content on the left change dynamically through AJAX or something. I was actually thinking of a much easier option… reloading the page.

    I was wondering if Events Manager has some kind of Archive (well, future archive, which doesn’t really make sense :P), so when I click on the “Next” arrow it takes the user to something like:

    domain.com/events/2012/06

    Is that possible?

    Thanks for your time ??

    Thread Starter elmediano

    (@elmediano)

    No worries. Glad it works for you guys!

    @iblastoff – ABSOLUTE LEGEND!

    Just to clarify, there’s only a couple of lines you need to change. Just make a search for “post_type” and you’ll get around 5 results.

    You just need to change this bit:

    (post|page)

    for this:

    (post|page|your_post_type)

    Once you’ve done that:

    1. Go to the plugin settings and create a new field.
    2. Label: Give it a name (ie. Post Type).
    3. Data type: Choose Post Type
    4. Widget: Hidden Constant
    5. Widget config > Value: the_name_of_your_post_type

    That’s all!

    Cheers

    Thread Starter elmediano

    (@elmediano)

    ABSOLUTE LEGEND!! ??

    I hadn’t modified any of the files, however, before I upgraded to the latest version, I had copied the template files into my theme folder. So it was using the old template files with the latest version of EM.

    I renamed the folder to “_plugins” and tadaaaa, it worked!

    Let me make a few more tests before I mark the post as solved ??

    Thanks a lot mate, really appreciate your help.

    Thread Starter elmediano

    (@elmediano)

    Ah ok ?? Although the repeated booking info problem still happened after I did what you suggested.

    Here’s a link to one of the events on the test site:

    https://medhurst.fl1hosting.com/events/event/test-event-microsoft

    If you look at the Firebug console you’ll see that every time the form is submitted there are two jQuery responses.

    Thanks Marcus

    Thread Starter elmediano

    (@elmediano)

    Hi Marcus,

    Not sure if I completely understood what you said but I have tried the above with no luck.

    I created a user called “eventbookings” (ID = 47) and run the query:

    UPDATE wp_em_bookings SET person_id=47 WHERE person_id=1;

    I then tried booking a place and the duplication still happened.

    Am I doing it wrong?

    Thread Starter elmediano

    (@elmediano)

    Hi Marcus,

    The bookings are assigned to the “admin” user.

    I’m not logging in to book as the whole point is to let users book without having to register or have an account automatically created.

    I think I’m going to look for an alternative while this gets fixed.

    Thanks a lot for your help Marcus!

    Thread Starter elmediano

    (@elmediano)

    Ok this is getting even more weird :S

    I had tested the bookings with the TwentyEleven theme and it seemed everything was working fine. After submitting the form it only sent one email and there was only one booking in the backend, just as expected.

    What’s happening now is that the details of all the previous bookings get replaced with the details of the latest. For example, I fill the form with the following for the first time (first booking):

    Name – Alex
    Phone – 01234567890
    Email – [email protected]
    Comments – Test

    and I submit the form. Everything works perfectly. I get an email saying Alex wants to book a place and Alex gets an email saying his booking is pending approval.

    Then I repeat the what I have just done with different details:

    Name – John
    Phone – 01234567890
    Email – [email protected]
    Comments – Test

    I get an email and John gets an email. BUT, when I go to bookings in the back end both rows in the table for Pending Bookings say:

    Booker – John | Email: [email protected] etc.

    So all the info that Alex put previously has been replaced with John’s. And this keeps on happening… If I now did:

    Name – Matt
    Phone – 01234567890
    Email – [email protected]
    Comments – Test

    The three bookings in the back end will show Matt’s details.

    Please help Marcus! ??

    Thread Starter elmediano

    (@elmediano)

    Hi Marcus,

    I have checked everything and no luck. I’m using:

    <?php wp_enqueue_script('jquery'); ?>

    just before <?php wp_head(); ?> in the header and I’m not including my own version of jQuery.

    I do have a few other jQuery includes, like Cycle All, Mousewheel… but I have removed them all, deactivated all plugins except for EM and nothing :S

    I tried with the TwentyEleven theme and it seems to work. But I don’t know what’s wrong with my theme. I have removed ALL my JavaScript including Google Analytics, tried without <?php wp_enqueue_script('jquery'); ?> and no luck.

    Do you think a function might be causing this? I only have registered sidebars, post thumbnails, and a couple of others for pagination and zoombox.

    Thread Starter elmediano

    (@elmediano)

    I don’t know what’s going on really :S

    I have deactivated all the other plugins and I still get duplications.

    I’m not sure about this… but in the Firebug console, it seems that the jQuery callback is happening twice?

    I get:

    jQuery16105027785078388896_1322144537714({“result”:true,”message”:”Booking successful and pending confirmation. An email will also be sent to you once we confirm your place.”})

    and

    jQuery16105027785078388896_1322144537715({“result”:true,”message”:”Booking successful and pending confirmation. An email will also be sent to you once we confirm your place.”})

    Thread Starter elmediano

    (@elmediano)

    Actually, when ACF is deactivated it only fixes the duplication of the emails sent out. The bookings in the backend still duplicate.

    I’ll keep on investigating and deactivate all plugins and activate one by one ??

Viewing 15 replies - 1 through 15 (of 29 total)