[BlueOnyx:00875] Re: Feature Requests

Michael Stauber mstauber at blueonyx.it
Fri Mar 27 01:55:50 -05 2009


Hi Greg,

> What I'm thinking of is a way to set username prefixes for each site.
> I've been reading all that I can find about Sausalito, and after
> putting some thought to it, I'm going to need to change the
> userAddHandler.php file to make it work properly. I'm thinking that
> I'd rather it be done at the distribution level so that it doesn't
> screw things up later. So here's what's going through my mind:
>
> An optional VSite boolean property (userPrefixEnabled) which enables
> username prefixes for each site. False would leave the current
> behavior intact. userAdmin access only.
>
> An optional VSite alpha property (userPrefix) which would allow us to
> override the default prefix.
>
> in userAddHandler, if userPrefixEnabled is False, process as normal.
> If true, append the selected username to the aliases and set the
> username to Site##_### or userPrefix###. We'd need to look at the
> users in the site/users directory and find the highest existing user,
> but I don't think that would be too hard.

Yeah, that's a nice idea. I see some potential obstacles in the form of that 
Java script that suggests a username when you  enter the full name. So that 
needs to be tweaked as well. But aside from that it's certainly doable and 
would be a nice addition.

-- 
With best regards

Michael Stauber




More information about the Blueonyx mailing list