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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Event registration by member question
Pages: [1]

Author Topic: Event registration by member question  (Read 2013 times)

bwill

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4
  • CMS version: Drupal 7
  • MySQL version: current
  • PHP version: current
Event registration by member question
June 07, 2011, 10:26:20 am
I am setting up contacts and memberships from imports from my previous dtaabase in filemaker.  I am using Drupal 7 and CiviCRM 4.  I will be setting up online membership and event signup.  If a person who is not a member signs up for an event, it there the ability to display an option to create a membership record and therefore increase the price of the event?

If I let anonymous users purchase a membership, does that mean that I have to allow them to maintain their own details, and if so, where do they log in?  Does Civicrm have a seperate logon section?

Thanks!

Rajan Mayekar

  • I post frequently
  • ***
  • Posts: 177
  • Karma: 20
    • Rajan's Blogs
Re: Event registration by member question
June 07, 2011, 08:56:21 pm
Hi,

You need to do this by implementing couple of hooks like:
 - hook_civicrm_buildAmount (http://wiki.civicrm.org/confluence/display/CRMDOC40/CiviCRM+hook+specification#CiviCRMhookspecification-hookcivicrmbuildAmount  ) :
   To alter event fee according to logged in user ( global $user )

- hook_civicrm_buildForm ( http://wiki.civicrm.org/confluence/display/CRMDOC40/CiviCRM+hook+specification#CiviCRMhookspecification-hookcivicrmbuildForm )
  To hide/remove membership section.

Rajan

bwill

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4
  • CMS version: Drupal 7
  • MySQL version: current
  • PHP version: current
Re: Event registration by member question
June 08, 2011, 04:47:32 am
Thanks for the reply Rajan, but I don't understand either link.  I just strarted with this, so I don't know how to implement a hook.

Rajan Mayekar

  • I post frequently
  • ***
  • Posts: 177
  • Karma: 20
    • Rajan's Blogs
Re: Event registration by member question
June 08, 2011, 04:58:28 am
Implementing hooks by means of Custom Drupal module.
You may take help from http://civicrm.org/professional.

Rajan

bwill

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4
  • CMS version: Drupal 7
  • MySQL version: current
  • PHP version: current
Re: Event registration by member question
June 08, 2011, 05:19:00 am
Based on that link, your answer is to pay someone to answer my questions? 

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Event registration by member question
June 08, 2011, 07:35:29 am
Hi,

Rajan was suggesting to pay someone to do the development I suppose.

If you want to develop it yourself (that's good to have a sense of what it would be anyway), I would suggest you  to read the relevant chapters in our book

http://en.flossmanuals.net/civicrm/ch062_introduction (the one about hook is still up to date, the one about api should be read for the concepts, but the wiki is more up to date

http://wiki.civicrm.org/confluence/display/CRMDOC40/CiviCRM+Public+APIs
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

bwill

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4
  • CMS version: Drupal 7
  • MySQL version: current
  • PHP version: current
Re: Event registration by member question
June 08, 2011, 08:05:48 am
Thanks xavier - this was very helpful.  I just got my site and CiviCRM running, and am not yet familiar with all the documentation - which by the way is very good.  I should be able to do what I want now..

gholt

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 0
Re: Event registration by member question
June 12, 2011, 08:14:19 pm
Hi @bwill.
It sounds like maybe you've worked out another way to do what you want to do. But just in case you are still looking for options, I'm in a similar situation (it sounds like), and I can share how I'm doing it. I'm still pretty new, and don't have the skills to edit code and implementing hooks. And I had those same questions.

I've set my civicrm profile permissions (in Drupal 6) to not allow unauthenticated visitors to view. And I set (see Site Configuration>Error Reporting) the Access Denied error to access a page I created that tells them to log in, or if they are not current members, to create a new user account. The log in is handled by the Drupal side. I have instructions on how to become a member on the Membership page, and how to register for an event on the Events page. If they still try to go to the membership sign up page and pay for membership, they get the error telling them to log in.

Hopefully, that helps in some way. Good luck. It is a very powerful system, but I am finding that it takes a long time to become proficient.

bwill

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4
  • CMS version: Drupal 7
  • MySQL version: current
  • PHP version: current
Re: Event registration by member question
June 13, 2011, 04:56:41 am
Hello @gholt,

Thanks for the info - I'll incoroporate your suggestion - sounds like a good plan...

So it sounds like a person who is not a member but wants to register for an event has to create a user account or contact record.  That sounds reasonable since you want to contact them for future events.  But this person does not have to be a member to sign up for an event.  My confusion is about the fact that the CiviCRM menu links are not visible to someone not logged in.  When I'm logged in, I see the CiviCRM link in the navigation menu on the sidebar.  From there I can get to events, etc.  Am I supposed to create a Drupal page with information about membership or an event, and then link to the CiviCRM side from there?

However, I want to display some custom fields when a person who is not a member is signing up for an event.  The information provided by xavier will help me do that.  Our present setup has a person go to active.com to purchase a membership or register for an event.  We then download a file and ypdate a Filemaker database.  This means that a member does not have access to their membership record.  It looks like members will be able to change their info themselves which may cause the membership director concern.  i'm not sure if changes can be made only with approval - we'll see...

gholt

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 0
Re: Event registration by member question
June 13, 2011, 10:32:44 am
It sounds like you are on the right track. You can either create an information page about your event and link to your registration form, or use the information page that is created when you create a new event.

Details:  To create an online registration system for an event, go to Events>New Event. You'll configure things like information about the event, location, and prices (or a price set). And you'll also have the option to insert a "profile" into the online registration that will ask the registrant for more information. Those profiles are created and edited in Administer>Customize>CiviCRM Profile.

But the way you'll give your visitors access to this online registration system you've created can be found in the same area where you were configuring your event. To navigate back there, go to Events>Manage Events. You'll see a list of the events you've created. To the right of your event, you'll see an option that says "Event links". Click that and you'll get a pop-up menu, including the option for "Registration (Live)". [at least that's the way it works in civicrm 3.4.2] Select that and it will take you to a live version of the registration form you've created. Copy that URL, and use it in Drupal's menu system, or as a link on a drupal page you create about your event.

You'll create your membership renewal and sign-up page using Contributions>New Contributions Page, which works in a similar fashion to creating a new event. In the "profile" you'll create to gather information about your "member", you will have options on whether you want them to just view the information in that data field, or be able to edit it. But we've chosen to let the member edit their own contact information.

I hope some of that helps and makes sense.

bwill

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4
  • CMS version: Drupal 7
  • MySQL version: current
  • PHP version: current
Re: Event registration by member question
June 13, 2011, 11:27:04 am
It makes perfect sense....  Do you have any experience getting account info / passwords working for contacts you have imported?  I think there is a Drupal 6 module that helps with this, but I'm using version 7.

gholt

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 0
Re: Event registration by member question
June 13, 2011, 01:33:10 pm
Sorry, the only one that I know about (and plan to use) is the Drupal 6 User Import module.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Event registration by member question

This forum was archived on 2017-11-26.