The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

NiXT and WHM

Discussion in 'General Discussion' started by nybble, Feb 8, 2004.

  1. nybble

    nybble Well-Known Member

    Joined:
    Jan 26, 2004
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
    #1 nybble, Feb 8, 2004
    Last edited: Feb 8, 2004
  2. BoDGie

    BoDGie Member

    Joined:
    Feb 9, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  3. nybble

    nybble Well-Known Member

    Joined:
    Jan 26, 2004
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    16
    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
     
  4. drunkn_munky

    drunkn_munky Member

    Joined:
    Jan 31, 2004
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    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 ;)
     
  5. BoDGie

    BoDGie Member

    Joined:
    Feb 9, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  6. drunkn_munky

    drunkn_munky Member

    Joined:
    Jan 31, 2004
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    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 ;)
     
  7. nybble

    nybble Well-Known Member

    Joined:
    Jan 26, 2004
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    16
    Cool :)

    But does this meen there is(Will be) no multi server support?
     
  8. BoDGie

    BoDGie Member

    Joined:
    Feb 9, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  9. nybble

    nybble Well-Known Member

    Joined:
    Jan 26, 2004
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    16
    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
     
  10. BoDGie

    BoDGie Member

    Joined:
    Feb 9, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  11. nybble

    nybble Well-Known Member

    Joined:
    Jan 26, 2004
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    16
    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 :)
     
  12. BoDGie

    BoDGie Member

    Joined:
    Feb 9, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    hah i had a crack at it once - unsuccessfully.. I might have to actually buy some account creating/billing software :(
     
  13. nybble

    nybble Well-Known Member

    Joined:
    Jan 26, 2004
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    16
    :) 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?
     
  14. BoDGie

    BoDGie Member

    Joined:
    Feb 9, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Yeah may aswell make a bit of money out of it if you can.
     
  15. nybble

    nybble Well-Known Member

    Joined:
    Jan 26, 2004
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    16
    I was thinking that, but if I make it public than everyone is just as good as me (So to speak)
     
  16. drunkn_munky

    drunkn_munky Member

    Joined:
    Jan 31, 2004
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Hey, any chance you could post the script that you used to create the accounts? I had no luck with NiXt. :(
     
  17. nybble

    nybble Well-Known Member

    Joined:
    Jan 26, 2004
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    16
    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 :(
     
    #17 nybble, Feb 11, 2004
    Last edited: Feb 11, 2004
  18. nybble

    nybble Well-Known Member

    Joined:
    Jan 26, 2004
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    16
    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)
     
  19. drunkn_munky

    drunkn_munky Member

    Joined:
    Jan 31, 2004
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Well i found out what the problem is. My script was fine I just needed easyapache installed.
     
  20. nybble

    nybble Well-Known Member

    Joined:
    Jan 26, 2004
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    16
    Cool :)

    Can I ask what your script is like?
     
Loading...

Share This Page