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 (Moderator: Dave Greenberg) »
  • Linking Joomla user accounts and Civi contact
Pages: [1]

Author Topic: Linking Joomla user accounts and Civi contact  (Read 1578 times)

combrains

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 2
  • CiviCRM version: 4.3.3
  • CMS version: Joomla 3.1.x
  • MySQL version: 5.1.44
  • PHP version: 5.3.1
Linking Joomla user accounts and Civi contact
January 14, 2012, 08:39:10 pm
Hi all,

I'm sure this question has been asked a dozen time on this forum but I have yet to find a definitive answer to it.

I am looking to implement CiviCRM as a membership/audience tracking system for a theatre club.  They currently use Joomla to run their website. I would like users to be able to sign in to the site to access specific features/update their profile and at the same time, have a contact record added to/modified in CiviCRM.  I have played with the Drupal version of Civi, and this process is entirely seamless, but I cannot seem to be able to get the same sort for functionality with Joomla.

I did read a forum post somewhere saying that this was coming in the 4.1 release of Civi. But so far, I can't see it in the beta.

Has anyone come up with a solution to this?  I appreciate that I can do a sync of existing Joomla users to CiviCRM, but this is a pain.  I would prefer that contact creation and updates be automated.

I'm a newbie and not terribly familiar with php, SQL or the inner workings of Joomla/CiviCRM.  However, I am technically inclined and can learn if pointed in the right direction.

Cheers for any help.

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: Linking Joomla user accounts and Civi contact
January 15, 2012, 08:01:39 am

Check:

http://wiki.civicrm.org/confluence/display/CRMDOC40/Joomla!+Extensions+for+CiviCRM+%283rd+party%29

You might be able to extend one of those plugins to do what you want.

Alternatively when you redirect a logged in user to a CiviCRM profile page, a contact is automatically created for them by CiviCRM

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

combrains

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 2
  • CiviCRM version: 4.3.3
  • CMS version: Joomla 3.1.x
  • MySQL version: 5.1.44
  • PHP version: 5.3.1
Re: Linking Joomla user accounts and Civi contact
January 15, 2012, 05:02:14 pm
Thanks of the advice Lobo.

Just to clarify, if I redirect to a form after registration,  will the contact be created at that point or only if the for is modified and saved?

Now that I have played with Civi a little more, The CiviUser plugin may look like it will do what I want.  I will just have to create a 'website' membership category so that supporters etc can still log in and edit their info.

I guess it could also be possible to mod the plugin (CiviUser, that is) so that it authenticates against the contact DB rather than the membership DB?  Could also add a function to add a contact if one does not exist.

If anyone has done this or is interested in doing this, let me know as my knowledge of PHP/SQL is next to nonexistent.

Cheers

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: Linking Joomla user accounts and Civi contact
January 15, 2012, 07:47:08 pm

If after registration the user is logged in, then it should be created when the user visits the page. However you should try this out and ensure it happens :)

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

combrains

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 2
  • CiviCRM version: 4.3.3
  • CMS version: Joomla 3.1.x
  • MySQL version: 5.1.44
  • PHP version: 5.3.1
Re: Linking Joomla user accounts and Civi contact
January 16, 2012, 04:14:41 pm
Cheers Donald (lobo :) )

I have my dev server up now so I will start experimenting and let you know ho I go.

Cheers

combrains

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 2
  • CiviCRM version: 4.3.3
  • CMS version: Joomla 3.1.x
  • MySQL version: 5.1.44
  • PHP version: 5.3.1
Re: Linking Joomla user accounts and Civi contact
January 19, 2012, 02:00:43 am
OK, so I've decided to stick with the built-in registration for Joomla.  I have created an 'edit profile' link visible only to logged in users which directs to a Name and address profile form in Civi. I have confirmed that the CiviCRM record is created when the form is visited.

My next question is:  Is it possible to have the form auto-populate the fields that exist in the CiviCRM contact so that I the form functions  the way one would expect a profile update form to work?

Cheers

combrains

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 2
  • CiviCRM version: 4.3.3
  • CMS version: Joomla 3.1.x
  • MySQL version: 5.1.44
  • PHP version: 5.3.1
Re: Linking Joomla user accounts and Civi contact
February 04, 2012, 02:58:30 pm
Bump!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Linking Joomla user accounts and Civi contact

This forum was archived on 2017-11-26.