ts-website/README.md

104 lines
3.7 KiB
Markdown
Raw Normal View History

<p align="center">
<b>Need help? <a href="https://telegram.me/tswebsite">Join our telegram group</a></b> for news, announcements, help and general chat about ts-website.
</p>
<br>
2016-06-29 01:28:37 +00:00
[![Website screenshot](http://i.imgur.com/9UZV6NG.png)](http://imgur.com/a/RUSi2)
2016-10-30 15:33:52 +00:00
2016-10-30 15:35:48 +00:00
<p align="center"><a href="http://imgur.com/a/RUSi2">More screenshots</a></p>
<br>
2016-07-26 15:38:07 +00:00
**ts-website** - free website for your TeamSpeak 3 server<br>
2016-06-29 01:28:37 +00:00
2016-07-28 16:42:00 +00:00
#### Useful links
2016-12-01 03:16:54 +00:00
- [Demo](https://ts.wruczek.tech/)
2016-07-28 16:42:00 +00:00
- [Download](https://github.com/Wruczek/ts-website/archive/master.zip)
- [Report Issues](https://github.com/Wruczek/ts-website/issues/new)
- **[ts-website Telegram group](https://telegram.me/tswebsite) - help, announcements, and general chat**
2016-12-11 23:28:56 +00:00
<br>
**I am happy to take any programming-related requests, add additional features or modify the code to suit your needs** for a small donation :) I am experienced at Java, PHP, HTML, CSS, Javascript, SQL, server configurations ect.
2016-07-28 16:42:00 +00:00
For business enquiries only: **wruczekk** at **gmail.com**, for anything else please join Telegram chat.
2016-12-01 01:01:35 +00:00
2016-07-26 16:03:40 +00:00
#### Main Features
- News page, dynamic server status, admin list with status, server viewer, ban list and rules page
- Multiple languages with auto-detection for default language
2016-09-27 23:20:56 +00:00
- PHP 7.0, Apache 2 and nginx support
2016-07-26 16:03:40 +00:00
- Modern and responsive design
- Caching [WIP]
- Free, Open source, under MIT license
#### Christmas update
[Christmas update](http://i.imgur.com/R0lPz6b.png) introduced on the 01 December 2016 adds a new theme, background and snow effect.
Website checks the user's date on the device and enables the effects throughout the whole December.
If you want to enable this feature, make sure you have ``$config["general"]["christmasmode"]`` set to ``true`` in your config file. Set it to ``false`` will disable this theme forever for everyone.
2016-07-28 16:42:00 +00:00
### Requirements
2016-09-27 23:20:56 +00:00
PHP Installation:
- PHP 5.5 or newer (although latest PHP version is highly recommended!)
- Installed and enabled ``mbstring`` extension
Recommended nginx configuration:
- Up-to-date nginx server
- ``enablehta`` in config.php set to ``true``
- nginx config set to the following: (**Remember that you need to adjust this config to suit your server!**)
````
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html;
# Add index.php to the list if you are using PHP
index index.php index.html index.htm;
server_name _;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ $uri.html $uri.php$is_args$query_string;
}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
location ~ \.php$ {
include snippets/fastcgi-php.conf;
# With php7.0-cgi alone:
#fastcgi_pass 127.0.0.1:9000;
# With php7.0-fpm:
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
}
#deny access to .htaccess files, if Apache's document root
#concurs with nginx's one
location ~ /\.ht {
deny all;
}
#error pages - REMEBER TO CHANGE THE PATH!
error_page 403 /path_to_ts-website_please_change_me/errorpages/403.html;
error_page 404 /path_to_ts-website_please_change_me/errorpages/404.html;
error_page 500 502 503 504 /path_to_ts-website_please_change_me/errorpages/500.html;
}
````
Recommended Apache configuration:
2016-07-28 16:42:00 +00:00
- Up-to-date Apache server
2016-12-04 00:34:36 +00:00
- Enabled mod_rewrite (``sudo a2enmod rewrite && sudo service apache2 restart``)
2016-07-28 16:42:00 +00:00
- Enabled support of htaccess
2016-09-27 23:20:56 +00:00
- ``enablehta`` in config.php set to ``true``
**If you experience any problems, make sure that directory ``/var/www`` is writeable.**
2016-06-29 01:28:37 +00:00
<br><br>
<p align="center">
2016-07-26 16:03:40 +00:00
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9PL5J7ULZQYJQ" target="_blank"><img src="https://i.imgur.com/s1u7rju.png?1"></a>
2016-06-29 01:28:37 +00:00
</p>