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 Joomla Extensions (Moderator: lcdweb) »
  • Turning contacts into joomla users
Pages: [1]

Author Topic: Turning contacts into joomla users  (Read 3380 times)

alanski

  • I post frequently
  • ***
  • Posts: 216
  • Karma: 5
  • Cup of tea? Yes please
    • Joomkit
  • CiviCRM version: Version in post
  • CMS version: Joomla
  • MySQL version: 5.0
Turning contacts into joomla users
October 10, 2011, 10:25:14 am
Joomla 1.5.23
Civi 3.2.5

I have users in Joomla users table and contacts in civi who are the same people but we need to allow the to edit their profile info.
Is there a way of taking civi contacts and creating joomla accounts for them with passwords etc from the CIVCRM Joomla admin interface?

WHat is the standard joomla user Civi relationships setup that works for most people?
It seems to me that using Civi and authenticating against civi with the auth plugin is the way to go for members - but before I can get their we have to have joomla user accounts with liked emails right? Or am I off course completely here?

Will take any feedback on this! :)



lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Turning contacts into joomla users
October 11, 2011, 06:05:48 am
there's no automated way to accomplish this. you'll have to do some work. here's what i usually do:

1) export my contacts from civi that i want to make accounts for
2) use spreadsheet software to generate unique usernames and passwords for each
3) import the user account info into joomla using one of the various extensions available (i've used "userport", but there are others)
4) send an email to the users notifying them of their access details. some of the import extensions can handle that for you. or I've imported the user records back into civi and generated an email from there.
5) ideally -- you will also construct the uf_match record for these new users. the uf_match table connects the joomla user account with the civicrm contacts. if you exported the civi contact ID in step 1, it's fairly easy to construct an sql import to the uf_match table. that would ensure the records all match. otherwise, you're relying on the dedupe rules to make a match when the person first logs in, which is subject to error.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

alanski

  • I post frequently
  • ***
  • Posts: 216
  • Karma: 5
  • Cup of tea? Yes please
    • Joomkit
  • CiviCRM version: Version in post
  • CMS version: Joomla
  • MySQL version: 5.0
Re: Turning contacts into joomla users
October 11, 2011, 01:36:21 pm
Brilliantly obvious when written down :).
Thanks.
This should kick the process in motion nicely

alanski

  • I post frequently
  • ***
  • Posts: 216
  • Karma: 5
  • Cup of tea? Yes please
    • Joomkit
  • CiviCRM version: Version in post
  • CMS version: Joomla
  • MySQL version: 5.0
Re: Turning contacts into joomla users
October 18, 2011, 04:46:42 am
Following this up i realise that we have issues of authentication.
People allowed to access the joomla front end as registered/authors need to be allowed as individuals that are related to member organisations rather than member organisations themselves.

So is it possible to authenticate against organisational membership by using individual contacts that are related to member organisations? Does the API help?
 :)

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Turning contacts into joomla users
October 18, 2011, 05:27:32 am
take a look at the civiauthenticate plugin:
http://wiki.civicrm.org/confluence/display/CRMDOC40/Joomla+CiviCRM+Membership+Authentication+and+ACL+Plugin

which allows you to authenticate based on the users membership status.

you will also want to make use of the membership type relationship setting. that allows contacts to inherit membership based on a relationship. so you would use the employer relationship to say -- when an org becomes a member, their employees do as well.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

alanski

  • I post frequently
  • ***
  • Posts: 216
  • Karma: 5
  • Cup of tea? Yes please
    • Joomkit
  • CiviCRM version: Version in post
  • CMS version: Joomla
  • MySQL version: 5.0
Re: Turning contacts into joomla users
October 18, 2011, 06:18:02 am
Thanks.
I googled and read this but am I missing the bit where you prompted: "you will also want to make use of the membership type relationship setting."
I cant see this referenced in the WIKI  [ I might well be blind]
We are on Joomla 1.5.23 currenty

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Turning contacts into joomla users
October 18, 2011, 06:39:28 am
there's some details here:
http://en.flossmanuals.net/civicrm/membership/configuring/
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

bit_man

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.0.6
  • CMS version: Joomla 1.7
  • MySQL version: 5.1.56
  • PHP version: 5.2.17
Re: Turning contacts into joomla users
January 20, 2012, 07:41:35 am
LCDWEB, how would you send a mass email through Civi that contains the contact's Joomla user info?

Thanks very much,

-Max

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Turning contacts into joomla users
January 20, 2012, 10:40:02 am
step #4 of reply #1 (above)

then use CiviMail with contact tokens to insert the value.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Joomla Extensions (Moderator: lcdweb) »
  • Turning contacts into joomla users

This forum was archived on 2017-11-26.