|
|
|
Basic Navigation Server Portals Miscellaneous CSS Training Our Videos Help [VOA] Clan Info |
Over the years we've developed a Server Portal system for our servers. We'd like to share this with anyone else who desires a server portal for their own website. Try it out by clicking here. How to Setup a PortalThere are Two parts to this process. Game server configuration and Web server (or the HTML) configuration.
Game Server ConfigIn your server.cfg file (on the physical game server), you will need to add a line:
sv_enableoldqueries 1
Web Server/HTML ConfigYou need to insert the following code into your website or webpage that you want the Portal to show up on. Place this between the <body> tags on your website for it to work properly.
<!--[if !IE]> Firefox and others will use outer object -->
<object data="http://www.voanet.com/serverspy2.php?serveradr=8.9.8.105&serverport=27015"
width="100%"
height="400px"
border="1"
type="text/html"
standby=" Page is loading... ">
<!--<![endif]-->
<!-- MSIE (Microsoft Internet Explorer) will use inner iframe -->
<iframe src="http://www.voanet.com/serverspy2.php?serveradr=8.9.8.105&serverport=27015"
width="100%"
height="400px"
frameborder="1">
<h3>Your browser does not support including other html pages</h3>
</iframe>
<!--[if !IE]> close outer object -->
</object>
<!--<![endif]-->
src="http://www.voanet.com/serverspy2.php?serveradr=8.9.8.105&serverport=27015" Change the serveradr to your server IP by deleting the example IP, and inserting your own server IP! Remember to change both lines.That's all there is to it! Enjoy the portal!
|