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) »
  • How to automatically change Drupal roles of paying members?
Pages: [1]

Author Topic: How to automatically change Drupal roles of paying members?  (Read 2710 times)

oban

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 2
How to automatically change Drupal roles of paying members?
May 30, 2009, 10:31:50 pm
Hi there,

On our site, me divided members to segments and decided to grant permission to view certain parts of  the site only to paying members. So I created a few member roles to take account of the permissions of each membership type.

We are using CiviContribution and CiviMember to sign up new members, and I would very much like to automatize the process of changing the Drupal roles when the members become paying members. Currently we have to check when a new member joins, and change his or her role by hand.

I am new to CiviCRM, and I read a bit about Access Control, Smart Groups, etc. They have interesting uses, but I didn't see any usecase that changes the Drupal role based on the Membership Type of a contact, which gets changed when a member signs up. Is there a feature that can do that? Can you give me any recommendations about implementing it?

thanks,

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: How to automatically change Drupal roles of paying members?
May 31, 2009, 08:01:21 am

check the module: civicrm_member_roles

it does what you want

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

oban

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 2
Re: How to automatically change Drupal roles of paying members?
May 31, 2009, 09:38:43 am
Quote from: Donald Lobo on May 31, 2009, 08:01:21 am

check the module: civicrm_member_roles

it does what you want

lobo



You mean this?

http://drupal.org/project/civimember_roles

It says that it will be available natively in CiviCRM 2.1.2+. But I couldn't find it anywhwere from the Administer console. Is there a wiki page that explains how to use this module?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: How to automatically change Drupal roles of paying members?
June 01, 2009, 12:23:44 pm
The drupal.org link is the only documentation at this time. However, the current version of the module is included in your CiviCRM 2.2.x download (civicrm/drupal/modules/civicrm_member_roles directory). You can enable if under drupal admin -> modules.
Protect your investment in CiviCRM by  becoming a Member!

dharmatech

  • I post frequently
  • ***
  • Posts: 280
  • Karma: 53
    • dharmatech.org
Re: How to automatically change Drupal roles of paying members?
June 02, 2009, 01:14:47 pm
Since I'm in documentation mode with the book and all, I thought I would write up something on the wiki for this powerful module.

check it out: http://wiki.civicrm.org/confluence/display/CRMDOC/CiviMember+Roles+Sync

Hope it helps
tony
http://dharmatech.org
oss@dharmatech.org
801.541.8671

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: How to automatically change Drupal roles of paying members?
June 02, 2009, 02:20:24 pm
Tony - awesome! Doc looks great.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • How to automatically change Drupal roles of paying members?

This forum was archived on 2017-11-26.