Sentora Support Forums
Generate default username in Sentora. - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36)
+---- Thread: Generate default username in Sentora. (/showthread.php?tid=2807)



Generate default username in Sentora. - Leo. - 05-01-2016

Hello guys, I'm a long time reader on Sentora forums, but this is my first thread cause I can't find solution for my problem.Actually I need to sentora in manage_clients module generate usernames like : cp0156  , like it generates passwords, I need this to whmcs module work correctly on full auto mode, any could help me ? 

Kind reggards Smile  Angel Angel Wink Tongue Big Grin Cool Shy Rolleyes


RE: Generate default username in Sentora. - Leo. - 05-02-2016

Guys I know it's not hard to do, is forum dead? Please help me Smile


RE: Generate default username in Sentora. - TGates - 05-02-2016

It would require changing the core coding for that module. I currently do not have any spare time to look into it Sad


RE: Generate default username in Sentora. - Leo. - 05-02-2016

(05-02-2016, 01:15 PM)TGates Wrote: It would require changing the core coding for that module. I currently do not have any spare time to look into it Sad

Maybe you could do it when u have some free time, thanks for answer in advance, how do u think should I try ro change the whmcs module to generate usernames itself or it's not worth it ? Smile


RE: Generate default username in Sentora. - TGates - 05-03-2016

It would probably be easier to have WHMCS create them then to change the core of Sentora Wink


Something like this could be customized to do what you are saying: http://talkerscode.com/webtricks/auto-suggestion-of-username-and-email-id-on-user-registation-using-ajax-jquery-and-php.php

It's just an example, but gives you an idea.