Support

Home Forums Event Espresso Premium How to hide the register button after one reservation

How to hide the register button after one reservation

Posted: March 19, 2013 at 2:58 am

Viewing 4 reply threads


Jørgen Strand Skalmerås

March 19, 2013 at 2:58 am

Hello,

Now one user can click the register button multiple times and take up all the seats. How do I hide the button for that person after one reservation?

As you can see I had 30 seats, but the user has taken 2 of them already and still seeing the register button:
http://i.imgur.com/AN03kpz.png


Jørgen Strand Skalmerås

March 19, 2013 at 3:00 am

It’s for registered users only


Dean

March 19, 2013 at 4:46 am

Hello Jorgen,

There is currently no way to stop a user from registering more than one time.

If you wanted to you could custom develop a system using jQuery, PHP or both to limit it, in fact it is easier knowing they are registered logged in users. If they were not it would be virtually impossible to stop.


Jørgen Strand Skalmerås

March 19, 2013 at 5:07 am

Okey, thanks.

What about displaying a message in the widget to show whether they have registered or not?


Dean

March 19, 2013 at 6:16 am

> What about displaying a message in the widget to show whether they have registered or not?

It would require customisation still.

My initial thoughts would be to do an SQL check based on the current event id and the current logged in users email and if there is a match add a true/false to hidden input field on the registration page. (this would be dependant on WP User Integration being active to automatically add the email in to the registration form)

Then using jQuery, check that hidden input, if it is a true hide the registration form and display a message that they have registered for this already.

You would also need a message in case javascript is turned off.

This can still be bypassed of course, but it would be a deterrent.

If you are looking for customisation you can request a customisation review here

Viewing 4 reply threads

The support post ‘How to hide the register button after one reservation’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso