abhaypradhan (abhaypradhan) wrote in enterprise_lj,

15 character limit for username's?

I've just started looking at the livejournal code for our enterprise.
One of the first things that I have to change is the limit on the username to 15 characters. I need to expand that to at least 30. We Indians have long names. :)

any pointers?

1) I have to change login.bml and change the size there, from 15 to 30.
2) change create.bml
3) do i have to change the field length for username in the database? if so, where? more hunting..

bin/upgrading/update-db-general.pl:258: user varchar(15) NOT NULL default '',
bin/upgrading/update-db-general.pl:280: user varchar(15) NOT NULL default '',
bin/upgrading/update-db-general.pl:1016: user char(15) NOT NULL,

have to check update-db-general.pl

any more checks in code? will get to it.
  • Post a new comment


    default userpic
How do you do usernames on UNIX? We have an 8 char limit I believe. I just give everyone LJ accounts based on the UNIX username.
well, our organisation has a 30 character limit. so i have to change the code. I altered the tables, but when i do a create_account, it fails, basically, the insert into the database fails. how can i debug this? any idea wot else i need to change?

where can i get more info on this?