Jump to content

Generate username based on real name


Recommended Posts

Hello!

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"

Thanks!

Link to comment
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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

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