Clear cancelled bookings from database.
- Zoe White
-
Topic Author
- Offline
- Junior Member
-
Less
More
7 years 3 months ago - 7 years 3 months ago #120368
by Zoe White
A severely sight impaired (blind) Joomla user and member of the Joomla Accessibility Team.
Clear cancelled bookings from database. was created by Zoe White
Hello,
Within Community Builder I have a table which shows the following information for the logged in user.
1. Event required? (Yes/No)
2. Event title
3. Event attended? (Yes/No)
4. Event date
5. Expiry date of training covered in the event.
All these fields are self populating using SQL queries and everything is working as it should.
However I have been testing and discovered an issue.
If a user registers for an event, then cancels that registration but re-books for the same event, the eb_registrants table in the database holds the cancelled registration and creates a new registration.
I therefore need to delete the row from the eb_registrants table where the status is "cancelled" to allow the SQL queries to extract the correct date and calculate the expiry date.
So, can you tell me the name of the column I need to reference in order to match against cancelled bookings please?
Having searched every column within eb_registrants table I can only imagine it is the "Published" column as that seems to reflect different states of a registration.
Many thanks in advance for your help with this.
Regards,
Julian.
Within Community Builder I have a table which shows the following information for the logged in user.
1. Event required? (Yes/No)
2. Event title
3. Event attended? (Yes/No)
4. Event date
5. Expiry date of training covered in the event.
All these fields are self populating using SQL queries and everything is working as it should.
However I have been testing and discovered an issue.
If a user registers for an event, then cancels that registration but re-books for the same event, the eb_registrants table in the database holds the cancelled registration and creates a new registration.
I therefore need to delete the row from the eb_registrants table where the status is "cancelled" to allow the SQL queries to extract the correct date and calculate the expiry date.
So, can you tell me the name of the column I need to reference in order to match against cancelled bookings please?
Having searched every column within eb_registrants table I can only imagine it is the "Published" column as that seems to reflect different states of a registration.
Many thanks in advance for your help with this.
Regards,
Julian.
A severely sight impaired (blind) Joomla user and member of the Joomla Accessibility Team.
Last edit: 7 years 3 months ago by Zoe White. Reason: Correct an error in the message.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
7 years 3 months ago #120372
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Clear cancelled bookings from database.
Hi Julian
Yes. It's published column. When the registration record is cancelled, that column will have value = 2
Hope that helps
PS: In the future, please post your question in Events Booking forum category
Yes. It's published column. When the registration record is cancelled, that column will have value = 2
Hope that helps
PS: In the future, please post your question in Events Booking forum category
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.