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 »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Drupal 6.9 and CiviCRM CiviMember Sync From Drupal Problem/Question?
Pages: [1]

Author Topic: Drupal 6.9 and CiviCRM CiviMember Sync From Drupal Problem/Question?  (Read 4280 times)

Robert_Danob

  • Guest
Drupal 6.9 and CiviCRM CiviMember Sync From Drupal Problem/Question?
February 22, 2009, 07:37:47 pm
I have Drupal 6.9 installed.  I installed CiviCRM 2.2 alpha 3 installed.  I basically am trying to get the people that sign up in Drupal a membership in CiviCRM so that I can do the things with it that is is useful for.

I installed the Sync Roles modules for CiviMember and CiviGroup but I cannot figure out how to get them to sync with the sign up in Drupal, nor can I get them to import.
« Last Edit: February 22, 2009, 07:53:55 pm by Robert_Danob »

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Drupal 6.9 and CiviCRM CiviMember Sync From Drupal Problem/Question?
February 22, 2009, 10:02:15 pm
As per my understanding you want to link CiviCRM Memberships with Drupal Roles? So you will require "CiviMember Roles Sync" module.

Once you enabled you need to link memberships with drupal roles.
Check http://<site>/admin/settings/civicrm_member_roles

HTh

Kurund
Found this reply helpful? Support CiviCRM

Robert_Danob

  • Guest
Re: Drupal 6.9 and CiviCRM CiviMember Sync From Drupal Problem/Question?
February 22, 2009, 11:08:16 pm
I tried to do this but for some reason I cant get it to work.  Do you know what exactly is needed to configure it or a tutorial?

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Drupal 6.9 and CiviCRM CiviMember Sync From Drupal Problem/Question?
February 22, 2009, 11:22:12 pm
You can add rule: http://<site>/admin/settings/civicrm_member_roles/add_rule , just read the help description for each field. If you are still not able to figure out consider hiring someone from http://civicrm.org/professional list.

Kurund
Found this reply helpful? Support CiviCRM

Robert_Danob

  • Guest
Re: Drupal 6.9 and CiviCRM CiviMember Sync From Drupal Problem/Question?
February 22, 2009, 11:44:23 pm
Thanks.  There are a few things I dont understand...  I may have to get help with it.  I cant find a civicrm member roles to add a rule to other than in the module on the administer area.  I tried that and it dodnt work

One thing is I have the paypal staandard set up and there is also a contribution, but it wont do both of them and it is set up for both of them.  Could this have anything to do with it perhaps?  I am trying to uncheck the contribution on the membership part.

I dont know.  I think maybe this isnt for me.  I cant seem to follow the docs and the terminology is wode spread so taht I cant follow it properly.  The links dont work that you posted, maybe something there, but I can aaccess everything via the civicrm link in the navigation.  I just cant get the roles set properly apparently to take a drupal user and make it a civicrm member.


Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Drupal 6.9 and CiviCRM CiviMember Sync From Drupal Problem/Question?
February 22, 2009, 11:47:54 pm
Quote
The links dont work that you posted,

For http://<site>/admin/settings/civicrm_member_roles/add_rule   you need to replace  <site> by your site name / url.

Kurund
Found this reply helpful? Support CiviCRM

Sunil

  • I post frequently
  • ***
  • Posts: 131
  • Karma: 23
  • The community around a product more important than the product itself?
    • CiviCRM
Re: Drupal 6.9 and CiviCRM CiviMember Sync From Drupal Problem/Question?
February 23, 2009, 12:49:34 am
Hi

once you enabled the CiviMember and CiviGroup

Go TO /admin/settings, you will get CiviMember Roles Sync (admin/settings/civicrm_member_roles) OR in drupal admin see Site configuration
CiviMember Roles Sync
Add Associated Rule for membership(required CiviCRM Membership Types and Drupal Role other than anonymous user & authenticated user)

Go TO /admin/settings, you will get CiviGroup Roles Sync( /admin/settings/civicrm_group_roles)
CiviGroup Roles Sync

Add Associated Rule for Group(required CiviCRM Group and Drupal Role other than anonymous user & authenticated user)

sunil



The community around a product more important than the product itself?

Robert_Danob

  • Guest
Re: Drupal 6.9 and CiviCRM CiviMember Sync From Drupal Problem/Question?
February 23, 2009, 12:50:24 am
Yes, I changed that part.  Im just saying that those pages dont come up for me.  I get a server error.  If I go to the respective pages/links I can navigate to the pages.  I just cant url to those pages for some reason...

Sunil

  • I post frequently
  • ***
  • Posts: 131
  • Karma: 23
  • The community around a product more important than the product itself?
    • CiviCRM
