Prevent more than one inscription whichever the event is

  • Javier Contreras Sales
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 months 2 weeks ago #163724 by Javier Contreras Sales
Prevent more than one inscription whichever the event is was created by Javier Contreras Sales
I would like customers with a user registered can only register for one event. Even althougt it is another event respect the one he is registered. Is it possible? Thank you very much!

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
3 months 2 weeks ago #163725 by Tuan Pham Ngoc
Hi Javier

So basically, you only want each user to be able to register for only one event on your site? If so, that's not possible. You would need to perform customization to the code if you want to have it works like that

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Javier Contreras Sales
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 months 2 weeks ago #163744 by Javier Contreras Sales
Replied by Javier Contreras Sales on topic Prevent more than one inscription whichever the event is
Ok, thanks for your answer.

I will manage to do for myself. I have done some other modifications to the code to match the component with my needs. But only if you could help me a bit. Only if you know which piece of code check a user  to prevent a duplicate registration like: if ($config->prevent_duplicate_registration).... Maybe I can add something like if($config->prevent_duplicate_registration && $userHasAnotherEvent). I can create this $userHasAnotherEvent variable connecting to the DDBB and check if the user has another event without problem. But I don´t know where to put it....

Thank you very much!

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
3 months 2 weeks ago #163750 by Tuan Pham Ngoc
Hi Javier

You can start by installing and enabling this plugin. If someone logged in and registered for at least one event, he won't be allowed to register for other events anymore

You can adjust the plugin code to add your own logic if needed. But the plugin is a good start

Also, your subscription for Events Booking was expired. Please renew your subscription to continue receiving support and update from us

Regards,

Tuan
Attachments:

Please Log in or Create an account to join the conversation.

  • Javier Contreras Sales
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 months 2 weeks ago #163769 by Javier Contreras Sales
Replied by Javier Contreras Sales on topic Prevent more than one inscription whichever the event is
Oh! Thank you so much! I´m gonna try it.
And my subscription is renewed at 17 January and ends at January 16 2025. I´ve checked right now...

Thank you so much again!
 

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
3 months 1 week ago #163804 by Tuan Pham Ngoc
OK, thanks Javier !

Tuan

Please Log in or Create an account to join the conversation.

  • Javier Contreras Sales
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 months 1 week ago #163828 by Javier Contreras Sales
Replied by Javier Contreras Sales on topic Prevent more than one inscription whichever the event is
Hi Tuan,

Thanks for the plugin, but it doesn´t work for me, don´t know why. I installed it, I activated it but.... I can register in more than one event... It works for me the option to prevent a user register in the same event that comes natively, but not the new you gave me. Any clues?

Thanks again!

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
3 months 1 week ago #163846 by Tuan Pham Ngoc
Hi Javier

For this, please submit a support ticket sending us super user account of the site and :

1. The account which you are using to register the event

2. Send me link to the event which you should not be allowed to register but you can still register for it

I will then check to see why it is not working and get it sorted for you

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Javier Contreras Sales
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 months 1 week ago #163871 by Javier Contreras Sales
Replied by Javier Contreras Sales on topic Prevent more than one inscription whichever the event is
Perfect! I´ll do it. Thank you!

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
3 months 1 week ago #163872 by Tuan Pham Ngoc
OK Javier. Will check and reply you via support ticket

Regards,

Tuan

Please Log in or Create an account to join the conversation.