We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
[MOD] Simple "Info" (Welcome Page) AddOn for VestaCP Topic is solved
[MOD] Simple "Info" (Welcome Page) AddOn for VestaCP
Hi
this is a simple try to make a Customizable welcome page , so beginner clients can know how to use your hosting services , and you can put your support / email or any thing you think that users must see it .
Generally Users will see this "info" welcome page like this :
INSTALL:
1- Upload Folder : vesta\web\list\info to your server
2- take backup for both files "panel.html" on web\templates\admin\ and web\templates\user\
3- Upload web\templates\admin\panel.html and Upload web\templates\user\panel.html
4- change the File Owner/group for 'info.txt' to : admin:admin (or you can set permission to 666 instead of changing owner).
USE :
you can go to vesta admin , you will see new "Info" tab after backup . you can set the info page from here :
and this is the Info Admin page :
Variables like %domain% , %user% , %ip% etc ... : will take the specific values for every user , for example you can put physical Directory in your admin page as /home/%user%/web/%domain%/public_html and they will see it on thier pages as : /home/username/web/userdomain.com/public_html depending on what is the username and userdomain for every user.
this is what user accounts will see :
please feel free to change and enhance this very simple code , it is just simple example no copyrights
files are here :
https://github.com/orwah/Simple-Info-AddOn-for-VestaCP
regards
Orwah issa
this is a simple try to make a Customizable welcome page , so beginner clients can know how to use your hosting services , and you can put your support / email or any thing you think that users must see it .
Generally Users will see this "info" welcome page like this :
INSTALL:
1- Upload Folder : vesta\web\list\info to your server
2- take backup for both files "panel.html" on web\templates\admin\ and web\templates\user\
3- Upload web\templates\admin\panel.html and Upload web\templates\user\panel.html
4- change the File Owner/group for 'info.txt' to : admin:admin (or you can set permission to 666 instead of changing owner).
USE :
you can go to vesta admin , you will see new "Info" tab after backup . you can set the info page from here :
and this is the Info Admin page :
Variables like %domain% , %user% , %ip% etc ... : will take the specific values for every user , for example you can put physical Directory in your admin page as /home/%user%/web/%domain%/public_html and they will see it on thier pages as : /home/username/web/userdomain.com/public_html depending on what is the username and userdomain for every user.
this is what user accounts will see :
please feel free to change and enhance this very simple code , it is just simple example no copyrights
files are here :
https://github.com/orwah/Simple-Info-AddOn-for-VestaCP
regards
Orwah issa
Re: Simple "Info" (Welcome Page) AddOn for VestaCP
Good contribution :)
Regards!
Regards!
Re: Simple "Info" (Welcome Page) AddOn for VestaCP
/list/info/index.php
to
Code: Select all
$U_IP = [$U_Domain]['IP'];
Code: Select all
$U_IP = $maindomains [$U_Domain]['IP'];