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 Joomla Extensions (Moderator: lcdweb) »
  • civiauthenticate not assigning users to proper joomla access group
Pages: [1]

Author Topic: civiauthenticate not assigning users to proper joomla access group  (Read 3001 times)

Stam

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 4.1.3
  • CMS version: Joomla 2.5.6
  • MySQL version: 5.5.23
  • PHP version: 5.2.17
civiauthenticate not assigning users to proper joomla access group
August 21, 2012, 09:43:45 pm
Hi! I've installed civiauthenticate, and would like to associate a certain member type selection (when the user creating an account through a contribution page) with a joomla access group. This is easy enough to set up in the Civiauthenticate settings, but it doesn't seem to take. No matter what membership type is selected when creating the account, the user is always assigned to the group set up as the default for new registrations in the Joomla user system settings.

Civiauthenticate also seems to fail to properly import new membership types when i create them.

Has anyone else had this trouble? This plugin is pretty essential to my project. I've disabled Joomla authentication, and still get the same result.

Thanks!



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: civiauthenticate not assigning users to proper joomla access group
September 02, 2012, 07:06:03 am
Hi there,

Sorry to hear that this isn't working as planned.  A couple of months ago I was near to updating the codebase to the latest APIs as the old ones will be depreciated at some stage.  However a new addition to my family has put paid to most of my free time.  I still need / want to update the code so am happy to work with you top resolve this. 

Do you want to send me some more details and I'll look into it?

Please note that I'm not a coder by profession and have tried to document the code clearly so others can understand what is going on.

Cheers, Henry

raustin1

  • I post occasionally
  • **
  • Posts: 39
  • Karma: 0
    • University of Notre Dame
  • CiviCRM version: 4.6.11
  • CMS version: Joomla 3.4.8
  • MySQL version: 5.5.45-cll-lve
  • PHP version: 5.6.16
Re: civiauthenticate not assigning users to proper joomla access group
September 18, 2012, 07:41:24 pm
I would be very grateful if this project was updated to fix the ACL issue. Thank you in advance
« Last Edit: September 18, 2012, 07:50:43 pm by raustin1 »

tso2085

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 0
  • CiviCRM version: 4.7.15
  • CMS version: Joomla 3.6.5
  • MySQL version: 5.5.37
  • PHP version: 5.5.30
Re: civiauthenticate not assigning users to proper joomla access group
September 18, 2012, 09:33:29 pm
Yes, myself as well.  This would be an invaluable tool for Joomla implementations.   I have various errant behavior in its current form.

Login Behavior does not seem to work.  When I put in userid/password, it just returns me to Home page with no login.  If I turn off Civi authenticate and use Joomla, same userid/password works fine.

Membership Access Control - when this is on, after entering userid/password the page is locked (browser in "waiting..." state).  I have left it there for up to 5 minutes and it never comes back.  If I cancel the submit, then click "logon" again, it comes back fairly quickly and the groups have been adjusted as expected.

Once again - a much needed and great plugin!!  But currently unusable.   :(  Anything I can do to assist, please let me know!

Thanks,
Craig

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: civiauthenticate not assigning users to proper joomla access group
September 18, 2012, 11:20:47 pm
Nice to hear that folks want to see this code working. 

Craig, raustin1 - I'm time poor at the moment and it's going to take me a while to get into this again.  Besides testing, can you assist in any way? pm if you like.
« Last Edit: September 18, 2012, 11:31:21 pm by speleo »

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: civiauthenticate not assigning users to proper joomla access group
September 19, 2012, 03:07:46 am

if any of u'll are in the UK and/or europe, might be worth attending the post-civicon sprints and try to get it working there. quite a few folks attending those sprints and u can potentially try and convince other folks to help out

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: civiauthenticate not assigning users to proper joomla access group
September 19, 2012, 09:21:21 am
Thanks for the heads up.  Hadn't seen the code sprint and it is just down the road from me.  I'm going to try and say hello but have limited time over the next few days.

tso2085

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 0
  • CiviCRM version: 4.7.15
  • CMS version: Joomla 3.6.5
  • MySQL version: 5.5.37
  • PHP version: 5.5.30
Re: civiauthenticate not assigning users to proper joomla access group
September 20, 2012, 06:59:33 pm
Henry,

I will try to assist any way I can.  I am just getting to the point where I am digging into how CiviCRM works, and the api and hooks.  Let me know what you would expect.  PM is fine as well.

Thanks,
Craig

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: civiauthenticate not assigning users to proper joomla access group
September 21, 2012, 04:38:31 am

henry:

do come in and say hello. would be good to meet you in person :)

