CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Disable "register another participant" option.
Pages: [1]

Author Topic: Disable "register another participant" option.  (Read 612 times)

kumbhare

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4.4
  • CMS version: drupal 7.28
  • MySQL version: 5.6
  • PHP version: 5.5
Disable "register another participant" option.
June 13, 2014, 07:10:25 am
Hi,
We want to restrict each user to register only for themselves. In the event settings I have unchecked the "Register multiple participants?" option.

However, if a user who has already registered for an event visits the event info page, she gets a warning indicating she has already registered for the event along with a link to register another participant. We do not want to allow multiple registrations from an account.

How can I disable this option?

Thanks,
Alok


Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Disable "register another participant" option.
June 13, 2014, 11:08:42 am
Quote
We want to restrict each user to register only for themselves. In the event settings I have unchecked the "Register multiple participants?" option.

Just to clarify, this option allows the user to register multiple participants during registration process. Correct me if I am wrong, I think you are expecting it should prevent same person registering multiple times.

Quote
However, if a user who has already registered for an event visits the event info page, she gets a warning indicating she has already registered for the event along with a link to register another participant. We do not want to allow multiple registrations from an account.
This is not multiple registration, this option basically allows logged in user to register someone else. It won't register logged in user multiple times.

Quote
How can I disable this option?
This will involve coding/customization and I think you will have to use hooks or use custom template to remove this link. This cannot be done via UI.

Hth
Kurund
Found this reply helpful? Support CiviCRM

kumbhare

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4.4
  • CMS version: drupal 7.28
  • MySQL version: 5.6
  • PHP version: 5.5
Re: Disable "register another participant" option.
June 13, 2014, 10:38:58 pm
thanks for your reply. please see inline below.

-
Quote from: Kurund Jalmi on June 13, 2014, 11:08:42 am
Quote
We want to restrict each user to register only for themselves. In the event settings I have unchecked the "Register multiple participants?" option.

Quote
Just to clarify, this option allows the user to register multiple participants during registration process. Correct me if I am wrong, I think you are expecting it should prevent same person registering multiple times.

[Alok] Both actually, we want to prevent a user from registering multiple participants plus allow only one registration per user.

Quote
However, if a user who has already registered for an event visits the event info page, she gets a warning indicating she has already registered for the event along with a link to register another participant. We do not want to allow multiple registrations from an account.
Quote
This is not multiple registration, this option basically allows logged in user to register someone else. It won't register logged in user multiple times.

[Alok] Sorry for the confusion. As you said, it allows logged in user to register some one else. We do not want to allow this behavior.

Quote
How can I disable this option?
Quote
This will involve coding/customization and I think you will have to use hooks or use custom template to remove this link. This cannot be done via UI.
[Alok] I am not a strong civicrm developer but have done some custom coding for our site (e.g. custom payment processor, auto complete fields etc.). Assuming this level of knowledge, can you point me to relevant source/templates/hooks which I can use to achieve this.

Hth
Kurund


Thanks
Alok

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Disable "register another participant" option.
June 13, 2014, 10:55:05 pm
Quote
I am not a strong civicrm developer but have done some custom coding for our site (e.g. custom payment processor, auto complete fields etc.). Assuming this level of knowledge, can you point me to relevant source/templates/hooks which I can use to achieve this

Yes, you might also want to check:

http://wiki.civicrm.org/confluence/display/CRMDOC/Develop
http://wiki.civicrm.org/confluence/display/CRMDOC/Page+Templates

Hth
Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Disable "register another participant" option.

This forum was archived on 2017-11-26.