This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

CsViewer

Description

With these Plugin cou can display your Counter Strike Source – or Counter Strike Global Offensive Serverinformation yon 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:

Baidu Sitemap Generator

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)

FAQ

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; }

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.2

  • Show Password

Contributors & Developers

This is open source software. The following people have contributed to this plugin.

Contributors

Browse the code