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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Possible? Tie Joomla site registration directly into CiviMember
Pages: 1 [2]

Author Topic: Possible? Tie Joomla site registration directly into CiviMember  (Read 10993 times)

speleo

  • Ask me questions
  • ****
  • Posts: 396
  • Karma: 28
  • CiviCRM version: 4.3.1
  • CMS version: J! 2.5,9
  • MySQL version: 5.1
  • PHP version: 5.3.24
Re: Possible? Tie Joomla site registration directly into CiviMember
June 12, 2008, 07:11:08 am
it's not. 2.1 is the dev version.

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: Possible? Tie Joomla site registration directly into CiviMember
June 12, 2008, 11:45:10 am

it is not available. The 2.1 release schedule is here: http://wiki.civicrm.org/confluence/display/CRM/CiviCRM+v2.1

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

speleo

  • Ask me questions
  • ****
  • Posts: 396
  • Karma: 28
  • CiviCRM version: 4.3.1
  • CMS version: J! 2.5,9
  • MySQL version: 5.1
  • PHP version: 5.3.24
Re: Possible? Tie Joomla site registration directly into CiviMember
June 13, 2008, 05:52:28 am
Been looking at the authentication plugins for Joomla 1.5 and how to create them here http://docs.joomla.org/Tutorial:Creating_an_Authentication_Plugin_for_Joomla_1.5

I'm thinking that it wouldn't be too hard to:
  • authenticate against the Joomla user table
  • then use CRM_Core_BAO_UFMatch::synchronize to get the CiviCRM userID
  • then perform a db lookup to check the individuals membership status.

Was looking at http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,3444/Itemid,35/ to query the civiCRM db but am sure there is a much slicker way of doing this.

Does this sound viable and the correct way of going about this?

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: Possible? Tie Joomla site registration directly into CiviMember
June 13, 2008, 11:37:29 am

the first part sounds right.

the second part you can use CiviCRM functions to access CiviCRM db. You dont need another component to do so. There are quite a few helper functions in CRM/Core/DAO.php that allow you to find/retrieve/update data from the DB

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

speleo

  • Ask me questions
  • ****
  • Posts: 396
  • Karma: 28
  • CiviCRM version: 4.3.1
  • CMS version: J! 2.5,9
  • MySQL version: 5.1
  • PHP version: 5.3.24
Re: Possible? Tie Joomla site registration directly into CiviMember
June 14, 2008, 04:34:46 pm
OK...I've written a Joomla CiviCRM Authentication Plugin - details here http://forum.civicrm.org/index.php/topic,3669.msg16246.html#msg16246

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Possible? Tie Joomla site registration directly into CiviMember

This forum was archived on 2017-11-26.