English   German
  #1  
Old 26-12-2009, 03:03
Prookie Prookie is offline
-= TeamSpeak Lover =-
 
Join Date: Dec 2009
Location: Germany
Posts: 39
Prookie is on a distinguished road
[IN DEV] Webinterface

Hey,
I am currently programming a lightweight and easy to use webinterface for TS3 which I want to share with you guys.

It is built upon 3 layers:
TS3lib -> base, handles the network traffic with the TeamSpeak 3 server
TS3remote -> extends the library, adding wrappers for ServerQuery commands
TS3webinterface -> the I/O including Ajax

Of course you can just take the lib (+extension) an write your own code on top to create other apps.

At the moment there are just a few functions implemented, but I think it will grow quickly, because the "layer structure" allows me to implement new things easily.

An english language pack is available, even like a german too.

Please give me feedback! I want to do my best

Screens (new!):
http://prookie.xenonserver.de/ts3wi/screen1.jpg
http://prookie.xenonserver.de/ts3wi/screen2.jpg

Download:
http://prookie.xenonserver.de/ts3wi/get.php lets you always download the latest version
(if I release a new version, the webinterface should create a notice for you at the top of the page)

have fun!

Changelog:

v0.3.6 30 Dec 2009

- fixed name bug in the server view
- added javascript message translation


v0.3.5 29 Dec 2009

- UTF-8 charset
- more settings in channels backups
- improved server view (layout & added functions)
- full ban list support


v0.3.4 28 Dec 2009

- less minimalistic design
- basic live server view
- several small bugfixes


v0.3.3 27 Dec 2009

- improved token management
- added channel backup function
- no new configuration needed after updates


v0.3.2 26 Dec 2009

- fixed javascript in IE 8
- added token support
- a little internal code cleanup


v0.3.1 26 Dec 2009

- added english language support
- fixed language support for the update notification
- fixed vServer listing if there is only one server


v0.3.0 26 Dec 2009

- initial release




prookie

Last edited by Prookie; 30-12-2009 at 03:04. Reason: changelog
Reply With Quote
  #2  
Old 26-12-2009, 05:30
jicao jicao is offline
-= TeamSpeak User =-
 
Join Date: Dec 2009
Location: BE
Posts: 28
jicao is on a distinguished road
Need a English translation
Reply With Quote
  #3  
Old 26-12-2009, 05:40
wizzywig wizzywig is offline
-= TeamSpeak User =-
 
Join Date: Dec 2008
Location: england
Posts: 25
wizzywig is on a distinguished road
missing translations for update message
Code:
Achtung: Eine neue Version (v0.3.0) dieser Software ist unter http://prookie.xenonserver.de/ts3wi/get.php?ver=0.3.0 verfügbar.
edit ts3webinterface.class.php

and change 'de' to 'en'

create a new file and name it 'lang_en.inc.php' and add the following in it and upload to the lang folder
Code:
<?php
$lang = array (); // DO NOT REMOVE

/*-EDIT UNDER THIS LINE-*/

// General
$lang[ 'error'] = "error";
$lang[ 'title'] = "TeamSpeak 3 Web Interface";
$lang[ 'login'] = 'Login';

// Head
$lang[ 'head_logout'] = "Logout";
$lang[ 'head_vserver_switch'] = "Change vServer";

// Errors
$lang[ 'e_fill_out'] = "Please fill out all required fields.";
$lang[ 'e_server_responded'] = "The server responded: ";
$lang[ 'e_conn_serverquery'] = "Could not create Serverquery access.";
$lang[ 'e_conn_vserver'] = "Could virtual server.";
$lang[ 'e_session_timedout'] = "Session expired.";

// Notices
$lang[ 'n_server_responded'] = "The server responded: ";

// Login
$lang[ 'login_serverquery'] = "Serverquery Login";
$lang[ 'login_name'] = "username";
$lang[ 'login_password'] = "password";
$lang[ 'login_submit'] = "Login";

// Select vServer page
$lang[ 'vsselect_headline'] = "vServer selection";
$lang[ 'vsselect_id'] = "ID #";
$lang[ 'vsselect_name'] = "Name";
$lang[ 'vsselect_ip'] = "IP";
$lang[ 'vsselect_port'] = "port";
$lang[ 'vsselect_state'] = "Status";
$lang[ 'vsselect_clients'] = "Clients";
$lang[ 'vsselect_uptime'] = "Uptime";
$lang[ 'vsselect_choose'] = "Select";
$lang[ 'vsselect_start'] = "start";
$lang[ 'vsselect_stop'] = "stop";
$lang[ 'vsselect_delete'] = "DELETE";

