|
WHMPHP Plugin
|
|
06-16-2010, 01:38 PM
(This post was last modified: 06-16-2010 02:36 PM by jerry.)
Post: #1
|
|||
|
|||
|
WHMPHP Plugin
Do you have a master reseller? But, THT only supports the root way of making resellers.
If you have WHMPHP, your in luck!! First, open THTROOT/includes/servers/whm.php After the comments, add PHP Code: require_once('THTPATHFULL/includes/whmphp.php'); We put it one directory below because it will be included twice when you make a server. Find: PHP Code: private $server; Add After: PHP Code: private $pass = "CPANEL PASS";Find: PHP Code: public function signup($server, $reseller, $user = '', $email = '', $pass = '') { Replace Function With: PHP Code: public function signup($server, $reseller, $user = '', $email = '', $pass = '') {Find: PHP Code: public function suspend($user, $server, $reason = false) { Replace Function With: PHP Code: public function suspend($user, $server, $reason = false) {Find: PHP Code: public function unsuspend($user, $server) { Replace Function With: PHP Code: public function unsuspend($user, $server) {Find: PHP Code: public function terminate($user, $server) { Replace Function With: PHP Code: public function terminate($user, $server) {Download Attachment Place in: THTROOT/includes/ Your resellers must user the server ID 1. If you have to, switch the server id. You will need 2 servers of the same details. One with ID 1 for WHMPHP, one with another ID for whm. Feel free to IM me for support: ismywb@gmail.com laces12@live.com jerryinchost (Yahoo) ismywb (Skype) edit: forgot to attach whmphp.php |
|||
|
12-31-2010, 03:26 AM
Post: #2
|
|||
|
|||
|
RE: WHMPHP Plugin
what version is this for tryed on version 1.2.3 but it doesnt work and now it wont let me add,view,delete servers unless i restore the files
but i need it to work with WHMPHP could you please help
|
|||
|
12-22-2011, 06:28 PM
Post: #3
|
|||
|
|||
|
RE: WHMPHP Plugin
I get a blank page with this plugin when adding a server...
|
|||
|
01-03-2012, 07:27 PM
Post: #4
|
|||
|
|||
|
RE: WHMPHP Plugin
Sorry guys, I forgot to mention this:
PHP Code: require_once('THTPATHFULL/includes/whmphp.php'); |
|||
|
01-03-2012, 09:26 PM
Post: #5
|
|||
|
|||
|
RE: WHMPHP Plugin
Interesting. I'll have to look into this. Maybe we can add this to TheHostingTool at some point?
Kevin Mark - TheHostingTool Lead Developer |
|||
|
01-23-2012, 11:43 AM
Post: #6
|
|||
|
|||
|
RE: WHMPHP Plugin
That would be nice.
If you do, would you mind adding credit to me in it? like, whmphp module created by Jerry Johnson?
|
|||
|
01-30-2012, 08:50 PM
(This post was last modified: 01-30-2012 08:52 PM by jerry.)
Post: #7
|
|||
|
|||
|
RE: WHMPHP Plugin
Hi, I have found a bug in whmphp.php and I have a fix.
By the way, if I haven't said this, I am saying it now, this is not to be used by the root account to create master resellers, if it for masters resellers to create resellers. |
|||
|
03-09-2012, 11:56 AM
Post: #8
|
|||
|
|||
|
RE: WHMPHP Plugin
Can anyone confirm that these updates work?
|
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)




but i need it to work with WHMPHP could you please help
![[Image: standard.png]](http://twitstamp.com/kmark937/standard.png)
![[Image: standard.png]](http://twitstamp.com/thehostingtool/standard.png)

If you do, would you mind adding credit to me in it? like, whmphp module created by Jerry Johnson?