Hello there!
I´ve recently started to use this excellent module, and discovered that it can assign a role to the user automagically.
But it seems that it doesn´t work. I´m sure I´m the one doing something wrong here.
I´ve selected Role A in "Role for new registrants" under admin/og/reg-keys-settings
But when a new user joins, it is just a normal registered user, and won´t appear as "Role A"
Hope you guys can help me out! :)
Rosamunda
Comments
Comment #1
Rosamunda commentedSorry, I forgot to add that:
- I´ve flushed all cache.
- It only happens with users that registers by themselves, I mean, it doesn´t happen when the user is created by the administrator.
Comment #2
Rosamunda commentedUpdate: No, my mistake, when the user is created by the admin it´s not added to the designated role either.
I kept trying and flushing cache, but nope. It seems the feature is not working.
Thanks for your help! This feature is a must. :)
Rosamunda
Comment #3
marcp commentedCan anyone else reproduce this? I'm pretty busy right now and won't get a chance to look at this in the next few days, so any additional pointers or patches would be appreciated. I agree that this is an important feature and should be fixed.
Have you tried reproducing this on a clean Drupal 6 site?
Comment #4
Rosamunda commentedHi again :)
I´ve tried it in a fresh 6.10 installation, and the problem seems to be still there.
These are the steps I´ve followed:
1. Create a group and assign it an OG Key (it is a closed, private group that does not appear in the registration page nor in the groups list)
2. Set Users Setting to allow anonymous and allow access inmediately (without the email check).
3. Register as a new user and type the group key.
4. I log in inmediately and I´n just a registered user, without the special role that should be assigned.
NOTE: I´ve tried this with a group that actually appears at the registration form, with similar results.
The user is ntegrated in the desired group, but won´t get the designated role.
Hope someone can reproduce this and help me out.
Thanks!
Rosamunda
Comment #5
marcp commentedIt sounds like step #2 where you allow users to enter the site without requiring e-mail verification is where things are broken. Can you confirm this? If you require e-mail verification, do you get put in the designated role?
Comment #6
Anonymous (not verified) commentedProblem is the same for me. Tried it with and without e-mail verification - same result: no role assigned. Workaround maybe with the rules module, temporarily.
Comment #7
Rosamunda commentedThanks for your answer Marc :)
I can confirm, that in my case it won´t work in any case. I´m trying to uncheck other OG modules to analize if they could somehow get to interfere with this.
Comment #8
marcp commented@Rosamunda and benraaa - Thanks for your patience on this. I committed a fix that should show up in the next 6.x-1.x-dev build. Please test it out and let me know if it fixes your problem. If it does, I'll cut an official new release.
Comment #9
Rosamunda commentedThanks Marc!!!
Comment #10
marcp commentedAnybody get a chance to try this besides me yet?
Comment #11
Rosamunda commentedYup!
I´ve tried it on my localhost and IT WORKED JUST FINE. Thank you very much!!!!!!
:)
Comment #12
marcp commentedThis will be in the 6.x-1.2 release.