On Sun, Aug 28, 2011 at 2:33 PM, Stas Sușcov <span dir="ltr"><<a href="mailto:stas@nerd.ro">stas@nerd.ro</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
În data de Du, 28-08-2011 la 13:17 -0400, Alexandre Enkerli a scris:<br>
<div><div></div><div class="h5">> Summary: If you were to create accounts for students, what would you<br>
> use as a username?</div></div></blockquote><div><br></div><div>To me, it seems obvious to use their netname. At my alma mater, the netname was also the local part of the University email address. It was public, unique, and couldn't be changed unless a request went through to the IT department for cases of marriage, etc. It was set by the student upon enrollment, but I know a number of schools that use a name or initials + some X-digit randomness (or graduation year, etc.).</div>
<div><br></div><div>Changing a username after the fact, FWIW, is not particularly difficult -- assuming you don't care about mentions etc., you just need to change the DB row. If you're using an object cache backend (which I would hope you are), you'll also want to ensure you flush the various user cache groups for the corresponding user.</div>
<div><br></div><div>Another side note: Unfortunately, BuddyPress often uses user_login (the actual login) instead of user_nicename (the slug that would appear in mentions or URLs). I know BP 1.3 does include some fixes here, but I'm not sure if it's entirely addressed, or if there are any misuses in core. But, hypothetically, it's probably possible to hide the user_login by having a separate user_nicename.</div>
<div><br></div><div>Cheers,</div><div>Nacin</div></div>