Answers.Body: <p>Browsing through SE today I cam on this question/answer which may also offer a solution:</p>
  
  <p><a href="https://civicrm.stackexchange.com/questions/603/how-can-i-integrate-optional-membership-sign-up-on-a-civievent-registration-fo">How can I integrate (optional) membership sign-up on a CiviEvent registration form?</a></p>
  
  <p>Summary: a couple of solutions were suggested...</p>
  
  <ol>
  <li>If you were using Drupal then Commerce and Rules could be used to provide for event rego and memberships in same cart, with the membership discount being applied to the event etc.</li>
  <li>There's an extension from AGH Strategies that handles this: <a href="https://github.com/aghstrategies/com.aghstrategies.eventmembershipsignup" rel="nofollow noreferrer">https://github.com/aghstrategies/com.aghstrategies.eventmembershipsignup</a></li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-18T20:35:29.933Z
Answers.Text: Welcome to CiviCRM.SE. It is considered good practice at StackExchange to provide an excerpt or summary of a linked page, as links can go bad— even internal to SE, as questions are sometimes deleted. I encourage you to [edit](http://civicrm.stackexchange.com/posts/2462/edit) your post, and to review the [help center](http://civicrm.stackexchange.com/help) for additional guidance.
Answers.UserDisplayName: choster
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-18T20:12:28.610Z
Answers.LastActivityDate: 2015-05-18T20:44:29.837Z
Answers.LastEditDate: 2017-04-13T12:53:13.017Z
Answers.UserDisplayName: Evan
Answers.Body: <p>One way to accomplish this is to programm an extension with a hook reacting on the event registration and then changing the membership based on the event registration. </p>
  
  <p>Another way which might be usefull is to use the drupal Webform module and create an event registration with membership options.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-08T01:42:57.650Z
Answers.Text: My understanding is that extensions started in CiviCRM 4.2. Maybe this is a good reason to upgrade :)
Answers.UserDisplayName: JoeEdNonprofit
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-07T06:58:40.157Z
Answers.LastActivityDate: 2015-05-07T06:58:40.157Z
Answers.UserDisplayName: Jaap Jansma - CiviCooP
Body: <p>I've set-up an event with several fee options that include "event fee plus 1 year membership renewal", "event fee plus 2 years membership renewal", etc. How do you suggest implementing the membership changes after the event payment gets processed? </p>
  
  <p>I'm thinking it's possible to add time to their membership through the ThankYou.php page using the membership API. (using CiviCRM 4.1)</p>
  
  <p>Any tips would be greatly appreciated!</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-05-07T20:39:37.950Z
Comments.Text: What is your CMS?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-05-08T01:41:43.560Z
Comments.Text: Drupal 6. The registration form uses templates - I'm really just not clear about where to program a call to the civimember api.
Comments.UserDisplayName: JoeEdNonprofit
Tags: <civievent><civimember><api>
Title: How to renew membership during event registration?
ThreadText: # How to renew membership during event registration?
  
  (Asked by: username_0 on 2015-05-07)
  
  I've set-up an event with several fee options that include "event fee plus 1 year membership renewal", "event fee plus 2 years membership renewal", etc. How do you suggest implementing the membership changes after the event payment gets processed?
  
  I'm thinking it's possible to add time to their membership through the ThankYou.php page using the membership API. (using CiviCRM 4.1)
  
  Any tips would be greatly appreciated!
  
  **Tags:** civievent, civimember, api
  
  > **Comments:**
  > **username_1**: What is your CMS?  
  > **username_0**: Drupal 6. The registration form uses templates - I'm really just not clear about where to program a call to the civimember api.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_4 on 2015-05-07. Score: 3 | Accepted answer
  
  One way to accomplish this is to programm an extension with a hook reacting on the event registration and then changing the membership based on the event registration.
  
  Another way which might be usefull is to use the drupal Webform module and create an event registration with membership options.
  
  > **Comments:**
  > **username_0**: My understanding is that extensions started in CiviCRM 4.2. Maybe this is a good reason to upgrade :)  
  
  ---
  
  ### Answer by username_2 on 2015-05-18. Score: 3
  
  Browsing through SE today I cam on this question/answer which may also offer a solution:
  
  [How can I integrate (optional) membership sign-up on a CiviEvent registration form?](https://civicrm.stackexchange.com/questions/603/how-can-i-integrate-optional-membership-sign-up-on-a-civievent-registration-fo)
  
  Summary: a couple of solutions were suggested...
  
  1. If you were using Drupal then Commerce and Rules could be used to provide for event rego and memberships in same cart, with the membership discount being applied to the event etc.
  2. There's an extension from AGH Strategies that handles this: <https://github.com/aghstrategies/com.aghstrategies.eventmembershipsignup>
  
  > **Comments:**
  > **username_3**: Welcome to CiviCRM.SE. It is considered good practice at StackExchange to provide an excerpt or summary of a linked page, as links can go bad— even internal to SE, as questions are sometimes deleted. I encourage you to [edit](http://civicrm.stackexchange.com/posts/2462/edit) your post, and to review the [help center](http://civicrm.stackexchange.com/help) for additional guidance.  
  
  ---
  
  