After setting up teamspeak for a client the admin login is shown in cpanel as:
Admin Login : http://ipaddress: port
Default Admin Account : Username "admin" with Password "password"
and when clicked on directs to:
http://ipaddress: port/
which is the same as:
http://ipaddress: port/login.html
Now, alls well up until this point but....
on the login.html page it always shows the serverport as 8767 which causes the login to fail if the client isnt aware they need to change this to there actual port
Ideally the serverport field should fetch the number from the URL or DB file (or wherever the port number is located or stored) or even leave it blank with a simple message stating that they need to add there actual port.
Ive found a temporary fix for this and thats to edit the actual login.html page from the below folder:
/home/username/.gameservers/tss2_rc2_0/httpdocs/
and find and replace the 8767 below with the actual port for that user:
Though it would be nice if this could in some way be done automatically.Code:<td> <input type="text" name="serverport" value="8767"> <font color="#E7E7F1"></font> </td>
Also on another note (whilst im on about editing the login.html page)
Is there anyway to have the superadmin link removed automatically from that page? as for the following 2 reasons they dont actually need it.
1.) If they dont have superadmin rights then they shouldnt be seeing the link.
2.) if they do have superadmin rights then the link is in there cpanel gameserver section.
Again, ive found a temporary fix and thats to open the same file as above, scroll to near the bottom and find and remove:
Though again, it would be nice if this could be done automatically.Code:<br><br> <table border="0" width="0%"cellpadding="0" cellspacing="0"> <tr> <td> <a href="slogin.html">SuperAdmin Login</a> </td> </tr> </table>
A lengthy post but id like to think there 2 good suggestions.



LinkBack URL
About LinkBacks
Reply With Quote




