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) »
  • Participant Roles and Duplicate Registration Revisited
Pages: [1]

Author Topic: Participant Roles and Duplicate Registration Revisited  (Read 1148 times)

zurazura

  • Guest
Participant Roles and Duplicate Registration Revisited
August 05, 2008, 02:21:35 pm
Hello,

  I set up a civiEvent.  Instead of using 'attendee' as the default participant role, I created a special one named 'webcast registrant' and assigned that as the default participant role for the event.  I did a search on people that registered for the event, and they were all marked as 'attendee'.  Does anyone know of a patch for this problem.

  I found that because of this problem, logged in users are able to register for the same event multiple times.  The logic in the checkRegistration function of CRM_Event_Form_Registration_Register attempts to find all participants that are tied to the default role for the event.  In this case, the default role is 'webcast registrant', but because everyone is marked as 'attendee', they are not found to be a current participant and are allowed to register again.

  Additionally, and related, I am still running into the issue of multiple anonymous users not being able to register for an event from the same browser.  After an anonymous user registers for an event, the form data does not appear to be cleared out and I think the checkRegistration function is grabbing the already populated e-mail address and preventing the user from re-registering. 

  NOTE:  I commented out the part of the checkRegistration function that was looking at the participant role in order to prevent multiple registrations by the same person.  This is when I discovered that the anonymous registration problem still exists.

  I am using civicrm 2.0.2 and I've incorporated changes to the ThankYou.php and the Register.php files but then I just kind of got tired.  Before I go any further, I was wondering if anyone has:

    1) Seen the problem of participant role not being applied correctly.
    2) Seen the problem of multiple anonymous users not being able to register for an event from the same browser.

  If anyone knows how to patch 2.0.2 to fix these problems, please let me know.  I need to launch webcast registration very soon and am a little stressed about these issues.  Oddly, my current workaround is to leave these bugs in play and just allow duplicate registrations.

  Thanks in advance!
Timothy

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Participant Roles and Duplicate Registration Revisited
August 05, 2008, 03:23:49 pm

The anon user registration issues is fixed in the later 2.0.x releases

can you try to reproduce the "participant role" bug on our 2.1 sandbox server (http://sandbox.civicrm.org/). If so, we'll fix it in 2.1 and you can potentially backport the patch to 2.0. Would definitely be good to ascertain that these issues have been fixed :)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Participant Roles and Duplicate Registration Revisited

This forum was archived on 2017-11-26.