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) »
  • Events and Team Listing
Pages: [1]

Author Topic: Events and Team Listing  (Read 1316 times)

jasonruyle

  • Guest
Events and Team Listing
April 13, 2009, 12:17:20 pm
We need to allow people to be able to join a team (if they want) during the event registration period.
The teams needs are quite generic.  Each team would have a "leader" who creates the team, and then others can search a list of teams (select box) on the event registration page and join the team if they'd like.  There is no fee to join a team, only a few to register for the event.

What is the most practical way to have this "team" option?
I would have thought "groups" was the best way, but seems like too much.

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: Events and Team Listing
April 13, 2009, 02:33:52 pm

you will need to add some custom code and implement a few hooks to get this working. IRC might be a good place to have this discussion. Briefly:

1. have a separate flow for leaders to create a team. This could be a custom group with team name, team description. You can use a profile for this

2. Create a 'select' custom field and include it in a profile which is part of the registration form

3. Implement the custom option hook that uses the data in step 1 to populate the select item

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

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Events and Team Listing
April 13, 2009, 02:37:17 pm
Hi there,

Can I ask that if you follow through on this you post your code into the code snippets section on the wiki?
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

jasonruyle

  • Guest
Re: Events and Team Listing
April 13, 2009, 03:40:28 pm
I think I just realized that the "Event Register" page doesn't actually register the user for Drupal.
Is this possible?  I'm having users "register" for an event as paid members.

But, once registered, they really don't have an account and thus can't login.

In regards to the team stuff.  I will post details if I take the above steps.

I decided to actually create a form that people can fill out if they want their own "team" and then created a custom select field.  We are thinking we might just update this field when people want to have a "group".  We can sort members based off of this data.  I will probably try to actually create a group like above because my approach is way to simple.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Events and Team Listing
April 13, 2009, 08:43:50 pm
You can configure to require registration as part of the profile you apply to the event
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

jasonruyle

  • Guest
Re: Events and Team Listing
April 14, 2009, 08:26:03 am
I really need an additional fieldset at the top of the Event Registration page that has "username/email" that is the registration form.  If the user is registered, then that fieldset doesn't exsist.

Having a single page to register for the event would also register the user for the drupal site.

Otherwise, if someone registers for the event, they don't really have an account, and then can't utilitize the contributions contributions pages.

How do I add the registration form to the top of the event register page?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Events and Team Listing
April 14, 2009, 10:51:46 pm
Go to Administer CiviCRM >> CiviCRM Profile and click Settings for the Profile you have embedded in your Event Registration form. Scroll down to Advanced Settings and check the option for "Account Creation Required". This will result in the behavior you've described (anonymous users get prompted to create an account, logged in users do not).
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Events and Team Listing

This forum was archived on 2017-11-26.