Basic Navigation

Server Portals

Miscellaneous

CSS Training

Our Videos

Help [VOA]

Clan Info

edit SideBar

website stats
Recent Changes
Printable View
Page History
Edit Page

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 Portal

There are Two parts to this process. Game server configuration and Web server (or the HTML) configuration.


Game Server Config

In your server.cfg file (on the physical game server), you will need to add a line:

sv_enableoldqueries 1




Web Server/HTML Config

You 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]-->



Note the lines that say:

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!
Change the serverport to the port that your own server uses. For example, port 27015 is the default port that all CS and CSS servers use. Hint:

Remember to change both lines.

That's all there is to it! Enjoy the portal!


Have a problem getting this to work? Post on our forums for support.

Page last modified on May 05, 2009, at 04:49 PM
Theme by Theron Parlin - wiki