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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Joomla 1.6 authentication sets J! ACL to C! Membership status
Pages: [1]

Author Topic: Joomla 1.6 authentication sets J! ACL to C! Membership status  (Read 874 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
Joomla 1.6 authentication sets J! ACL to C! Membership status
May 17, 2011, 01:37:09 pm
Issue: How do you use the CiviCRM membership status to drive what users can see and do in Joomla 1.6 using the Joomla ACL?

I've been looking at updating the Joomla CiviCRM Membership Authentication Plugin http://wiki.civicrm.org/confluence/display/CRMDOC33/Joomla+CiviCRM+Membership+Authentication+Plugin to set the Joomla ACL levels. The plugin already checks to see if a user has a valid membership and then authenticates if the member is paid up.  However when they haven't paid their subs the login fails.

I'd like to be able redirect users who's membership has lapsed and join them to an "Alumni" access level which could redirect them to a membership renewal page.  This prevents exposing your membership renewal pages to the public.

Looking at the J! 1.6 ACL implementation it looks like I can just manipulate the jos_user_usergroup_map.group_id field to achieve this. (However I might need to do a bit more research to confirm this).

So... Has anyone else thought about this? Thought I'd ask before having a crack at it in case anyone else has got some input / observations.

Cheers, Henry

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Joomla 1.6 authentication sets J! ACL to C! Membership status

This forum was archived on 2017-11-26.