Welcome Guest. Please Login or Register  


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



Threaded Mode | Print  

 Full Adminpanel in WHMCS (5 Replies, Read 2280 times)
wolke
Group: NOC
Post Group: Working Member
Posts: 134
Status:
Hi,

when creating vm with "managed by admin", the whmcs module for enduser is restricted to a few functions. Unfortunately, admins can´t manage the vm too using the adminarea of WHMCS. That does not make any sense.

So it would be a good idea to not restrict the admin part of the whmcs module.

IP: --   

Full Adminpanel in WHMCS
Joshua2504
Group: Member
Post Group: Newbie
Posts: 39
Status:

Some private text here? Uhh, cool!
I was wondered about this too, it seems to use the enduser view (/ui/index.html)

-----------------------
Joshua

TREUDLER - High-Performance KVM NVMe Virtual Servers in 10 locations world-wide
IP: --   

Full Adminpanel in WHMCS
wolke
Group: NOC
Post Group: Working Member
Posts: 134
Status:
yes, that´s true. and with further restrictions. Admins can´t cook recipes for example. (Not even from the controlpanel itself)
IP: --   

Full Adminpanel in WHMCS
Joshua2504
Group: Member
Post Group: Newbie
Posts: 39
Status:

Some private text here? Uhh, cool!
Just use the Virtualizor Admin Interface with ACL :)

That's what we do at the moment.

-----------------------
Joshua

TREUDLER - High-Performance KVM NVMe Virtual Servers in 10 locations world-wide
IP: --   

Full Adminpanel in WHMCS
wolke
Group: NOC
Post Group: Working Member
Posts: 134
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: --   

Full Adminpanel in WHMCS
Joshua2504
Group: Member
Post Group: Newbie
Posts: 39
Status:

Some private text here? Uhh, cool!
Hi,

works perfectly. Sadly we customized the UI a lot, so I guess I gotta re-upload the UI to the ui2 folder.

Thanks for that, you're pro!

-----------------------
Joshua

TREUDLER - High-Performance KVM NVMe Virtual Servers in 10 locations world-wide
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is November 15, 2018, 6:01 pm.

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