Prevent Registration

  • WisoBe
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 6 months ago #138656 by WisoBe
Prevent Registration was created by WisoBe
Hello,

I would like to know if there's a way to prevent specific users to register for an event ? Let's say I organise a first event, I have 50 registrations. Afterwards I would like to organize a second event but want to make sure the 50 registrants of the first event are not able to register for the second event. Is there any way to do this ? All my users have user accounts and need to be logged in to be able to register for an event. If there is no way to do this with the interface, are there any manual inserts I could perform in the database to make this happen ?

Thank you.

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

More
4 years 6 months ago #138657 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Prevent Registration
Hello

There is no way to handle this without code modification. Somehow, you will have to modify code (depends on the logic you want to prevent registration) in the file components/com_eventbooking/helper/registration.php, method acceptRegistration

Tuan

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

  • WisoBe
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 6 months ago #138674 by WisoBe
Replied by WisoBe on topic Prevent Registration
Hi Tuan,

Thanks for your reply.

Basically I would have hoped to be able to show a message like the one that appears to avoid double registrations. Before I posted in this forum I tried to insert rows in the registrations table of the database but that didn't work. If it doesn't work and need code modification I guess I'll have to handle this manually after the registration.

Peter

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

More
4 years 6 months ago #138677 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Prevent Registration
Hi Peter

Surely code modification will be needed. If you really need it, I guess we can do this development for you with the price about 40$ - 50$. However, we will need to discuss further about this to make the requirement more clear before we start working on the development

Regards,

Tuan

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

  • WisoBe
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 6 months ago #138682 by WisoBe
Replied by WisoBe on topic Prevent Registration
Hi Tuan,

Thank you. As this is a situation happens rarely we'll handle this manually. Thanks for your off though.

Peter

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

More
4 years 6 months ago #138685 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Prevent Registration
OK Peter. If we could help with anything, please just ask

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc