- Posts: 58
- Thank you received: 2
Join Waiting List enabled for unregistered users
- Christoph
- Topic Author
- Offline
- Senior Member
-
Less
More
7 years 1 month ago #114170
by Christoph
Join Waiting List enabled for unregistered users was created by Christoph
Hello,
Waiting list is enabled in configuration and Registration Access is set to Registered. Events with available places
show "Please login to register" correctly. But full events show "Join Waiting List" which shouldn't be. This is in events_table.php and events_properties.php view.
Debug mode enabled gives this notice:
Undefined property: stdClass::$user_registered in opt\apache2\htdocs\templates\js_wright\html\com_eventbooking\common\events_table.php on line 161
Line 161 is:
Same in overwrite as in original file.
Please advise.
Thank you,
Chris
Waiting list is enabled in configuration and Registration Access is set to Registered. Events with available places
show "Please login to register" correctly. But full events show "Join Waiting List" which shouldn't be. This is in events_table.php and events_properties.php view.
Debug mode enabled gives this notice:
Undefined property: stdClass::$user_registered in opt\apache2\htdocs\templates\js_wright\html\com_eventbooking\common\events_table.php on line 161
Line 161 is:
Code:
if (($item->event_capacity > 0) && ($item->event_capacity <= $item->total_registrants) && $activateWaitingList && !$item->user_registered && $registrationOpen)
{
$waitingList = true ;
}
Same in overwrite as in original file.
Please advise.
Thank you,
Chris
Please Log in or Create an account to join the conversation.
- Christoph
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 58
- Thank you received: 2
7 years 1 month ago #114214
by Christoph
Replied by Christoph on topic Join Waiting List enabled for unregistered users
Hello,
I was able to solve the issue myself. It was because of the member registration settings. I changed "$item->user_registered" to
"$user->name" and the condition worked again to not show "Join Waitlist".
Regards,
Chris
I was able to solve the issue myself. It was because of the member registration settings. I changed "$item->user_registered" to
"$user->name" and the condition worked again to not show "Join Waitlist".
Regards,
Chris
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
7 years 1 month ago #114220
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Join Waiting List enabled for unregistered users
Hi Chris
That's not a right fix. $item->user_registered is used to check if the current user logged in user registered for the event or not
I will try to look at it on tomorrow for the right fix
Regards,
Tuan
That's not a right fix. $item->user_registered is used to check if the current user logged in user registered for the event or not
I will try to look at it on tomorrow for the right fix
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 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.