Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Dev Section Modification & Patches
  • Search

[MOD] Simple "Info" (Welcome Page) AddOn for VestaCP Topic is solved

Section with modification and patches for Vesta
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
orwah
Posts: 9
Joined: Sat Feb 06, 2016 9:23 pm

[MOD] Simple "Info" (Welcome Page) AddOn for VestaCP
  • Quote

Post by orwah » 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 :

Image




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 :

Image


and this is the Info Admin page :

Image

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 :

Image


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
Top

huloza
Posts: 32
Joined: Thu Jul 28, 2016 5:15 am

Re: Simple "Info" (Welcome Page) AddOn for VestaCP
  • Quote

Post by huloza » Mon Sep 12, 2016 3:16 am

Good contribution :)

Regards!
Top

Mr.Erbutw
Posts: 1040
Joined: Tue Apr 29, 2014 10:05 pm

Os: CentOS 6x
Web: apache + nginx
Re: Simple "Info" (Welcome Page) AddOn for VestaCP
  • Quote

Post by Mr.Erbutw » Mon Oct 31, 2016 11:20 pm

/list/info/index.php

Code: Select all

$U_IP = [$U_Domain]['IP'];
to

Code: Select all

$U_IP = $maindomains [$U_Domain]['IP'];
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Modification & Patches”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password