Re: Drupal 6.9 and CiviCRM CiviMember Sync From Drupal Problem/Question?
February 23, 2009, 12:59:11 am
hi
is your CiviGroup Roles Sync, CiviMember Roles Sync, CiviCRM modules are in the same directory i.e.(sites/all/modules/)?
OR CiviCRM is in (sites/all/modules)  directory and CiviGroup Roles Sync or CiviMember Roles Sync in the modules directory

sunil
The community around a product more important than the product itself?

Robert_Danob

  • Guest
Re: Drupal 6.9 and CiviCRM CiviMember Sync From Drupal Problem/Question?
February 23, 2009, 01:03:57 am
warning: Invalid argument supplied for foreach() in /home/content/b/n/t/bntbrl/html/SITENAME/sites/all/modules/civicrm/api/v2/Group.php on line 93.

I got this error when I added a role to group sync...

Ill double check wherer th emodules are...

Robert_Danob

  • Guest
Re: Drupal 6.9 and CiviCRM CiviMember Sync From Drupal Problem/Question?
February 23, 2009, 01:24:25 am
the civi roles folders are in the sites/all/modules/civicrm folder...  I copied them to the /modules folder/ and to the site/all/modules but nothing got better.

I still have the warning: Invalid argument supplied for foreach() in /home/content/b/n/t/bntbrl/html/SITENAME/sites/all/modules/civicrm/api/v2/Group.php on line 93 error so I may need to uninstall the module and try it again.

thanks

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Drupal 6.9 and CiviCRM CiviMember Sync From Drupal Problem/Question?
February 23, 2009, 02:12:05 am
Quote
foreach() in /home/content/b/n/t/bntbrl/html/SITENAME/sites/all/modules/civicrm/api/v2/Group.php on line 93

Not able to replicate this..
Quote
I may need to uninstall the module and try it again.

Yes you should try that.

Kurund
Found this reply helpful? Support CiviCRM

Robert_Danob

  • Guest
Re: Drupal 6.9 and CiviCRM CiviMember Sync From Drupal Problem/Question?
February 24, 2009, 12:07:04 am
I uninstalled the moduoles and deleted the database.  I reinstalled the version civicrm 2.1.4  The install appears to have went  without incident.  I created a user Member along with authorized and anon.  I added the rules and I cant get them synced though.

I have no idea what IM doing wrong.  Perhaps a permission Im overlooking somewhere.

Quote
. Create CiviCRM Contacts for Existing Drupal Users
Once installed, CiviCRM keeps your Drupal Users synchronized with corresponding CiviCRM contact records. The 'rule' is that there will be a matched contact record for each Drupal user record. Conversely, only contacts who are authenticated users of your site will have corresponding Drupal user records.

When CiviCRM is installed on top of an existing Drupal site, a special CiviCRM Administrative feature allows you to automatically create CiviCRM contacts for all existing Drupal users:

Login to your Drupal site with an administrator-level login
Click the CiviCRM link in the main navigation block
Click Administer CiviCRM
If your Drupal site makes use of the db_prefix setting (in settings.php - cf. Step 2, above), click Configure Global Settings, then Drupal Integration Settings, and update the box for the Drupal Users Table Name so that it includes the prefix.
Click Synchronize Users-to-Contacts in the top group of icons
This part with the db_prefix has me confused with adding this to the settings.php  I tried this but I dont kno wwhat "box" it is supposed to get put in or how to do it.

IM pretty much back where I started.  It has taken me longer to figure out civimember to get working than it has taken me to set up 43 websites with drupal 6.9 lol...   Maybe I can just ditch civicrm and use a mail module for drupal?

THanks for the help so far though.

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: Drupal 6.9 and CiviCRM CiviMember Sync From Drupal Problem/Question?
February 24, 2009, 07:04:34 am

at this stage i think your best bet is to either use a simpler set of drupal modules or hire someone who can help out from http://civicrm.org/professional/

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

Robert_Danob

  • Guest
Re: Drupal 6.9 and CiviCRM CiviMember Sync From Drupal Problem/Question?
February 24, 2009, 05:20:03 pm
Okay.  I talked with a professional about the installation.  Several different people have told me that you cannot simply "import users" FROM drupal into memberships of CiviCRM.  You import the drupal users INTO contacts, and THEN you have to manually add memberships from the contacts.

This makes a little more sense to me now.

Also there is a profile choice you have to make in Civicrm profiles that has to be used in order to import the drupal users into Civicrm as a contact.  I have to figure this part out next.
« Last Edit: February 25, 2009, 11:01:08 am by Robert_Danob »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Drupal 6.9 and CiviCRM CiviMember Sync From Drupal Problem/Question?

This forum was archived on 2017-11-26.