Jump to content

Server Module Generating Usernames before Create


ichilver

Recommended Posts

Hi

 

When someone purchases a product/service in the order it automatically creates a random server password and blank server username.

 

I want to be able to create my own generated usernames in a server module I'm creating.

 

I thought about adding a hook in to "PreModuleCreate" but I'm not sure how to create the username.

What I mean is, I can generate the username and set it in the params when in turn then calls my API and is passed to my server. However in the clients area the username is still blank and not set there so the user has no idea what it is.

 

Any ideas??

 

Am I doing this completely wrong, and if so how would you do it?

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.

×
×
  • 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