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 Drupal Modules (Moderator: Donald Lobo) »
  • Ubercart Expiring Member roles and CiviMember
Pages: [1]

Author Topic: Ubercart Expiring Member roles and CiviMember  (Read 3480 times)

jellobrain

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 0
  • charmed, i'm sure.
    • jellobrain
  • CiviCRM version: 3.3.2
  • CMS version: drupal 6.x
  • MySQL version: 5.1
  • PHP version: 5.2
Ubercart Expiring Member roles and CiviMember
June 30, 2009, 09:06:05 am
I have a drupal site that uses Ubercart to sell memberships.  The membership roles automatically expire a year after purchase.  I configured uc_civicrm to synch roles and groups between drupal and civicrm.

At this point, when someone purchases a membership, the purchase is logged as an activity in CiviCRM (yay!).

At this point, however,  CiviMember, membership roles, and smart membership groups are not being added or changed.  I am hoping this is a simple step that I missed in configuring somewhere.  Do you have any suggestions?

Any information or direction is appreciated.  I have contacted the #civicrm irc, and also have been looking on the CiviForums and the drupal site, but am still not seeing anything.  Are there other module/s I need to install on the drupal side to enable this?  At this point, I am using ubercart expiring roles module, and uc_civicrm.  I have set the groups and roll synchs for drupal and civicrm roles.  at this point i am not using the organic groups module, and am synching the member 'role' in drupal to the member 'group' in civicrm.
__

jellobrain.com

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Ubercart Expiring Member roles and CiviMember
June 30, 2009, 12:32:59 pm
If you want to take advantage of CiviCRM's "membership management" features (e.g. CiviMember) - I think you have 2 choices:

1. Use CiviContribute / CiviMember online membership signup and renewal forms INSTEAD of UberCart for "self service" member signup / payment.

(check out the Membership section in "Understanding CiviCRM" - our new online book - for background: http://en.flossmanuals.net/CiviCRM/MembershipPlanning)

2. OR you'll have to implement some PHP code in a separate (custom) module which creates and updates the CiviMember membership records when the UberCart transactions are recorded.
Protect your investment in CiviCRM by  becoming a Member!

Matt2000

  • I post frequently
  • ***
  • Posts: 288
  • Karma: 27
    • http://www.ninjitsuweb.com
Re: Ubercart Expiring Member roles and CiviMember
June 30, 2009, 05:20:43 pm
So you're using uc_roles module and civicrm_group_roles module ("CiviGroup Roles Sync") and civicrm_member_roles ("CiviMember Roles Sync")?

So the idea is that a user is to be granted a Drupal Role, which then grants a CiviCRM Membership, and a CiviCRM group?

Have you verified that the Drupal role is being granted to the purchaser?

Are you sure you need CiviMember at all? Seems to me uc_roles is providing everything CiviMember would otherwise be used for?

-Matt
Drupal/CiviCRM micro-blogging http://twitter.com/matt2000

Ninjitsu Web Development http://www.NinjitsuWeb.com/

jakecivi

  • I post frequently
  • ***
  • Posts: 140
  • Karma: 0
Re: Ubercart Expiring Member roles and CiviMember
March 27, 2015, 09:01:39 am
Has anyone written this code (as described in David's post #2)?

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Ubercart Expiring Member roles and CiviMember
April 03, 2015, 12:38:05 pm
Rather than sell memberships through ubercart, why not sell memberships through civiCRM?   Maybe you have a good reason, but writing the code to do the reverse of what the CiviMember > Roles Sync module does (the opposite direction) is not something someone has done yet, to my knowledge.
Try CiviTeacher: the online video tutorial CiviCRM learning library.

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: Ubercart Expiring Member roles and CiviMember
April 04, 2015, 03:08:38 pm
You may find that the Civi Entities work Eileen has done would make creating Memberships off Drupal Roles simpler, but I am also curious about what the required workflow here is
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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • Ubercart Expiring Member roles and CiviMember

This forum was archived on 2017-11-26.