nybble

Well-Known Member
Jan 26, 2004
222
0
166
Is it just me or does NiXT whmmanager not work?

I have tried and tried, giving it all the info it wants - it just wont work! I can get it setup just fine, but it won't create accounts in cpanel! (WHM requires HTTPS, is there a setting to enable/dissable this per server? what do I enter in the server box? just google.com or https://google.com/whm ?)

I got it cause I want to learn how to interface with cpanel, so... another question, where can I learn how to interface with cpanel?

Is seems easy enough but noone will fill me in, I've asked around and around, about the only thing I haven't done is email cpanel support.
 
Last edited:

BoDGie

Member
Feb 9, 2004
8
0
151
There are 2 problems with NiXT and the latest cpanel

1. It sends incorrect package strings

2. It appears there is something wrong with its password decryption..

I've managed to get it working by tinkering around with the source.
 

nybble

Well-Known Member
Jan 26, 2004
222
0
166
What did you `tinker` with?

I would just like to get it working so I can look at the source and make my own like it but more/less features
 

drunkn_munky

Member
Jan 31, 2004
20
0
151
yeah please post your script so others can find out whats goig wrong with theres and what to tinker with etc.

you will be a legend if u do ;)
 

BoDGie

Member
Feb 9, 2004
8
0
151
Ok, my bad there's nothing wrong with the package strings - thats just what i suspected was part of the problem. There is however a problem with the decryption code.

A quick fix.

Open fucntions.php and goto line 286.

$decrypt = chop(decodestring($noenc_pass, $whm_string));

Change it to

$decrypt = "whmlogin:whmpass";

or

Open functions.php and goto line 297.

$response = curl_post($proto . $whm_server . ":" . $whm_port . "/scripts/wwwacct", $request, $decrypt);

Change $decrypt to "whmlogin:whmpass" WITH the quotation marks.

Replace whmuser with your whm username and whmpass with your whm password.
 

drunkn_munky

Member
Jan 31, 2004
20
0
151
Thanks! now hopefully i can use the create account function on NiXt and carry on with my own script. Don't worry though, its not a commercial script and full creditwill be given ;)
 

BoDGie

Member
Feb 9, 2004
8
0
151
unless all your servers have the same l/p then you wont be able to use multiserver support. I'll have a look at fixing the decrpytion code.
 

nybble

Well-Known Member
Jan 26, 2004
222
0
166
I'm confused, are you in the dev team for NiXT or something?

Anyway, don't waste to much time on it I'm not using NiXT anymore, I've made my own :) I was going to use NiXT as a code example to go by, but I guess that wasnt a very good example? lol
 

BoDGie

Member
Feb 9, 2004
8
0
151
Nope i'm not on the dev team lol

Just somebody who tried to use it and it wouldn't work so I went about fixing it :P
 

nybble

Well-Known Member
Jan 26, 2004
222
0
166
hehe :)

The whole script is pretty basic - it wouldn't to be hard to make one like it

I don't have the spare time right now but hey :) if anyone wants to make it can give it to me I'll put it on my site and call it freeware :)
 

BoDGie

Member
Feb 9, 2004
8
0
151
hah i had a crack at it once - unsuccessfully.. I might have to actually buy some account creating/billing software :(
 

nybble

Well-Known Member
Jan 26, 2004
222
0
166
:) Sorry to hear that :) but have fun looking around! there is so many of them out there :rolleyes:

I'm just making my own in house cpanel / ensim manager, to keep track of all servers and add/remove acocunts at your choice, it has a lot more features :) its like WHMAP on acid!

Maybe I'll sell it like everyone else does?
 

nybble

Well-Known Member
Jan 26, 2004
222
0
166
I was thinking that, but if I make it public than everyone is just as good as me (So to speak)
 

drunkn_munky

Member
Jan 31, 2004
20
0
151
Originally posted by nybble
I'm confused, are you in the dev team for NiXT or something?

Anyway, don't waste to much time on it I'm not using NiXT anymore, I've made my own :) I was going to use NiXT as a code example to go by, but I guess that wasnt a very good example? lol
Hey, any chance you could post the script that you used to create the accounts? I had no luck with NiXt. :(
 

nybble

Well-Known Member
Jan 26, 2004
222
0
166
Its mixed in with my whole CMS, it would be a bit of a headache to rip it out and package it up, but if you know php you can make one http://www.cpanel.net/manual/remoteaccess-php.html

of if you have some spare cash I'm always for hire :)

But like I say, I would love to give you mine but its totally in with my other systems and would take 3~ days of work to get it out and working on its own, I don't mean to be mean, I would love too. really. but I can't :(
 
Last edited:

nybble

Well-Known Member
Jan 26, 2004
222
0
166
BUT. I am thinking about making a freeware php/mysql script that manages both cpanel/ensim servers to add/remove accounts, search accounts, etc. etc.

It would be like NiXT but with ensim support.

Would anyone use it? Would anyone pay for it? (Like $20, 1 time)