This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[MODULE] WHMCS
RE: [MODULE] WHMCS
(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
Code:
nslookup HOSTNAME
(e.g. nslookup google.com) from the SSH of the server hosting the WHMCS panel and post the result here,
Reply
Thanks given by:
RE: [MODULE] WHMCS
(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
Code:
nslookup HOSTNAME
(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 ;Wink thank you so much for your module and support)
Reply
Thanks given by:
RE: [MODULE] WHMCS
(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 ;Wink 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 Smile
Reply
Thanks given by:
RE: [MODULE] WHMCS
(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 ;Wink 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 Smile

Thank u very much Rynoxx :SmileI'm waiting for your update Smile
Reply
Thanks given by:
RE: [MODULE] WHMCS
(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 ;Wink 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 Smile

Thank u very much Rynoxx :SmileI'm waiting for your update Smile

Any news ? Smile
Reply
Thanks given by:
RE: [MODULE] WHMCS
(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 ;Wink 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 Smile

Thank u very much Rynoxx :SmileI'm waiting for your update Smile

Any news ? Smile

@[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 Smile
If you want to try it, backup your current sentora module for WHMCS and copy over the ones from the github page
Reply
Thanks given by:
RE: [MODULE] WHMCS
(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 ;Wink 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 Smile

Thank u very much Rynoxx :SmileI'm waiting for your update Smile

Any news ? Smile

@[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 Smile
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 ?
Reply
Thanks given by:
RE: [MODULE] WHMCS
(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 Smile

Thank u very much Rynoxx :SmileI'm waiting for your update Smile

Any news ? Smile

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 Smile
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
Reply
Thanks given by:
RE: [MODULE] WHMCS
(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 :SmileI'm waiting for your update Smile

Any news ? Smile

@[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 Smile
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 :Sad I don't know how to solve it Sad
Reply
Thanks given by:
RE: [MODULE] WHMCS
(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 ? Smile

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 Smile
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 :Sad I don't know how to solve it Sad

Leo. damn, remove the hooks.php and I'll see if I can do some proper testing later today or perhaps tomorrow
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
[Module] ELFileManager (build on elfinder) Diablo925 94 287 ,284 05-30-2024, 05:25 AM
Last Post: TGates
[MODULE] phpMyAdmin-AU (Auto-Update) TGates 14 44 ,619 06-15-2021, 06:54 AM
Last Post: TGates
[MODULE] SenBrand - Basic Branding module for Sentora TGates 20 48 ,971 06-04-2021, 11:47 AM
Last Post: ccr1969

Forum Jump:


Users browsing this thread: 6 Guest(s)