I only want registered users to register for event

  • cork
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 8 months ago - 12 years 8 months ago #30591 by cork
Hi,

I am using MembershipPro and Event Booking together. Currently, the calendar view for Event Booking shows a Register button when a guest views the event. How can I hide the Register button for guests and show it for Registered Users?

Thanks!
Last edit: 12 years 8 months ago by cork.

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

More
12 years 8 months ago #30644 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: I only want registered users to register for event
You will need to edit the event, set Registration Access of that event to Registered. After that, only registered users will be able to register for the event.

Regards,

Tuan

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

  • cork
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 8 months ago #30678 by cork

Tuan Pham Ngoc wrote: You will need to edit the event, set Registration Access of that event to Registered. After that, only registered users will be able to register for the event.

Regards,

Tuan


How can I make it "Registered" by default?

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

More
12 years 8 months ago #30692 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: I only want registered users to register for event
You will need to edit the code :

1. Open the file administrator/components/com_eventbooking/models/event.php

2. Find the function _initData

3. Find the code below :
Code:
$row->registration_access = 1 ;

4. Change it to :
Code:
$row->registration_access = 2;

Tuan

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

Moderators: Tuan Pham Ngoc