Hello, I am making a portal for college students. I want to do the logins based on their school ids for example for Students whose email addresses end with @rit.edu I want to add them to the User group "RIT" automatically, and if their email address ended with @otherschoo.edu it would add them to the group "Other school". Furthermore, I would like to use these school email addresses as their username, and not have them create a new username. If the above is possible, I want to further know if I could then have different blocks displayed for each school? I want to make a static block on the side with weblinks relevent to that users school, because the info from the other schools will be irrelevent. First I would like to know if this is possible, then I will worry about how to create different blocks and the such.
Thanks in advance, I hope I made my request clear.
-Eric
Login
Donate to Zikula
Core Modules & Blocks
::
Advanced registration of users
-
-
The blocks part the easy part. As far as automatically adding them to a particular group based on their email address, well thats a little harder. You would have to do some custom programming or get someone else to do it. Now you could have them subscribe themselves to a particular group i think, but that would be using a module that isnt completely out yet. Its called pnGroups. You can monitor its development at http://dev.pnconcept.com. It might help you out.
-
In terms of the programming, it wouldn't be that hard the school's email addresses must be the same, in my case they will most likely be either @rit.edu or @rochester.edu or whatever other schools I add, if you do not have an email ending in one of the listed ones, you can't sign up (likely not a valid student, all students have a school email). I could then just parse whatever comes after the @ sign. I know in the set up that users can be assigned to a group automatically, I just want to further that.
If this proves to be too difficult, I can set it up where they can subscribe to a group after, but I would still like to use their email addresses rather then yet ANOTHER login name.
I will take a look at the link provided, thank you.
