Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ########################################################
- ## TheHostingTool - Kloxo Server Plugin
- ## Version 1.2 Beta
- ## Created by Liam Demafelix
- ## http://www.rocketslice.com/
- ########################################################
- ----------------------------------------
- 1. Installation
- ----------------------------------------
- -> Before uploading, open the kloxo.php file with your favorite text editor. You need to do some changes.
- Edit: Line 15
- Find: private $port = 7778;
- Change to: private $port = <KLOXO_PORT_NON_SSL>;
- Make sure to change <KLOXO_PORT_NON_SSL> with an integer, specifically the port number of your Kloxo installation, if you changed it. Make sure its the non-SSL port. If you didn't change it then do not change the value.
- Edit: Line 16
- Find: private $dnstemplate = "default.dnst";
- Change to: private $dnstemplate = "<YOUR_DNS_TEMPLATE_WITH_.dnst>";
- Change <YOUR_DNS_TEMPLATE_WITH_.dnst> to the name of your DNS template. Make sure it has the .dnst extension.
- -> Next, upload kloxo.php to your %path%/includes/servers/ directory. Replace %path% with the installation path of your TheHostingTool copy.
- -> Go to your Kloxo, and make an auxiliary account that is specifically for use with the API. Kloxo's API has alot of types so I used the aux type.
- Go to Kloxo --> Auxiliary Accounts --> Add Auxiliary Account
- On my server, I made my API's aux username as "api" (without the quotes), therefore making my API username "api.aux" (without the quotes). Your password is completely your choice.
- -> Go to TheHostingTool Admin, and add the server. Put in the username field the one you created on the step above, with the matching password.
- And you're done.
- ----------------------------------------
- 2. Adding Packages
- ----------------------------------------
- -> When adding packages, make sure to put in the INTERNAL name of the package on the backend field.
- ----------------------------------------
- 3. Known Bugs
- ----------------------------------------
- -> As of 1.2, the Terminate function does not function properly. It will be fixed in later versions.
- ----------------------------------------
- 4. Support
- ----------------------------------------
- -> If you need support, please post your concern on the "Kloxo for TheHostingTool" thread on the TheHostingTool forums. Should I decide to make more plugins I would make a dedicated section on it on my forums, in which case the URL for that will be put in the README file of future creations. As of now, please use the first way of support mentioned.
- ----------------------------------------
- 5. Credits
- ----------------------------------------
- -> Jonny, Nick, Kevin, KuJoe and the rest of the TheHostingTool team for making this wonderful software
- -> Danny and the rest of the LxCenter team for making Kloxo a free and open source panel
- -> K.T. Ligesh, the original creator of Kloxo/LxAdmin
- -> And of course, to myself, for creating this plugin.
- Have a blessed web host.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement