wizzy420 Posted January 18, 2008 Share Posted January 18, 2008 If you let WHMCS handle all cPanel creation, or if you always put cPanel login information into WHMCS on manually created accounts, will WHMCS maintain login uniqueness across server pools? That is to say, let's say you have three cPanel servers. A second customer signs up for a domain that has the same first eight letters as another persons domain, but is being setup on a different cPanel server. Will WHMCS go "Ah, I see ABCD123 has been used as a login on cPanel-1, so when I create this account on cPanel-2 I will use a unique name that won't overlap the login on cPanel-1" ?? I need to be sure usernames are unique across multiple servers. Steve 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted January 19, 2008 Share Posted January 19, 2008 CPanel doesn't do this at all, you'd need to write custom code. Let me know if you do it, or want to discuss options. You might be able to do it with the new cpanel hook code; they don't allow any way to do it with the older cpanel pre/post scripts. I don't think WHMCS does this, and it would of course be a good place to do it. The advantage being it would make moving accounts between servers transparent to users as the account name wouldn't need to change. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Developer WHMCS Andrew Posted January 19, 2008 WHMCS Developer Share Posted January 19, 2008 I think there has been something implemented in WHMCS 3.6? 0 Quote Link to comment Share on other sites More sharing options...
JasonO Posted January 19, 2008 Share Posted January 19, 2008 http://dev.whmcs.com/index.php?cmd=view&id=210 That will be that. However I don't think it crosschecks on different servers - it's not clear it if it does or not so maybe someone can confirm? 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted January 20, 2008 Share Posted January 20, 2008 My educated guess is that it doesn't do it across different servers but you'll have to wait for Matt to give us a definite answer. Perhaps if we ask Matt nicely he might agree to add a pre-create hook so we can test for, and modify, things like the auto-generated username and password? Matt? This would fall into the category of really nice, and has been requested a bit I think ... 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted January 20, 2008 WHMCS CEO Share Posted January 20, 2008 A username will never occur more than once in WHMCS with the new feature you refer to - so that applies to all the servers you use. Matt 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted January 21, 2008 Share Posted January 21, 2008 Ahhh .... Matt, that is a lovely feature! Very, very nice. I'm assuming it copes with existing usernames that may overlap a little. 0 Quote Link to comment Share on other sites More sharing options...
JasonO Posted January 21, 2008 Share Posted January 21, 2008 So WHMCS doesn't check cPanel/WHM, it checks within its cPanel usernames in the WHMCS database to see if any already exist. Good idea 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted January 22, 2008 Share Posted January 22, 2008 So WHMCS doesn't check cPanel/WHM, it checks within its cPanel usernames in the WHMCS database to see if any already exist. Good idea Yes, exactly, the simplest solutions are often the most elegant! 0 Quote Link to comment Share on other sites More sharing options...
wizzy420 Posted January 23, 2008 Author Share Posted January 23, 2008 Cool. cPanel says you can use one database for multiple cPanel servers, as long as usernames don't get duplicated across the servers Steve 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted January 24, 2008 Share Posted January 24, 2008 Cool. cPanel says you can use one database for multiple cPanel servers, as long as usernames don't get duplicated across the servers Steve You might be confused here; the database of account names is kept in WHMCS and doesn't have anything to do with cPanel! Are you talking about sharing a mySQL database across servers somehow? Or something else? 0 Quote Link to comment Share on other sites More sharing options...
JasonO Posted January 24, 2008 Share Posted January 24, 2008 The database that stores the accounts for cPanel, as well as things like packages I think he means. Wizzy is saying that cPanel says (somewhere) that you can use that database on multiple servers - else you will have a seperate cpanel on each one. 0 Quote Link to comment Share on other sites More sharing options...
wizzy420 Posted January 24, 2008 Author Share Posted January 24, 2008 Yes, nothing to do with WHMCS database. Say you wanted to sell a bunch of VPS's with 256MB each, you could use a single MySQL server in a VPS with 1GB of RAM to serve MySQL for all the cPanel installations. 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.