This documentation relates to CiviCRM version 3.2. It's not maintained anymore.
Current version of documentation.

Joomla CiviCRM Membership Authentication Plugin

Aller directement à la fin des métadonnées
Aller au début des métadonnées

This page refers to outdated version of CiviCRM. Check current version of documentation.

Documentation Search

CiviCRM 3.2 Documentation

Support and Participation

Developer Resources

CiviCRM book!

Make sure to check out Understanding CiviCRM as well! You can also support this project by ordering a hard copy.

Want to restrict Joomla 1.5 site logins to users with current CiviCRM memberships?

This Joomla 1.5 Authentication plugin does this:

  • Use the Joomla user table to authenticate
  • Check that that user has a current CiviCRM membership record
  • Redirect to the configured location based on potential results

The current version is compatible with CiviCRM 3.1


  1. Download the plugin zip file to your local system
  2. In the Joomla 1.5 backend system select [Extensions] [install/uninstall] from the menu
    1. Enter your ftp credentials if required.
    2. Browse to the package file you saved in step one, click [Upload File & Install]
    3. The plugin should report installation success.
  3. Goto [Extensions] [Plugin Manager] from the menu and edit the Authentication - CiviCRM plugin
    1. Enable the plugin
    2. modify the params as follows:
      1. is current = the highest value of which relates to a valid current membership. You will need to use phpMyAdmin to look at the civicrm_membership_status table to find the highest ID which relates to a valid current membership status.
      2. Old Membership = a relative URL (eg index.php?option=com_content...) to redirect users who have a contact match but do not have a valid membership. You can use this to redirect the user to a civicontribute form maybe. This is not currently tested - feedback required.
      3. Bad Password = a relative URL to redirect users whoes password does not match. This should generally be the same as the following option for secuity reasons.
      4. No Match = a relative URL to redirect users who do not appear to have a joomla registration.
  4. You may have multiple authenication plugins and Joomla will work though them sequentially to find a valid login. It is recommended that all other authentiction plugins are disabled, otherwise non members may gain access to your site. It is vital that your admin user has a corresponding CiviCRM membership or you will be locked out of your Joomla Admin. If you are locked out then you'll need to go into PMA and toggle the relevant published fields in jos_plugins.(fixed in v1.0.1)
  5. You may want to change the Login Redirection Page parameter in mod_login for users with successful logins.

To uninstall this plugin:

  1. publish the Authentication - Joomla Plugin
  2. unpublish the Authentication - CiviCRM Plugin
  3. Uninstall it from the [Extensions] [install/uninstall] dialog

If you do not unpublish it first then the unistallation will remove it from the Joomla plug tables but leave the files in place thus making a reinstall fail until you have manually removed the files.

Change Log
  • v1.0.0 First version
  • v1.0.1 Added Joomla Superadmin bypass of CiviMember authentication. This means that you do not have to have a membership for your superadmin and will not get locked out of the backend.
  • v1.0.2 Added check to ensure a contact has a CiviMember record. If no membership record exist redirect them using the "Old Membership" redirect.
  • v1.0.3 Fixed a problem where a user was being refused access if he did not have an entry in the civicrm_uf_match table.
  • v1.0.4 All admin level users exempt; improves handling when user has multiple memberships; uses status_id field in membership record instead of calculating the status to account for status overrides and address some issues in:
  • Aucun

Creative Commons License
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-Share Alike 3.0 United States Licence.