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) »
  • Deleting contact permanently does NOT delete Joomla user
Pages: [1]

Author Topic: Deleting contact permanently does NOT delete Joomla user  (Read 1267 times)

sachuit

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 3.3.beta2
  • CMS version: Joomla! 1.5.22 Stable
  • MySQL version: 5.0.77
  • PHP version: 5.2.10
Deleting contact permanently does NOT delete Joomla user
March 17, 2011, 03:23:21 am
Hi folks

I am getting very uneasy here. Even I delete the contact permanently, it doesn't delete the Joomla user and because of this that deleted contact is not able to sign up again if they want.

I have included the profile in contribution and forcing user to sign up and that's what exactly I want.
Ideally, I want user to register for Joomla at the same time they pay for the membership.

Does anyone can help or provide me a workaround for this problem?

Thanks in advance.

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: Deleting contact permanently does NOT delete Joomla user
March 17, 2011, 10:47:03 am

You will need to implement the "hook_civicrm_post" on the delete op for the contact object and delete the corresponding joomla user there. check:

http://wiki.civicrm.org/confluence/display/CRMDOC32/CiviCRM+hook+specification

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Deleting contact permanently does NOT delete Joomla user

This forum was archived on 2017-11-26.