booking reservation tied to Joomla user login?

  • skidaway
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 5 months ago #21635 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.

More
11 years 5 months ago #21684 by Mr. Dam
You can put the menu link to the component for registered-users only. It will solve your request.
Thanks
Dam

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

More
11 years 4 months ago - 11 years 4 months ago #23209 by EIF
Does it also automatic fill in the user profile data, when they are logged in, such as name, e-mail, address, etc?
Last edit: 11 years 4 months ago by EIF.

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

More
11 years 3 months ago #23214 by Mr. Dam
Hi,
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.

More
11 years 3 months ago #23309 by EIF
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?

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

More
11 years 3 months ago #23325 by Mr. Dam
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 Log in or Create an account to join the conversation.

More
11 years 2 months ago #25144 by Shane
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.

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

More
11 years 2 months ago #25147 by Mr. Dam
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 Log in or Create an account to join the conversation.

More
11 years 2 months ago #25160 by Shane
Details sent

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

More
11 years 2 months ago #25321 by Mr. Dam
Hi,
I have changed for you.
Thanks
Dam

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

Moderators: Mr. Dam