[MOD] Simple "Info" (Welcome Page) AddOn for VestaCP
Posted: Sun Sep 11, 2016 3:14 am
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