By 1jan2006 on
Is there any way to sort out the users to different groups automatically on the basis of the information provided in the registration form. Thus, they belong to different editing permissions without the intervention of the admin. Right now, every registered user automatically belongs to the 'authenticated user' group. How can such automation be possible for other groups based on their professions and/or geographic locations and/or sex and/or nationalities? Please be explicit for 4.6 and 4.7 (possibly applicable to civicspace 0.8.2)? Thanks!
Comments
Re: auto sorting based on registration information
I have not heard from anyone in this regard. However, I found an automember.module for 4.5 which works similar to what I wished. Anyone has any idea?
Is anyone listening? Auto sorting based on reg info?
Is anyone noticed the mail I posted four days ago? Thanks!
out of the box method..
Hi Ijan..
You can do that out-of-the-box with the profile.module.
as an illustrative example based on using a COUNTRY field
Setting up the profile field:
now when you look at any user profile, their COUNTRY field will be a link and when you click on it, it will display a list of users from that COUNTRY.
As a working example have a look at your own profile and click on the SWEDEN link.
you should be shown a list of Drupal.org users who are from SWEDEN.
Tip: What's quite common to do is to setup a simple BLOCK that is only displayed when users are viewing /profile/ (user list) that has a few links. an example is below:
I hope that makes sense...the same concept could be used for favourite colour, users with the same profession, pretty much anything you want...
Dub
Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate