Hello! I want to publish my script to display the latest statistics from the hlstatsx players.
Features- Not using jQuery and other large libraries
- Runs entirely on Ajax
- Very easy to set up
- Can be used absolutely anywhere (using frames)
Requirements- PHP 5.4 or higher
- Installed hlstatsx
Installation- Copy all files to any dir in your web-server.
- Configure include/config.php file (and include/database.class.php for database)
- Add following code to display (e.g. to xenforo right block):
Code:
<iframe src="PATH_TO_SCRIPT/?game=GAME_TYPE" width="245" height="290" frameborder="0" scrolling="no">
</iframe>
Screenshots:
Github:
https://github.com/Bathead/top-hlstatsx-players
I will be glad to any improvements, suggestions and comments!