$lang[ 'vsselect_new_headline'] = "Create a new virtual server";
$lang[ 'vsselect_new_servername'] = "Server Name";
$lang[ 'vsselect_new_slots'] = "client slots";
$lang[ 'vsselect_new_create'] = "Create";

// VDS overview
$lang[ 'vsoverview_virtualserver'] = "Virtual Server";
$lang[ 'vsoverview_information_head'] = "information";
$lang[ 'vsoverview_connection_head'] = "Connection";
$lang[ 'vsoverview_info_servername'] = "Server Name";
$lang[ 'vsoverview_info_host'] = "Host";
$lang[ 'vsoverview_info_state'] = "Status";
$lang[ 'vsoverview_info_state_port'] = "port";
$lang[ 'vsoverview_info_uptime'] = "Uptime";
$lang[ 'vsoverview_info_welcomemsg'] = "welcome message <br />";
$lang[ 'vsoverview_info_hostmsg'] = "Host message";
$lang[ 'vsoverview_info_hostmsg_mode_output'] = "output";
$lang[ 'vsoverview_info_hostmsg_mode_0'] = "none";
$lang[ 'vsoverview_info_hostmsg_mode_1'] = "in the chat log";
$lang[ 'vsoverview_info_hostmsg_mode_2'] = "window";
$lang[ 'vsoverview_info_hostmsg_mode_3'] = "Window + Disconnect";
$lang[ 'vsoverview_info_req_securitylvl'] = "Required <br /> security level";
$lang[ 'vsoverview_info_hostbanner_head'] = "Hostbanner";
$lang[ 'vsoverview_info_hostbanner_url'] = "URL";
$lang[ 'vsoverview_info_hostbanner_imgurl'] = "image address";
$lang[ 'vsoverview_info_hostbanner_buttonurl'] = "Hostbutton URL";
$lang[ 'vsoverview_info_antiflood_head'] = "Anti-Flood";
$lang[ 'vsoverview_info_antiflood_warning'] = "warning";
$lang[ 'vsoverview_info_antiflood_kick'] = "kick on";
$lang[ 'vsoverview_info_antiflood_ban'] = "Ban on ";
$lang[ 'vsoverview_info_antiflood_banduration'] = "Ban length";
$lang[ 'vsoverview_info_antiflood_decrease'] = "decrease";
$lang[ 'vsoverview_info_antiflood_points'] = "points";
$lang[ 'vsoverview_info_antiflood_in_seconds'] = "seconds";
$lang[ 'vsoverview_info_antiflood_points_per_tick'] = "Points per tick";
$lang[ 'vsoverview_conn_total_head'] = "Total";
$lang[ 'vsoverview_conn_total_packets'] = "packages";
$lang[ 'vsoverview_conn_total_bytes'] = "bytes";
$lang[ 'vsoverview_conn_total_send'] = "sent";
$lang[ 'vsoverview_conn_total_received'] = "welcome";
$lang[ 'vsoverview_conn_bandwidth_head'] = "bandwidth";
$lang[ 'vsoverview_conn_bandwidth_last'] = "last";
$lang[ 'vsoverview_conn_bandwidth_second'] = "second";
$lang[ 'vsoverview_conn_bandwidth_minute'] = "minute";
$lang[ 'vsoverview_conn_bandwidth_send'] = "sent";
$lang[ 'vsoverview_conn_bandwidth_received'] = "welcome";

// Counter
$lang[ 'time_day'] = "day";
$lang[ 'time_days'] = "Days";
$lang[ 'TIME_HOUR'] = "Hour";
$lang[ 'TIME_HOUR'] = "hours";
$lang[ 'time_minute'] = "minute";
$lang[ 'time_minutes'] = "Minutes";
$lang[ 'time_second'] = "second";
$lang[ 'time_seconds'] = "seconds";
// Error numbers
$lang[ 'e_2568'] = "You do not have sufficient rights.";
/* - DO NOT EDIT UNDER THIS LINE - */
return $lang; // DO NOT REMOVE
?>
Reply With Quote
  #4  
Old 26-12-2009, 09:27
jicao jicao is offline
-= TeamSpeak User =-
 
Join Date: Dec 2009
Location: BE
Posts: 28
jicao is on a distinguished road
TY wizzywig

BTW is it normal that all link in the select page are give me error on page ?
Reply With Quote
  #5  
Old 26-12-2009, 09:28
Terrier Terrier is offline
-= TeamSpeak User =-
 
