Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > Suggestions > Topic : Full Adminpanel in WHMCS



Normal Mode | Print  

Full Adminpanel in WHMCS
wolke
Group: Member
Post Group: Elite Member
Posts: 437
Status:
Just for testing (as I don´t want to keep up with regular changes of the module)

Use at own risk...

1. Copy ui subfolder to ui2

2. in virtualizor.php change

 
PHP Code

 $var['theme'] = $modules_url.'/virtualizor/ui/';
   
$var['theme_path'] = dirname(__FILE__).'/ui/'



into

 
PHP Code

 if ($_SESSION['adminid']<>""){
            
$var['theme'] = $modules_url.'/virtualizor/ui2/';
            
$var['theme_path'] = dirname(__FILE__).'/ui2/';
       
        }else{   
             
//enduserui       
            
$var['theme'] = $modules_url.'/virtualizor/ui/';
            
$var['theme_path'] = dirname(__FILE__).'/ui/';
        } 




3. in ui2/js2/virtualizor.js remove all occurance of

PHP Code

 && empty(N['info']['vps']['admin_managed']) 



EXACT this string. It´s part of a longer command and occurs 17 times.


IP: --   


Threads
 wolke   Full Adminpanel in WHMCS (5 Replies, Read 24413 times)
    |--  Joshua2504   I was wondered...   on December 27, 2017, 10:30 pm
    |--  wolke   yes, that´s true....   on December 28, 2017, 8:59 am
    |--  Joshua2504   Just use the...   on December 29, 2017, 9:58 pm
    |--  wolke   Just for testing...   on December 30, 2017, 9:38 am
    |--  Joshua2504   Hi, works perfectly....   on December 30, 2017, 11:48 pm

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is August 2, 2025, 4:46 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.290