Posts: 114
Threads: 1
Joined: Apr 2015
Reputation:
11
Sex: Male
Thanks: 19
Given 31 thank(s) in 24 post(s)
RE: [MODULE] WHMCS
05-02-2016, 11:08 PM
(05-01-2016, 08:07 PM)Leo. Wrote: 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
Hi Leo., would the "0156" part of the username be generated from something like WHMCS user ID? If so, then I might be able to implement a configurable username-generation depending on how WHMCS handles username generation, other than that, the username should automatically be the domain they ordered
(05-02-2016, 09:30 PM)sghosh1810 Wrote: Hello;
I'm running WHMCS and Sentora on the different server, and getting 'Account couldn't be created, the API Request failed.'
I've double and triple checked my settings, all seem right
- redacted long list of debug output -
Hi sghosh1810, according to https://curl.haxx.se/libcurl/c/libcurl-errors.html CURL error 6 means that it couldn't resolve the hostname that you've assigned in the server settings, try running
(e.g. nslookup google.com) from the SSH of the server hosting the WHMCS panel and post the result here,
Posts: 31
Threads: 1
Joined: Apr 2016
Reputation:
0
Sex: Male
Thanks: 1
Given 1 thank(s) in 1 post(s)
RE: [MODULE] WHMCS
05-03-2016, 07:55 AM
(05-02-2016, 11:08 PM)Rynoxx Wrote: (05-01-2016, 08:07 PM)Leo. Wrote: 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
Hi @[Leo.], would the "0156" part of the username be generated from something like WHMCS user ID? If so, then I might be able to implement a configurable username-generation depending on how WHMCS handles username generation, other than that, the username should automatically be the domain they ordered
(05-02-2016, 09:30 PM)sghosh1810 Wrote: Hello;
I'm running WHMCS and Sentora on the different server, and getting 'Account couldn't be created, the API Request failed.'
I've double and triple checked my settings, all seem right
- redacted long list of debug output -
Hi sghosh1810, according to https://curl.haxx.se/libcurl/c/libcurl-errors.html CURL error 6 means that it couldn't resolve the hostname that you've assigned in the server settings, try running
(e.g. nslookup google.com) from the SSH of the server hosting the WHMCS panel and post the result here, Hello Rynoxx, when I wrote this I meant that it doesn't matter for me which username it generates, i just need it to generate it automatically so I don't need to go to whmcs admin panel assign the username for sentora by myself, if you can somehow change module it would be great ; thank you so much for your module and support)
Posts: 114
Threads: 1
Joined: Apr 2015
Reputation:
11
Sex: Male
Thanks: 19
Given 31 thank(s) in 24 post(s)
RE: [MODULE] WHMCS
05-03-2016, 05:56 PM
(05-03-2016, 07:55 AM)Leo. Wrote: (05-02-2016, 11:08 PM)Rynoxx Wrote: (05-01-2016, 08:07 PM)Leo. Wrote: 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
Hi Leo., would the "0156" part of the username be generated from something like WHMCS user ID? If so, then I might be able to implement a configurable username-generation depending on how WHMCS handles username generation, other than that, the username should automatically be the domain they ordered
- irrelevant part of reply redacted - Hello Rynoxx, when I wrote this I meant that it doesn't matter for me which username it generates, i just need it to generate it automatically so I don't need to go to whmcs admin panel assign the username for sentora by myself, if you can somehow change module it would be great ; thank you so much for your module and support)
Hi Leo., ahh, if that's the case it -should- already generate a username based on the domain, although I do not know how WHMCS would handle it if there's no assigned domain, anyway, I've found a way to implement custom username generation and will allow an option for it and to customize it, as well as using it as a backup if there's no domain assigned. This is currently in the works and will be done within a few days
Posts: 31
Threads: 1
Joined: Apr 2016
Reputation:
0
Sex: Male
Thanks: 1
Given 1 thank(s) in 1 post(s)
RE: [MODULE] WHMCS
05-03-2016, 06:51 PM
(05-03-2016, 05:56 PM)Rynoxx Wrote: (05-03-2016, 07:55 AM)Leo. Wrote: (05-02-2016, 11:08 PM)Rynoxx Wrote: (05-01-2016, 08:07 PM)Leo. Wrote: 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
Hi @[Leo.], would the "0156" part of the username be generated from something like WHMCS user ID? If so, then I might be able to implement a configurable username-generation depending on how WHMCS handles username generation, other than that, the username should automatically be the domain they ordered
- irrelevant part of reply redacted - Hello Rynoxx, when I wrote this I meant that it doesn't matter for me which username it generates, i just need it to generate it automatically so I don't need to go to whmcs admin panel assign the username for sentora by myself, if you can somehow change module it would be great ; thank you so much for your module and support)
Hi @[Leo.], ahh, if that's the case it -should- already generate a username based on the domain, although I do not know how WHMCS would handle it if there's no assigned domain, anyway, I've found a way to implement custom username generation and will allow an option for it and to customize it, as well as using it as a backup if there's no domain assigned. This is currently in the works and will be done within a few days
Thank u very much Rynoxx : I'm waiting for your update
Posts: 31
Threads: 1
Joined: Apr 2016
Reputation:
0
Sex: Male
Thanks: 1
Given 1 thank(s) in 1 post(s)
RE: [MODULE] WHMCS
05-06-2016, 08:52 AM
(05-03-2016, 06:51 PM)Leo. Wrote: (05-03-2016, 05:56 PM)Rynoxx Wrote: (05-03-2016, 07:55 AM)Leo. Wrote: (05-02-2016, 11:08 PM)Rynoxx Wrote: (05-01-2016, 08:07 PM)Leo. Wrote: 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
Hi @[Leo.], would the "0156" part of the username be generated from something like WHMCS user ID? If so, then I might be able to implement a configurable username-generation depending on how WHMCS handles username generation, other than that, the username should automatically be the domain they ordered
- irrelevant part of reply redacted - Hello Rynoxx, when I wrote this I meant that it doesn't matter for me which username it generates, i just need it to generate it automatically so I don't need to go to whmcs admin panel assign the username for sentora by myself, if you can somehow change module it would be great ; thank you so much for your module and support)
Hi @[Leo.], ahh, if that's the case it -should- already generate a username based on the domain, although I do not know how WHMCS would handle it if there's no assigned domain, anyway, I've found a way to implement custom username generation and will allow an option for it and to customize it, as well as using it as a backup if there's no domain assigned. This is currently in the works and will be done within a few days
Thank u very much Rynoxx :I'm waiting for your update
Any news ?
Posts: 114
Threads: 1
Joined: Apr 2015
Reputation:
11
Sex: Male
Thanks: 19
Given 31 thank(s) in 24 post(s)
RE: [MODULE] WHMCS
05-06-2016, 04:13 PM
(05-06-2016, 08:52 AM)Leo. Wrote: (05-03-2016, 06:51 PM)Leo. Wrote: (05-03-2016, 05:56 PM)Rynoxx Wrote: (05-03-2016, 07:55 AM)Leo. Wrote: (05-02-2016, 11:08 PM)Rynoxx Wrote: Hi Leo., would the "0156" part of the username be generated from something like WHMCS user ID? If so, then I might be able to implement a configurable username-generation depending on how WHMCS handles username generation, other than that, the username should automatically be the domain they ordered
- irrelevant part of reply redacted - Hello Rynoxx, when I wrote this I meant that it doesn't matter for me which username it generates, i just need it to generate it automatically so I don't need to go to whmcs admin panel assign the username for sentora by myself, if you can somehow change module it would be great ; thank you so much for your module and support)
Hi Leo., ahh, if that's the case it -should- already generate a username based on the domain, although I do not know how WHMCS would handle it if there's no assigned domain, anyway, I've found a way to implement custom username generation and will allow an option for it and to customize it, as well as using it as a backup if there's no domain assigned. This is currently in the works and will be done within a few days
Thank u very much Rynoxx :I'm waiting for your update
Any news ?
@[Leo] some of the code is on the github page, although untested as I've sadly been quite busy the last couple of days :/
But if it works, it should be sufficient for your purpose
If you want to try it, backup your current sentora module for WHMCS and copy over the ones from the github page
Posts: 31
Threads: 1
Joined: Apr 2016
Reputation:
0
Sex: Male
Thanks: 1
Given 1 thank(s) in 1 post(s)
RE: [MODULE] WHMCS
05-07-2016, 07:37 PM
(05-06-2016, 04:13 PM)Rynoxx Wrote: (05-06-2016, 08:52 AM)Leo. Wrote: (05-03-2016, 06:51 PM)Leo. Wrote: (05-03-2016, 05:56 PM)Rynoxx Wrote: (05-03-2016, 07:55 AM)Leo. Wrote: Hello Rynoxx, when I wrote this I meant that it doesn't matter for me which username it generates, i just need it to generate it automatically so I don't need to go to whmcs admin panel assign the username for sentora by myself, if you can somehow change module it would be great ; thank you so much for your module and support)
Hi @[Leo.], ahh, if that's the case it -should- already generate a username based on the domain, although I do not know how WHMCS would handle it if there's no assigned domain, anyway, I've found a way to implement custom username generation and will allow an option for it and to customize it, as well as using it as a backup if there's no domain assigned. This is currently in the works and will be done within a few days
Thank u very much Rynoxx :I'm waiting for your update
Any news ?
@[Leo] some of the code is on the github page, although untested as I've sadly been quite busy the last couple of days :/
But if it works, it should be sufficient for your purpose
If you want to try it, backup your current sentora module for WHMCS and copy over the ones from the github page
Thanks, I will test it now. Should I only change whmcs module in sentora or in whmcs too ?
Posts: 114
Threads: 1
Joined: Apr 2015
Reputation:
11
Sex: Male
Thanks: 19
Given 31 thank(s) in 24 post(s)
RE: [MODULE] WHMCS
05-07-2016, 07:46 PM
(05-07-2016, 07:37 PM)Leo. Wrote: (05-06-2016, 04:13 PM)Rynoxx Wrote: (05-06-2016, 08:52 AM)Leo. Wrote: (05-03-2016, 06:51 PM)Leo. Wrote: (05-03-2016, 05:56 PM)Rynoxx Wrote: Hi Leo., ahh, if that's the case it -should- already generate a username based on the domain, although I do not know how WHMCS would handle it if there's no assigned domain, anyway, I've found a way to implement custom username generation and will allow an option for it and to customize it, as well as using it as a backup if there's no domain assigned. This is currently in the works and will be done within a few days
Thank u very much Rynoxx :I'm waiting for your update
Any news ?
Leo. some of the code is on the github page, although untested as I've sadly been quite busy the last couple of days :/
But if it works, it should be sufficient for your purpose
If you want to try it, backup your current sentora module for WHMCS and copy over the ones from the github page
Thanks, I will test it now. Should I only change whmcs module in sentora or in whmcs too ?
Leo., the changes regarding the username generation are only in the whmcs module
Posts: 31
Threads: 1
Joined: Apr 2016
Reputation:
0
Sex: Male
Thanks: 1
Given 1 thank(s) in 1 post(s)
RE: [MODULE] WHMCS
05-07-2016, 09:56 PM
(05-07-2016, 07:46 PM)Rynoxx Wrote: (05-07-2016, 07:37 PM)Leo. Wrote: (05-06-2016, 04:13 PM)Rynoxx Wrote: (05-06-2016, 08:52 AM)Leo. Wrote: (05-03-2016, 06:51 PM)Leo. Wrote: Thank u very much Rynoxx :I'm waiting for your update
Any news ?
@[Leo.] some of the code is on the github page, although untested as I've sadly been quite busy the last couple of days :/
But if it works, it should be sufficient for your purpose
If you want to try it, backup your current sentora module for WHMCS and copy over the ones from the github page
Thanks, I will test it now. Should I only change whmcs module in sentora or in whmcs too ?
@[Leo.], the changes regarding the username generation are only in the whmcs module
There is a problem with whmcs after I upload file hooks.php , whmcs isn't working at all. It's just ruined : I don't know how to solve it
Posts: 114
Threads: 1
Joined: Apr 2015
Reputation:
11
Sex: Male
Thanks: 19
Given 31 thank(s) in 24 post(s)
RE: [MODULE] WHMCS
05-07-2016, 10:01 PM
(05-07-2016, 09:56 PM)Leo. Wrote: (05-07-2016, 07:46 PM)Rynoxx Wrote: (05-07-2016, 07:37 PM)Leo. Wrote: (05-06-2016, 04:13 PM)Rynoxx Wrote: (05-06-2016, 08:52 AM)Leo. Wrote: Any news ?
Leo. some of the code is on the github page, although untested as I've sadly been quite busy the last couple of days :/
But if it works, it should be sufficient for your purpose
If you want to try it, backup your current sentora module for WHMCS and copy over the ones from the github page
Thanks, I will test it now. Should I only change whmcs module in sentora or in whmcs too ?
Leo., the changes regarding the username generation are only in the whmcs module
There is a problem with whmcs after I upload file hooks.php , whmcs isn't working at all. It's just ruined : I don't know how to solve it
Leo. damn, remove the hooks.php and I'll see if I can do some proper testing later today or perhaps tomorrow
|