PhpHLSW

From HLSW Wiki

Jump to: navigation, search

Contents

Information

The code for phpHLSW was solely written by Andrew "Detritus" Collins, after demand from the HLSW community for a web based front end to the SQL files HLSW can produce. In the first version of phpHLSW released in early 2003, Richard Lancaster was responsible for the design of the basic templates for phpHLSW which are still included in the latest release.
Three major updates were released fairly quickly after the initial stable release but it is most likely that their will be no more major releases of phpHLSW until phpHLSW v2.0 is released.
Currently phpHLSW has simple templating that make it incredibly easy to build into an already established website and powerful features that allow users to view, search and generate statistics on their Global ID Databases.

Sample of the current features:

  • Easy to use templates
  • Database searching
  • Database editing
  • Statistics
  • User levels (Guest, Member, Admin, ect)
  • Real time server status

Requirements:

phpHLSW is a set of PHP scripts and as such require the same as most other web scripts, a working web server and of course PHP installed and configured. However, phpHLSW will also require the use of MySQL. As of yet, phpHLSW does not support any other databases.

  • A webserver (e.g Apache)
  • MySQL
  • PHP


phpHLSW examples

phpHLSW on a german clanpage
phpHLSW with all themes testable @ "Preferences"


FAQ:

Q:
Can I edit the templates so that it matches the the theme used on the other pages of my website? and if so, what would be the best way to do that?
A: Yes you can
1) Make a new folder in the templates folder - this will be the name of your template
2) create a file called index.html
3) Put your template inside index.html and make use of the special tags mentioned below.
Version # = <!version!>
Stats box = <!stats!>
Menu = <!menu!>
Page content = <!content!>

Changelog:

Version 1.3.1

  • Fixed the parse error in index.php
  • Corrected version numbering
  • Removed the testers email from the config.php

Version 1.3

  • HLSW v1.0.0.25+ Compatible
  • Support for servers with small tags off set
  • header() bug fixed
  • User search stats order by searches
  • The default theme can now be locked
  • Improved Search
    • Now able to choose whether it is an ID or Name in each game
  • GID Changes Log added
  • GID's can be deleted
  • Server Status page added
    • Currently supports: Half-Life (& Mods), Battlefield 1942 (& Mods)
  • Battlefield 1942 theme added
  • GID's can be remotely linked to (See Readme for how)

Version 1.2

  • HLSW v1.0.0.12+ Compatible
  • phpHLSW_Steam added - A Steam theme
  • phpHLSW_CS added - A Counter-Strike theme
  • phpHLSW_Ricochet added - A Ricochet theme
  • Support for multiple languages added
  • English language pack added
  • 1337 |-|4><0r 14|\|gu4g3 p4c|< 4dd3d
  • Improved MySQL Error system
  • Global ID Search reports how many rows returned
  • Global ID Search reports how long the query took - Miguel
  • The template system has been upgraded
  • Coding brought upto PHP standards
  • Removed 'Plain' theme
  • Search results can be colour coded
  • Removed an unneeded MySQL table index from the installer
  • Division by zero errors fixed
  • The "Main" link now points to "main" as it should do
  • User search stats percentages are rounded down to 2 decimal places

Version 1.1

  • stats.php shows the user search stats
  • search.php $_POST[] bugs fixed
  • useradmin.php deletion code error checking improved
  • Unneeded variable removed from useradmin.php
  • Users can't edit or delete there own level
  • useradmin.php E-Mail addresses are mailto:'s
  • useradmin.php table titles aligned better
  • Fixed the "Login" link for private sites
  • Fixed the E-Mail link in main.php
  • Fixed the Preferences page to show templates if the directory phpHLSW is installed in is not "phpHLSW"
  • Small readme.txt text change

Version 1.0

  • User levels, each level gives more abilities to the user.
  • Public/Private modes. Public is equal to a level 1 user account.
  • Powerful search to check the database.
  • Statistics on the WON ID data. (Like HLManager)
  • User administration.
  • Ability to edit WON ID data.
  • Ability to swap between themes/templates.

Download

AMX MODX Plugins:

phpHLSW Database Filler

Written by Mathew Collins, this AMX MODX plugin that will automatically fill up your phpHLSW database in real time, potentionally removing the need for you to ever manually update your database.
As of Wednesday, November 8th, 2006 this plug in is being re developed. Development on this plug in was halted because there were many complaints of it causing server lag. With the new Sqlx module, this can now happen without the lag. A link will be provided to the plugin once it's released.

Personal tools
Developer