Join Date: Dec 2009
Location: Germany
Posts: 10
Terrier is on a distinguished road
Send a message via ICQ to Terrier
Do you think it´s normal?
Reply With Quote
  #6  
Old 26-12-2009, 09:31
hobbitnoob hobbitnoob is offline
-= TeamSpeak Lover =-
 
Join Date: Dec 2009
Location: Germany
Posts: 36
hobbitnoob is on a distinguished road
This Webi don't work by me
Reply With Quote
  #7  
Old 26-12-2009, 09:33
Terrier Terrier is offline
-= TeamSpeak User =-
 
Join Date: Dec 2009
Location: Germany
Posts: 10
Terrier is on a distinguished road
Send a message via ICQ to Terrier
still because of the permissions...
Reply With Quote
  #8  
Old 26-12-2009, 09:47
hobbitnoob hobbitnoob is offline
-= TeamSpeak Lover =-
 
Join Date: Dec 2009
Location: Germany
Posts: 36
hobbitnoob is on a distinguished road
Quote:
Originally Posted by Terrier View Post
still because of the permissions...
No all Files 755!!!

don't work
Reply With Quote
  #9  
Old 26-12-2009, 09:50
Terrier Terrier is offline
-= TeamSpeak User =-
 
Join Date: Dec 2009
Location: Germany
Posts: 10
Terrier is on a distinguished road
Send a message via ICQ to Terrier
Set all to 777 and you'll see it works, but let them not only at 777
Reply With Quote
  #10  
Old 26-12-2009, 09:53
hobbitnoob hobbitnoob is offline
-= TeamSpeak Lover =-
 
Join Date: Dec 2009
Location: Germany
Posts: 36
hobbitnoob is on a distinguished road
Quote:
Originally Posted by Terrier View Post
still because of the permissions...
Quote:
Originally Posted by Terrier View Post
Set all to 777 and you'll see it works, but let them not only at 777

woot all 777 have you a little bit plan from unix
Reply With Quote
  #11  
Old 26-12-2009, 09:57
Terrier Terrier is offline
-= TeamSpeak User =-
 
Join Date: Dec 2009
Location: Germany
Posts: 10
Terrier is on a distinguished road
Send a message via ICQ to Terrier
it looks like more than you...
Reply With Quote
  #12  
Old 26-12-2009, 10:01
Terrier Terrier is offline
-= TeamSpeak User =-
 
Join Date: Dec 2009
Location: Germany
Posts: 10
Terrier is on a distinguished road
Send a message via ICQ to Terrier
maybe the author even tells you how you need to set the permissions...

sry for my bad english
Reply With Quote
  #13  
Old 26-12-2009, 10:02
hobbitnoob hobbitnoob is offline
-= TeamSpeak Lover =-
 
Join Date: Dec 2009
Location: Germany
Posts: 36
hobbitnoob is on a distinguished road
yes i'll do it
Reply With Quote
  #14  
Old 26-12-2009, 11:38
Prookie Prookie is offline
-= TeamSpeak Lover =-
 
Join Date: Dec 2009
Location: Germany
Posts: 39
Prookie is on a distinguished road
Ich wüsste nicht, was an dem WI unsicher aussieht

Rechte:
Normalerweise müsste 755 beim template_c ordner reichen, auf meinem Server zumindest :P

new version released!
v0.3.1 26 Dec 2009

- added english language support
- added language support for the update notification
- fixed vServer listing if there is only one server


I also changed the error reporting level.
If you encounter some please let me know.
Reply With Quote
  #15  
Old 26-12-2009, 11:52
wizzywig wizzywig is offline
-= TeamSpeak User =-
 
Join Date: Dec 2008
Location: england
Posts: 25
wizzywig is on a distinguished road
Quote:
Originally Posted by Prookie View Post
Ich wüsste nicht, was an dem WI unsicher aussieht

Rechte:
Normalerweise müsste 755 beim template_c ordner reichen, auf meinem Server zumindest :P

new version released!
v0.3.1 26 Dec 2009

- added english language support
- added language support for the update notification
- fixed vServer listing if there is only one server


I also changed the error reporting level.
If you encounter some please let me know.
Still an issue when using IE8 with none of the ajax working correctly
Reply With Quote
Reply

Tags
library, ts3, webinterface


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[IN DEVELOPMENT] TS3 - WebInterface Waterball Addons & Scripts 40 19-02-2010 06:11
2 Fragen zum Webinterface BlayZin [TeamSpeak 2] Server Support 5 24-02-2007 03:26


All times are GMT +1. The time now is 18:00.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Add to Bookmarks   |   Printview   |   Contact Us   |   Legal Notices



You Rated this Thread: