Title: CsViewer
Author: Reto Arnold
Published: <strong>Abril 15, 2013</strong>
Last modified: Octubre 22, 2014

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/counter-strike-server-viewer.svg)

# CsViewer

 By [Reto Arnold](https://profiles.wordpress.org/rainbow-six3/)

[Download](https://downloads.wordpress.org/plugin/counter-strike-server-viewer.1.3.zip)

 * [Details](https://bal.wordpress.org/plugins/counter-strike-server-viewer/#description)
 * [Reviews](https://bal.wordpress.org/plugins/counter-strike-server-viewer/#reviews)
 *  [Installation](https://bal.wordpress.org/plugins/counter-strike-server-viewer/#installation)
 * [Development](https://bal.wordpress.org/plugins/counter-strike-server-viewer/#developers)

 [Support](https://wordpress.org/support/plugin/counter-strike-server-viewer/)

## Description

With these Plugin you can display any Source Server(Couter Strike, Garry’s Mod, 
Team Fortress, .. ) on your WordPress-Hompage.

It is easy to activate. You must only Downlaod the Plugin and place the String ‘[
csviewer ip=”mydomain.com” port=”26015″]’
 on your WordPress Page or Article,

You can change the appearance by using the CSS Tag table.server_data.

More Info:
 [http://rainbow-six3.com/?p=472]

Function:
 Auto-connect by clicking on the IP. (steam Protocol must be activated)

Display following Information:

 * Servername
 * Serveradress (ip/hostname and port)
 * Map
 * Mod (CS:S or CS:GO)
 * Password (‘Yes’ or ‘No password’ or the password)
 * Ping
 * Player (Current Playing Player and Max allowed Player)

## Installation

 1. Upload the folder `csViewer` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place `[csviewer ip="mydomain.com" port="26015"]` on any WordPress Page or Article
    and change the ip and the port.

4.(optional) Password

 * Show password and add it to the autoconnect-url, so no password request from 
   steam will displayed.
    [csviewer ip=”mydomain.com” port=”26015″ password=”mypassword”]
 * You can add the password to the autoconnect-url without displaying the password
   on the website.(on the HTML you see the password anyway!)
    [csviewer ip=”mydomain.
   com” port=”26015″ password=”mypassword” hidepassword=”true”]

5.(optional) add this CSS Lines in to the CSS from your Template

    ```
    table.server_data { width:60%; max-width: 280px; float:left; margin: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; }
    table.server_data td { border-right: 1px dotted #ccc; border-bottom: 1px dotted #ccc; padding: 4px 2px 4px 10px; }
    table.server_data td.last { border-right: none; }
    table.server_data td.strong { width: 100px; }
    ```

## FAQ

  Installation Instructions

 1. Upload the folder `csViewer` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place `[csviewer ip="mydomain.com" port="26015"]` on any WordPress Page or Article
    and change the ip and the port.

4.(optional) Password

 * Show password and add it to the autoconnect-url, so no password request from 
   steam will displayed.
    [csviewer ip=”mydomain.com” port=”26015″ password=”mypassword”]
 * You can add the password to the autoconnect-url without displaying the password
   on the website.(on the HTML you see the password anyway!)
    [csviewer ip=”mydomain.
   com” port=”26015″ password=”mypassword” hidepassword=”true”]

5.(optional) add this CSS Lines in to the CSS from your Template

    ```
    table.server_data { width:60%; max-width: 280px; float:left; margin: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; }
    table.server_data td { border-right: 1px dotted #ccc; border-bottom: 1px dotted #ccc; padding: 4px 2px 4px 10px; }
    table.server_data td.last { border-right: none; }
    table.server_data td.strong { width: 100px; }
    ```

  I cannt connect to my Server ?

Your webhoster must allow the access to the socket-connection, because i use the
php function ‘fsockopen’.

  How can i display multiple Serverview ?

To show more then one Serverview you can make a div with topmargin 250px.

Example:

**Public War Server**
 [csviewer ip=”mydomain.com” port=”27055″]

**Deathmatch Server**
 [csviewer ip=”mydomain.com” port=”27045″]

**Deathmatch Server**
 [csviewer ip=”mydomain.com” port=”27045″]

 Can i change the appearance (css) ?

Yes you can change the CSS for the attributes ‘table.server_data’

Example:

    ```
    table.server_data { width:60%; max-width: 280px; float:left; margin: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; }
    table.server_data td { border-right: 1px dotted #ccc; border-bottom: 1px dotted #ccc; padding: 4px 2px 4px 10px; }
    table.server_data td.last { border-right: none; }
    table.server_data td.strong { width: 100px; }
    ```

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“CsViewer” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ Reto Arnold ](https://profiles.wordpress.org/rainbow-six3/)

[Translate “CsViewer” into your language.](https://translate.wordpress.org/projects/wp-plugins/counter-strike-server-viewer)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/counter-strike-server-viewer/),
check out the [SVN repository](https://plugins.svn.wordpress.org/counter-strike-server-viewer/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/counter-strike-server-viewer/)
by [RSS](https://plugins.trac.wordpress.org/log/counter-strike-server-viewer/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * First Version.
 * Created the Plugin

#### 1.1

 * Resolve problem “PHP Fatal error: Cannot redeclare class csServerInfo”

#### 1.2

 * Resolve problem “PHP error: Cannot modify header information – headers already
   sent by”
 * Tested with WordPress 4.0

#### 1.3

 * Show Password
 * Tested with WordPress 4.8

## Meta

 *  Version **1.3**
 *  Last updated **12 anys ago**
 *  Active installations **10+**
 *  WordPress version ** 3.0.1 or higher **
 *  Tested up to **4.8.28**
 *  Language
 * [English (US)](https://wordpress.org/plugins/counter-strike-server-viewer/)
 * Tags
 * [counter strike](https://bal.wordpress.org/plugins/tags/counter-strike/)[cs](https://bal.wordpress.org/plugins/tags/cs/)
   [css](https://bal.wordpress.org/plugins/tags/css/)[server](https://bal.wordpress.org/plugins/tags/server/)
 *  [Advanced View](https://bal.wordpress.org/plugins/counter-strike-server-viewer/advanced/)

## Ratings

 4 out of 5 stars.

 *  [  0 5-star reviews     ](https://wordpress.org/support/plugin/counter-strike-server-viewer/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/counter-strike-server-viewer/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/counter-strike-server-viewer/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/counter-strike-server-viewer/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/counter-strike-server-viewer/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/counter-strike-server-viewer/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/counter-strike-server-viewer/reviews/)

## Contributors

 *   [ Reto Arnold ](https://profiles.wordpress.org/rainbow-six3/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/counter-strike-server-viewer/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KDU4MTC2EEZPU)