Go to file
Wruczek 02aadf1fdb Updated FontAwesome from 4.6.3 to 4.7.0 2016-10-25 19:26:49 +02:00
api Small changes, fixed rare timezone issue 2016-10-12 21:57:49 +02:00
config Small changes, fixed rare timezone issue 2016-10-12 21:57:49 +02:00
css Small CSS update - improved page responsiveness 2016-10-25 19:17:05 +02:00
errorpages Experimental nginx support 2016-09-28 01:20:56 +02:00
img v 1.2.4 2016-07-24 00:32:46 +02:00
include Updated FontAwesome from 4.6.3 to 4.7.0 2016-10-25 19:26:49 +02:00
js Added fa-fw to normalize space taken by icons 2016-10-20 21:02:31 +02:00
lib Fixed error 2051 2016-07-30 16:32:26 +02:00
.gitattributes :neckbeard: Added .gitattributes 2016-06-28 23:08:52 +02:00
.gitignore Small changes, fixed rare timezone issue 2016-10-12 21:57:49 +02:00
.htaccess English error messages in htaccess 2016-07-28 18:55:28 +02:00
LICENSE.md Initial commit 2016-06-28 23:18:59 +02:00
README.md Added telegram.me url 2016-10-16 14:55:01 +02:00
bans.php Small changes, fixed rare timezone issue 2016-10-12 21:57:49 +02:00
rules.php v 1.3.0 - i18n 2016-07-25 16:14:04 +02:00
viewer.php Small changes, fixed rare timezone issue 2016-10-12 21:57:49 +02:00

README.md

ts-website

Website screenshot

ts-website - free website for your TeamSpeak 3 server

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. If you are interested or just want to chat about random geek stuff just message me :D

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
  • PHP 7.0, Apache 2 and nginx support
  • Modern and responsive design
  • Caching [WIP]
  • Free, Open source, under MIT license

Requirements

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:

  • Up-to-date Apache server
  • Enabled mod_rewrite (sudo a2enmod rewrite && service apache2 reload)
  • Enabled support of htaccess
  • enablehta in config.php set to true

If you experience any problems, make sure that directory /var/www is writeable.