The Toolkit for Online Communities
17104 Community Members, 0 members online, 2188 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Q&A : How to register users anonymously? : One Message

Forum OpenACS Q&A: Re: How to register users anonymously?

Posted by Matthew Geddert on
Users are people objects, and by default people objects require first_names and last_name. You can disable this by removing the not null constraint for both columns on the persons table in the database (I work with sites that have done this and it works - although it makes dupe accounts much more likely). You will likely need to also update a number of other pages and procs, for example if posting on forums it trys to user you name to say who posted, or when on your my account page it asks for the first and last names... if you grep for "first_names" on your install you can see all the places that look for it...
Posted by Ryan Gallimore on
Thanks, Matt. I don't mind dup accounts so I may take your suggestion. I will require the username to be the e-mail address. Will this avoid dup accounts? Also, can I require a screen name and then feed that to first_names, last_name? ie
screen_name is 'perfect_user':

set first_names $screen_name
set last_name " "