Cara mengubah Setting Create User CPANEL di Boxbilling + WHM

Discussion in 'Masalah Teknik dan Keamanan' started by erul, 28 Sep 2016.

Thread Status:
Not open for further replies.
  1. erul

    erul Beginner 1.0

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Siang Tuan Tuan DWH,

    saya lagi belajar mengunakan boxbilling, dan pas saya coba klik ordern dengan user buatan menghasilkan user CPANEL menjadi u2312412(angka rendom).
    bagaimana ya supaya setiap user order nanti dapet usernya sesuai nama domain yang mereka order,
    misal mereka order tiketkai.com
    dan user cpanelnya otomatis jadi tiketkai.

    thanks atas waktu luangnya tuan tuan
     
  2. mas.satriyo

    mas.satriyo Expert 2.0

    Messages:
    961
    Likes Received:
    141
    Trophy Points:
    43
  3. Jawanet

    Jawanet Poster 2.0

    Messages:
    116
    Likes Received:
    18
    Trophy Points:
    18
    Cara lain, menurut saya lebih mudah


    file di /bb-modules/Servicehosting/Service.php

    line : 114,115,116

    else {
    $username = $c['sld'];
    $username = $this->_generateUsername($username);
    }

    Dan line: 387

    private function _generateUsername($username)
    {
    $username = $username;
    $num1 = rand(10000, 99999);
    $username = $username. $num1;
    $username = substr($username, 0, 8); // max length 8
    return $username;
    }
     
  4. dhyhost

    dhyhost Hosting Guru Web Hosting

    Messages:
    3,932
    Likes Received:
    614
    Trophy Points:
    113
    itu udah di jawab sma om jawanet , udah ada threadnya juga :D
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...