PDA

View Full Version : Problem using domainname_username logins.


phamels
2nd July 2007, 17:39
Hi,

I've switched over to the "[DOMAIN]_" login style.
This seems to work much better and more comfortable then the "WEBXX_" login style.

Now I ran into a little problem creating a new website that starts out with a number, for instance: 1domain.tld

As you can guess, trying to create a user for this domain results in the following error:
"Field: Username
The user name has to contain a minimum of 4 and a maximum of 32 letters or figures and has to begin with a letter"

Now, I know I can change the regex in:
/home/admispconfig/ispconfig/lib/plugins/isp_username.plugin.php
So that it doesn't mather that the domain starts with a number... But, since I only have a few live systems running and no dev system, I was wondering if this would break the system in any way... Since I'm not that keen on trying this on a live system, I was wondering if anyone could help me out here by sharing there expiriences with this or trying it out on a dev system...


Greets,


Pieter

kassie
3rd July 2007, 12:35
I have the same problem. I've looked around and the only thing to make domains start with numbers is to change the prefix...

Sorry. Was the answer i got. Unfortunately i don't know enough to edit any files.



If i get more info i'll post and let know.

phamels
3rd July 2007, 18:38
Hi Kassie,

Thx for the response, I think it is fixable, I'm very sure actually since it's only a regex check that happens on the form...
The thing is I just don't want to try it on a live server in case it would mess up the server in any way...

Anyone feels like testing ? :cool:

kassie
3rd July 2007, 19:16
I'll have server up by this weekend if you want to test...
PM Me