mhugo Posted August 13, 2009 Share Posted August 13, 2009 Is there any way to alter the way whmcs generates usernames for cpanel. I would like to either let the user choose or give them something like web4349. 0 Quote Link to comment Share on other sites More sharing options...
dkent Posted August 14, 2009 Share Posted August 14, 2009 Yeah, I would love this too. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted August 17, 2009 WHMCS Support Manager Share Posted August 17, 2009 I used to use a different system that allowed users to choose a username, the fact that is has to be between 5-8 chars annoyed a few clients. I think using basing it off the domain is the easiest way. 0 Quote Link to comment Share on other sites More sharing options...
dkent Posted August 17, 2009 Share Posted August 17, 2009 I know what you mean, John. But I honestly prefer it if the client could choose their own though as on many occasions they end up asking staff to change it for them. I can't see why there can't be a feature inside WHMCS for this, it could easily have a set of rules, such as length that comes with a strength bar. 0 Quote Link to comment Share on other sites More sharing options...
thehost5968 Posted August 17, 2009 Share Posted August 17, 2009 The client can do this in WHMCS client area: T0 CHANGE: UNDER MY PRODUCTS MENU, WHICH WILL LIST YOUR PRODUCTS AND SERVICES, THEN CLICK ON DOCUMENT ICON WITH GREEN ARROW, TO RIGHT OF EACH PRODUCT, THIS OPENS PRODUCT DETAILS, SCROLL DOWN TO LOGIN DETAILS THEN ENTER YOUR OLD OR REPLACEMENT PASSWORD FOR THAT DOMAIN, CONFIRM AND THEN UPDATE. ONCE THE PAGE REFRESHES YOU WILL BE ABLE TO LOG INTO C PANEL, REPEAT FOR EACH SERVICE YOU HAVE 0 Quote Link to comment Share on other sites More sharing options...
merlinpa1969 Posted August 17, 2009 Share Posted August 17, 2009 the only problem with users choosing their own is duplicates... if you have 2 clients what want to use the name fluffy... we dont change usernames, its that simple.. we let people know that they are unique and generated by the system 0 Quote Link to comment Share on other sites More sharing options...
bear Posted August 17, 2009 Share Posted August 17, 2009 The client can do this in WHMCS client area: It's about usernames, not passwords. 0 Quote Link to comment Share on other sites More sharing options...
thehost5968 Posted August 17, 2009 Share Posted August 17, 2009 I see that now very Sorry for that I should keep out. sorry again. 0 Quote Link to comment Share on other sites More sharing options...
mhugo Posted August 17, 2009 Author Share Posted August 17, 2009 since whmcs uses the first few characters of the main domainname duplicates has to be handeled anyway. My question was primarily how to got usernames automatically generated, but not based on the domainname. 0 Quote Link to comment Share on other sites More sharing options...
interneers Posted August 20, 2009 Share Posted August 20, 2009 Or if the username comes back in use, then if its less than 8 add a numeral, so testdom can be checked again using testdom1, or if its 8 chars remove the last and retry. I have transferred between servers in the past, and had to add a numeral so the account could be created, the client wasnt that bothered, most people have numbers after usernames or email address. I just had one bounce while testing and the user was testerer, and it wouldnt create, but the user testere1 was available If you are going for automation, then cover all the bases, just my two pence worth Great software by the way, my clients hate it, all their invoices are on time now Jacko 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted August 20, 2009 Share Posted August 20, 2009 Its not really that difficult... if you have a couple of custom fields in your product for a "prefered" username/password then you can use the AfterShoppingCartCheckout hook to update the username/password fields in tblhosting. So long as there are values in the username and password fields in tblhosting they will be used for the account creation. Keep in mind that if the values are invalid the account will not be created. @interneers: the word "test" is a cPanel/WHM reserved word so it can't be used to create an account. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.