Page 1 of 3
[PLUGIN] VestaCP Tools Plugin
Posted: Fri Oct 07, 2016 11:56 pm
by SS88
This tool currently lets you view all the users, mail domains, cron jobs, databases, and more in one global view without having to login to each individual user.
Just run the following script:
Code: Select all
wget https://raw.githubusercontent.com/SS88UK/VestaCP-Tools-Plugin/master/Install_Tools.sh -O ./Install_Tools.sh
chmod 777 ./Install_Tools.sh
sudo ./Install_Tools.sh
Re: [HOWTO] VestaCP Tools Plugin
Posted: Wed Oct 19, 2016 5:06 pm
by Serjies
Hello! Install your plug-in, but for some reason all of the empty values. Server configuration Centos 7.2 Nginx + Apache. In what may be the case do not tell? Sorry for bad english ...
Re: [HOWTO] VestaCP Tools Plugin
Posted: Wed Oct 19, 2016 6:41 pm
by SS88
Are the "unlimited" accounts?
Re: [HOWTO] VestaCP Tools Plugin
Posted: Wed Oct 19, 2016 6:56 pm
by Serjies
Yes, two accounts and both unlimited.
Re: [HOWTO] VestaCP Tools Plugin
Posted: Wed Oct 19, 2016 7:00 pm
by SS88
Sorry, I meant are all the ones that are blank - do they have disk and bandwidth limits set?
Re: [HOWTO] VestaCP Tools Plugin
Posted: Wed Oct 19, 2016 7:56 pm
by Serjies
In the template settings all set to unlimited
Re: [HOWTO] VestaCP Tools Plugin
Posted: Wed Oct 19, 2016 8:04 pm
by SS88
That is why it's not showing up because no hard limits have been set.
Re: [HOWTO] VestaCP Tools Plugin
Posted: Wed Oct 19, 2016 8:20 pm
by Serjies
I got it! Thanks for the help!
Re: [HOWTO] VestaCP Tools Plugin
Posted: Thu Oct 20, 2016 3:39 pm
by duy13
SS88 wrote:
Unfortunately, it’s not possible to find and replace (anyone help me?) so you’ll have to edit the file
/usr/local/vesta/web/templates/admin/panel.html and add the following code:
Code: Select all
<div class="l-menu__item <?php if($TAB == 'TOOLS' ) echo 'l-menu__item--active' ?>"><a href="/list/tools/"><?=__('Tools')?></a></div>
In-between the
Code: Select all
<div class="l-menu clearfix noselect"> </div>
HTML element.
I cannot tell you exactly what line to place this on, but it may be around 20-23.
You can try with sed command, It works:
Code: Select all
cp /usr/local/vesta/web/templates/admin/panel.html /usr/local/vesta/web/templates/admin/panel.html.bak
sed -i '/<div class="l-menu clearfix noselect">/a <div class="l-menu__item <?php if($TAB == "All" ) echo "l-menu__item--active" ?>"><a href="/list/tools/"><?=__("All")?></a></div>' /usr/local/vesta/web/templates/admin/panel.html
Re: [HOWTO] VestaCP Tools Plugin
Posted: Tue Nov 22, 2016 4:36 pm
by linux81
Hello.
It is useful.
Interests a question whether it is possible to adapt for Vesta 12?