Answers.Body: <p>Set up the membership normally with a duration of i.e. 6 month/1 year. <br/>
  Use the extension <a href="https://civicrm.org/extensions/summary-fields" rel="nofollow noreferrer">Summary Fields</a> to report back the number of events visited per user. <br/>
  Implement the Rule (on participant status change &gt;&gt;&gt; attended) in CiviRules and change membership/subscription status to &quot;expired&quot;.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-01-31T20:47:05.220Z
Answers.Text: nice solution by sounds of it
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-01-30T15:29:12.703Z
Answers.LastActivityDate: 2021-01-30T15:29:12.703Z
Answers.UserDisplayName: Guitarman
Body: <p>Is it possible to configure memberships in CiviCRM as follows?</p>
  <p>The basic subscription duration is 6 months <strong>AND</strong> it gives members the possibility to attend 10 lessons/events. After having &quot;used&quot; the included lessons <strong>OR</strong> after 6 months the subscription expires and has to be renewed.</p>
  <p>I could easily configure the membership expiration after 6 months.</p>
  <p>As I'm completely new to CiviCRM: Where can I define the/a second condition (expiration after 10 lessons/events)?</p>
  <p>Thanks in advance for your help!</p>
  <p>Regards</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-01-08T17:04:17.020Z
Comments.Text: I don't think this is possible out of the box. It may be possible using an extension like [CiviRules](https://civicrm.org/extensions/civirules). Otherwise it may require some custom development.
Comments.UserDisplayName: William Mortada
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-01-15T16:36:35.813Z
Comments.Text: I didn't find a good and simple solution until now. CiviRules is very good, but the trigger/condition/actions have to be customized there, too. I'm still working on this :)
Comments.UserDisplayName: Guitarman
Tags: <civimember>
Title: Membership duration depending on conditions?
ThreadText: # Membership duration depending on conditions?
  
  (Asked by: username_0 on 2021-01-08)
  
  Is it possible to configure memberships in CiviCRM as follows?
  
  The basic subscription duration is 6 months **AND** it gives members the possibility to attend 10 lessons/events. After having "used" the included lessons **OR** after 6 months the subscription expires and has to be renewed.
  
  I could easily configure the membership expiration after 6 months.
  
  As I'm completely new to CiviCRM: Where can I define the/a second condition (expiration after 10 lessons/events)?
  
  Thanks in advance for your help!
  
  Regards
  
  **Tags:** civimember
  
  > **Comments:**
  > **username_1**: I don't think this is possible out of the box. It may be possible using an extension like [CiviRules](https://civicrm.org/extensions/civirules). Otherwise it may require some custom development.  
  > **username_0**: I didn't find a good and simple solution until now. CiviRules is very good, but the trigger/condition/actions have to be customized there, too. I'm still working on this :)  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2021-01-30. Score: 1 | Accepted answer
  
  Set up the membership normally with a duration of i.e. 6 month/1 year.   
  Use the extension [Summary Fields](https://civicrm.org/extensions/summary-fields) to report back the number of events visited per user.   
  Implement the Rule (on participant status change >>> attended) in CiviRules and change membership/subscription status to "expired".
  
  > **Comments:**
  > **username_2**: nice solution by sounds of it  
  
  ---
  
  