Jump to content
Oliver F

Generate username based on real name

Recommended Posts


I have recently starting to use WHMCS and have tried to find some solution on how to make so WHMCS can generate a username based on the real name of the client.

 I currently using Plesk, and I want all orders to be 100% automatically. I know that WHMCS can generate random usernames automatically, but can I in someway change that so WHMCS will generate the username based on the client's real name? Like "August.smith"


Share this post

Link to post
Share on other sites

Yes you can with PreModuleCreate hook point. Before WHMCS setups the account on Plesk you override the default username with your custom one. Job done. The problem is that using something like August.Smith is probably a bad idea due to homonym and the fact that you'll need to handle multiple hosting packages purchased by the same customer. In my opinion the best approach is to hide username/password to customer and let them login on Plesk from WHMCS clientarea by simply clicking the auto-login button. There's no need to let them know username & password considering that people can't even remember a single combination.

  • Like 1

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.


Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated