FAQ:Customizing VHCP
From VHCP Support
Contents |
Main config file
The main config file for VHCP is located in /etc/vhcp/vhcp.conf
Multilanguage
VHCP works with a multilanguage environment. You can select default language by logging in as a Administrator, General information -> Multilanguage.
Changing login panel language can be done in /etc/vhcp/vhcp.conf editing line:
USER_INITIAL_LANG = lang_English changing to finnish: USER_INITIAL_LANG = lang_Finnish
Disabling email logging
Edit /etc/vhcp/vhcp.conf and remove email address from line:
DEFAULT_ADMIN_ADDRES =
Now VHCP system doesn't send mails to your email anymore.
Domain default page
Domain default page template is located in /var/www/vhcp/gui/domain_default_page/index.html.
When creating new users, VHCP system copies that file to domain.tld/htdocs/index.html.
Template files
Template files for each service can be configured to match exactly administrator's own will. More info here.
Webmail language
For older webmail:
Open /var/www/vhcp/gui/tools/webmail/inc/config.languages.php and edit line:
$default_language = 5
- 0 = Bulgarian
- 1 = Czech
- 2 = Chinese Traditional (BIG5)
- 3 = Dutch (Netherlands)
- 4 = Danish
- 5 = English
- 6 = EspaƱol
- 7 = French
- 8 = Deutsch
- 9 = Hungarian
- 10 = Italian
- 11 = Icelandic
- 12 = Norwegian
- 13 = Polish
- 14 = Portuguese
- 15 = Romanian
- 16 = Russian
- 17 = Swedish
- 18 = Thailand
- 19 = Turkish
Newer webmail:
Language can be changed in same file than in older webmail, variable uses 2 characters now, like 'en' or 'de'.