would also be good to have a joomla presence (we have drupal well represented, a bit of WP presence)

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

nicol

  • I post occasionally
  • **
  • Posts: 95
  • Karma: 5
  • CiviCRM version: 4.2, 4.3, 4.4
  • CMS version: Joomla 2.5.x, Joomla 3.x Wordpress 3.x, Drupal 7.x
  • MySQL version: 5.x
  • PHP version: 5.3 / 5.4
Re: civiauthenticate not assigning users to proper joomla access group
September 27, 2012, 05:24:49 pm
Hi there Henry

If there is anything I can do to help move an update to the plugin along, please let me know (I can't code but I can test :-/ )

It works great on 4.1.6 but on 4.2.x it's not handling the redirect to a contribution page for people with expired memberships. It does redirect for other login probs ok.

cheers
Nic

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: civiauthenticate not assigning users to proper joomla access group
September 28, 2012, 09:23:01 am
Hi Nicol,

That's good feedback.  I'll look into that usage case and get back to you.  How much of a rush are you in?  I'm short on being able to make promises at the moment.

Henry

nicol

  • I post occasionally
  • **
  • Posts: 95
  • Karma: 5
  • CiviCRM version: 4.2, 4.3, 4.4
  • CMS version: Joomla 2.5.x, Joomla 3.x Wordpress 3.x, Drupal 7.x
  • MySQL version: 5.x
  • PHP version: 5.3 / 5.4
Re: civiauthenticate not assigning users to proper joomla access group
September 28, 2012, 10:34:04 am
Hi Henry,

It's probably happening once a week or so - and for the time being I'm redirecting people to a contact us page. So tho it'd be really helpful it's not an emergency.

To clarify what's happening: if it's set to redirect to the contribution page and the member is expired it tries to get them to login (which made me wonder if I just need to change my Civi ACL permissions). Any of the menu link redirects seem to work - tho if that menu link is a contribution page it won't have the extra info in it.

cheers

Nic

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: civiauthenticate not assigning users to proper joomla access group
September 30, 2012, 01:55:35 am
Nicol,

If a user's membership is expired then if you have the
        [login behaviour/Use Current Member Statuses] = yes
then the plugin will see the user as expired and reject login.

Try setting it
        [login behaviour/Use Current Member Statuses] = no
and modifying
        [If you answered No above then which membership level is the lowest you want to approve?]

Does that make sense. Give it a go and let me know how it works.

nicol

  • I post occasionally
  • **
  • Posts: 95
  • Karma: 5
  • CiviCRM version: 4.2, 4.3, 4.4
  • CMS version: Joomla 2.5.x, Joomla 3.x Wordpress 3.x, Drupal 7.x
  • MySQL version: 5.x
  • PHP version: 5.3 / 5.4
Re: civiauthenticate not assigning users to proper joomla access group
September 30, 2012, 06:28:59 am
Afraid that doesn't fix it. If I set 'lowest to approve' to new/grace/current it stil gives the login box, if I set it to expired, it'll let expired members login.

I've got another site with the current membership status set to yes and that seems to work fine (on 4.1.5).

cheers
nic

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Joomla Extensions (Moderator: lcdweb) »
  • civiauthenticate not assigning users to proper joomla access group

This forum was archived on 2017-11-26.