Hi Andrew
1. At the moment, the front-end submit location form is just a simple form, we don't have support for advanced location setup like in the back-end. Something which we will integrate it in the future but not for now.
2. To allow users to view all locations, you will need to edit the code alitle. Open the file components/com_eventbooking/views/event/view.html.php, find the code below:
Code:
if ($user->authorise('core.admin', 'com_eventbooking'))
{
$sql = 'SELECT id, name FROM #__eb_locations WHERE published=1 ORDER BY name';
}
else
{
$sql = 'SELECT id, name FROM #__eb_locations WHERE published=1 AND user_id=' . $user->id . ' ORDER BY name ';
}
Change it to:
$sql = 'SELECT id, name FROM #__eb_locations WHERE published=1 ORDER BY name';
After that, users will see all locations.
Regards,
Tuan