PDA

View Full Version : Specified User Group/User Title on Registration


BWilliams
04-15-2006, 01:48 AM
Would it be possible to create a mod that would change the user title and user group of a new user upon registation using a specified registration field?

Here's what I am trying to do. My community is a regional truck club and it seems lately we have gotten SEVERAL out of the area users and I have been manually changing their user title to Associate vs. Member. IT would be awesome to be able to have them imput their zip code and if it doesn't start with the Southern California digits it would automatically change their user group and user title. I have the user title setup to show Stranger until 1 post is made and then it changed to Member.

So, does that make any sence? Is it possible? Any ideas?

BWilliams
04-20-2006, 01:42 PM
bump

Wired1
04-21-2006, 02:02 AM
Just throwing out some ideas to help out potential coders, the zip code profile field would have to be mandatory of course, and the hack would have to deal with non-numeric entries within that field.

What you may want to do is instead of making a hack that changes the title, you may want to have one that based upon said info, will move them to a specific user group that has the Associate title as its default.

amykhar
04-21-2006, 01:05 PM
Take my mod that puts users in groups based on the profile field. Follow that EXCEPT, in your if clause, you would want to do a bit stronger verifications to validate the zip.