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) »
  • parent of student register but not modifying contact info of parent [solved-ish]
Pages: [1]

Author Topic: parent of student register but not modifying contact info of parent [solved-ish]  (Read 2771 times)

megaw

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
    • TMA
  • CiviCRM version: 4.3.4
  • CMS version: drupal 7
  • MySQL version: 5.5.x
  • PHP version: 5.x
parent of student register but not modifying contact info of parent [solved-ish]
May 17, 2013, 09:02:36 am
Started using civievent for online registration of testings at my martial arts studio in addition to managing our memberships. The issue I'm running into is that often it's the parent of a student who is signing up a student, frequently they enter their childs first name and last name into the appropriate fields and end up editing the parents contact info. Is there a way to disable the ability of an event registration form to edit contacts because it's quickly making a mess of the membership info.

 I'm pretty new to civicrm so it's entirely possible I've just missed something that just needed the right search terms to reveal.
« Last Edit: May 21, 2013, 02:19:29 pm by megaw »

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Having a parent of student register but not modifying contact info of parent
May 17, 2013, 12:45:49 pm
On Event rego forms there should be something that shows up saying "want to register as someone else' - can't recall if that is a setting or just shows on all such forms.
we had a client who got us to set this up via javascript so it is a pop up that requires them to click one of two buttons
- register for yourself
- register others

I will see if I can get the code posted here on Monday but may give you some thought
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

megaw

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
    • TMA
  • CiviCRM version: 4.3.4
  • CMS version: drupal 7
  • MySQL version: 5.5.x
  • PHP version: 5.x
Re: Having a parent of student register but not modifying contact info of parent
May 17, 2013, 01:14:51 pm
 90% of the issue is that the parents don't choose to register another and just change the first name that shows (theirs) to the kids name. Realistically they won't "do it the right way" unless the choice is forced. A popup that forces that choice would be a great option short of just removing the ability of users to edit their contact info via an event registration form (which tbh seems like an odd thing to be able to do anyway?)


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: Having a parent of student register but not modifying contact info of parent
May 17, 2013, 04:35:50 pm

How are the parents getting to the registration form?

if you control that link, you could always append: cid=0 to that link which creates a new contact

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

megaw

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
    • TMA
  • CiviCRM version: 4.3.4
  • CMS version: drupal 7
  • MySQL version: 5.5.x
  • PHP version: 5.x
Re: Having a parent of student register but not modifying contact info of parent
May 17, 2013, 04:48:04 pm
That might work in the short term to at least keep the memberships from getting borked. Is there a way to make those contacts automatically get added to a group or be tagged on creation, just to keep things somewhat organised?

Thanks for the help btw I often feel like I'm in way over my head doing this, but it's fun (if frustrating at times) to see what you can make happen with enough determination.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Having a parent of student register but not modifying contact info of parent
May 18, 2013, 07:47:36 pm
You can set a Profile that can be used on the Contribution Page, such that it automatically adds contacts to a specific group - expand the Adv Settings on the profile settings page
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

megaw

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
    • TMA
  • CiviCRM version: 4.3.4
  • CMS version: drupal 7
  • MySQL version: 5.5.x
  • PHP version: 5.x
Re: Having a parent of student register but not modifying contact info of parent
May 19, 2013, 10:02:13 am
Thanks again for the help!

I looked around in a few of the files and I'm not entirely sure where I should be editing the registration link so I don't screw something up worse. I've learned it's better to ask then to find out the hard way since "lessons" from your Master usually come with bruises in my line of work...  ;)

I figured it might be in eventinfo.php but again I'm unsure so I'm asking here.
« Last Edit: May 19, 2013, 10:05:08 am by megaw »

torrance123

  • I post occasionally
  • **
  • Posts: 57
  • Karma: 3
  • CiviCRM version: 4.0
  • CMS version: Drupal 7
  • MySQL version: 5.0.91
  • PHP version: 5.3.3
Re: Having a parent of student register but not modifying contact info of parent
May 20, 2013, 09:23:28 pm
The attached Drupal module/patch doesn't quite do what you're after, but it forces the user to confirm whether they're signing up themselves or on behalf of someone else. It may or may not help in your situation.

megaw

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
    • TMA
  • CiviCRM version: 4.3.4
  • CMS version: drupal 7
  • MySQL version: 5.5.x
  • PHP version: 5.x
Re: Having a parent of student register but not modifying contact info of parent
May 21, 2013, 08:05:05 am
Thanks I'll check it out.

megaw

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
    • TMA
  • CiviCRM version: 4.3.4
  • CMS version: drupal 7
  • MySQL version: 5.5.x
  • PHP version: 5.x
Re: Having a parent of student register but not modifying contact info of parent
May 21, 2013, 02:17:16 pm
So I have the registration link edited so it defaults to cid=0.

However I still have this feeling that some random user with ill intent , or incompetence, and an email address of a current user shouldn't be able to mess up your contact records from an event registration page. That just seems way too open to abuse.

Is there some permission that needs to be set/unset? I don't mind making it so end users can't edit their contact info if that's what it takes.


petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: parent of student register but not modifying contact info of parent [solved-ish]
May 22, 2013, 01:56:53 pm
There might be an approach that you could try that would be based on the Permissioned Relationship - ie so people can only register 'someone else' if that person has a Permissioned Relationship.
Can't give any more depth on that - just a thought
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

megaw

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
    • TMA
  • CiviCRM version: 4.3.4
  • CMS version: drupal 7
  • MySQL version: 5.5.x
  • PHP version: 5.x
Re: parent of student register but not modifying contact info of parent [solved-ish]
May 22, 2013, 06:13:46 pm
Thanks I'll poke around a bit and see what I turn up.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • parent of student register but not modifying contact info of parent [solved-ish]

This forum was archived on 2017-11-26.