- Posts: 3
- Thank you received: 0
booking reservation tied to Joomla user login?
- skidaway
- Topic Author
- Offline
- New Member
-
Less
More
12 years 5 months ago #21635
by skidaway
booking reservation tied to Joomla user login? was created by skidaway
Can the user's registration info pull from his Joomla registration? I would like to use this for registered users only and don't want user's to rekey name and email address.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13053
- Thank you received: 1696
12 years 5 months ago #21684
by Mr. Dam
Replied by Mr. Dam on topic Re: booking reservation tied to Joomla user login?
You can put the menu link to the component for registered-users only. It will solve your request.
Thanks
Dam
Thanks
Dam
Please Log in or Create an account to join the conversation.
- EIF
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
12 years 4 months ago - 12 years 4 months ago #23209
by EIF
Replied by EIF on topic Re: booking reservation tied to Joomla user login?
Does it also automatic fill in the user profile data, when they are logged in, such as name, e-mail, address, etc?
Last edit: 12 years 4 months ago by EIF.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13053
- Thank you received: 1696
12 years 4 months ago #23214
by Mr. Dam
Replied by Mr. Dam on topic Re: booking reservation tied to Joomla user login?
Hi,
When the registered user make the booking request, the information of him (her) like name and email will be shown already.
Thanks
Dam
When the registered user make the booking request, the information of him (her) like name and email will be shown already.
Thanks
Dam
Please Log in or Create an account to join the conversation.
- EIF
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
12 years 4 months ago #23309
by EIF
Replied by EIF on topic Re: booking reservation tied to Joomla user login?
I have a menu item for making a booking. But I want that only registered user can make a booking.
It is possible to set the menu item to 'registed' instead of public. But if I do that, the menu is not visible for public users.
Want I like to have is, that the menu to the booking extension is visibile in public. But when they click on it, a message/article appearts that the user have to login first. How can you arrange this?
It is possible to set the menu item to 'registed' instead of public. But if I do that, the menu is not visible for public users.
Want I like to have is, that the menu to the booking extension is visibile in public. But when they click on it, a message/article appearts that the user have to login first. How can you arrange this?
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13053
- Thank you received: 1696
12 years 4 months ago #23325
by Mr. Dam
Replied by Mr. Dam on topic Re: booking reservation tied to Joomla user login?
Hi,
Please open file
components > com_osservicesbooking > osservicesbooking.php
bellow the line error_reporting(E_ERROR||E_NOTICE);
add this source code part :
global $mainframe;
$user = Jfactory::getUser();
if(intval($user->id) == 0){
$mainframe->redirect("index.php?option=com_users&task=login","You should login before you can use this component");
}
Good luck
Dam
Please open file
components > com_osservicesbooking > osservicesbooking.php
bellow the line error_reporting(E_ERROR||E_NOTICE);
add this source code part :
global $mainframe;
$user = Jfactory::getUser();
if(intval($user->id) == 0){
$mainframe->redirect("index.php?option=com_users&task=login","You should login before you can use this component");
}
Good luck
Dam
Please Log in or Create an account to join the conversation.
- Shane
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
12 years 3 months ago #25144
by Shane
Replied by Shane on topic Re: booking reservation tied to Joomla user login?
Hi Dam
I want to also add this feature but I'm getting an error message when the extra code is added to osservicesbooking.php.
I would appreciate your thoughts.
I want to also add this feature but I'm getting an error message when the extra code is added to osservicesbooking.php.
I would appreciate your thoughts.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13053
- Thank you received: 1696
12 years 3 months ago #25147
by Mr. Dam
Replied by Mr. Dam on topic Re: booking reservation tied to Joomla user login?
Hi Shane,
Please send your site information with super admin account, ftp account to damdt@joomservices.com. I will check the issue for you.
Thanks
Dam
Please send your site information with super admin account, ftp account to damdt@joomservices.com. I will check the issue for you.
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Shane
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
12 years 3 months ago #25160
by Shane
Replied by Shane on topic Re: booking reservation tied to Joomla user login?
Details sent
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13053
- Thank you received: 1696
12 years 2 months ago #25321
by Mr. Dam
Replied by Mr. Dam on topic Re: booking reservation tied to Joomla user login?
Hi,
I have changed for you.
Thanks
Dam
I have changed for you.
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
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.