Support » Plugin: Registrations for The Events Calendar - Event Registration Plugin » Registrations butten 3 times on same page

  • Resolved casikring

    (@casikring)


    Dear.

    I have a problem with the plugin. The registation button come on the same page 3 times. I have tried deactivating the plugin and activate it again.
    The problem have come after a update.

    Any idea or is it a bug on the plugin?

    Thanks. Christian

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author roundupwp

    (@roundupwp)

    Hey casikring,

    Sorry for the issue! When you say that the problem comes after an update, do you mean the registrations plugin, The Events Calendar, or do you mean your theme? Is it a combination of these if you can recall? I will look into it. In the mean time, I have a few suggestions:

    Add the following to the “Custom JavaScript” area on the “Form” tab:

    if ($('#rtec-js-move-flag').length) {
    
        if ($('.rtec-outer-wrap').length > 1) {
            $('.rtec-outer-wrap').each(function(index) {
                if (index > 0) {
                    $(this).remove();
                }
            });
        } else if ($('.rtec').length > 1) {
            $('.rtec').each(function(index) {
                if (index > 0) {
                    $(this).remove();
                }
            });
        } else if ($('.rtec-success-message').length >1) {
            $('.rtec-success-message').each(function(index) {
                if (index > 0) {
                    $(this).remove();
                }
            });
        }
    
    }

    This will remove the extra register buttons.

    Another thing to try is going to the “Form” tab and enabling the setting “I am using a custom single-event.php file in my theme”. This may also fix the issue.

    Let me know if you need more help!

    – Craig

    Hi, we have the same problem. The registration-button is showing two times at the same eventpage. We use:
    Wordpress version 5.0.3
    Registrations for The Events Calendar version 2.4.2
    The Events Calendar PRO version 4.5.2.1
    Enfold theme 4.5.2.

    You can take a look here: https://origod.leif.mediebruket.no/enkeltkurs/grunnleggende-kurs-for-pakking-plassering-sikrin/

    Plugin Author roundupwp

    (@roundupwp)

    Sorry for the inconvenience as well!

    Did you try any of the suggested fixes above? We have a planned fix to prevent this within the normal plugin code but the update may not be released for another week or two while I’m helping out with a new baby.

    Let me know if neither seems to work and I can take another look.

    Thanks,

    Craig

    Hi there, we have the same problem . And unfortunately neither of the above solutions worked for us.

    • This reply was modified 1 year, 6 months ago by elschnuppero.

    This worked (we only have 2 buttons), even when WordFence tried to stop the implementation:

    window.onload = function(){
       setTimeout(function(){
           if ( document.querySelectorAll('#rtec').length > 1 ) {
    	document.querySelectorAll('#rtec')[1].remove();
    }
       }, 1000);
    };
    • This reply was modified 1 year, 6 months ago by elschnuppero.
    Plugin Author roundupwp

    (@roundupwp)

    Hey elschnuperro,

    Thanks for adding another potential fix here! Like I mentioned previously, there will be an update that I believe will prevent this issue coming out soon.

    Another thing to try would be using shortcodes to place the feed on the page. This can be done by switching the “Form Location” setting to “Shortcode” and then adding the shortcode where you would like the form when editing the event description:

    [rtec-registration-form]

    Thanks,

    Craig

    Dear.

    I have now updated alle the plugins, but i still have 3 registrations buttons on my site?

    I have tryde all the suggestions.
    Non of them work. Also i don’t want to change to shortcake because the customer i make the site for need it to be simpel! 🙂

    Thanks. Christian

    • This reply was modified 1 year, 6 months ago by casikring.
    Plugin Author roundupwp

    (@roundupwp)

    Hey Christian,

    Sorry that the issue remained! I’m testing another fix for this in the “Pro” version that seems to be going well. I will include it in the free version this weak in another update.

    I’ll let you know when it’s available!

    – Craig

    Hey Craig.

    I have the Pro of the registration plugin, just if this make any different in you fix 🙂

    Thanks, looking forward to install it!

    -Christian

    Plugin Author roundupwp

    (@roundupwp)

    Hey Christian,

    Ahh thanks for letting me know! I see now the issue. It looks like you have 3 divs with the class “tribe-events-single-event-description” which is causing this. I can fix this within the registrations code though event if this issue still exists. I will add this fix to both plugins and see if I can have the update available either today or tomorrow.

    Thanks again,

    – Craig

    Dear Craig.

    No update yet?
    I can’t finde it when I search after updates on my WPadmin

    -Christian

    Plugin Author roundupwp

    (@roundupwp)

    Hey Christian,

    Sorry to keep you waiting! I just released the update so it should be available now. Let me know if you need more help.

    Also, in the future, could you contact us on our website for Pro support? Here is the link:

    https://roundupwp.com/support/

    Thanks,

    – Craig

    Thanks, just installed the update and all are okay now!

    -Christian

    Plugin Author roundupwp

    (@roundupwp)

    No problem! Thank you for your patience.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Registrations butten 3 times on same page’ is closed to new replies.