Raised This Month: $18 Target: $400
 4% 

Top HLStatsX Players universal script


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Touch
Member
Join Date: Apr 2010
Location: Ukraine
Old 02-09-2015 , 05:26   Top HLStatsX Players universal script
Reply With Quote #1

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!
Attached Files
File Type: zip top-hlstatsx-players-0.115.zip (16.3 KB, 212 views)

Last edited by Touch; 04-11-2019 at 09:41.
Touch is offline
Send a message via Skype™ to Touch
VsX
AlliedModders Donor
Join Date: Jul 2007
Old 02-09-2015 , 20:29   Re: Top HLStatsX Players universal script
Reply With Quote #2

really nice!
thank You :-)
VsX is offline
Mapeko
New Member
Join Date: Aug 2011
Old 02-15-2015 , 13:21   Re: Top HLStatsX Players universal script
Reply With Quote #3

Hello, your plugin is very usefull. But i have problem what i cant do it.

Parse error: syntax error, unexpected '[' in /data/web/virtuals/25900/virtual/www/domains/playsector.eu/hlx/core.php on line 95

can you help me please?

link: http://www.playsector.eu/hlx/?game=dods

Last edited by Mapeko; 02-15-2015 at 13:40.
Mapeko is offline
Touch
Member
Join Date: Apr 2010
Location: Ukraine
Old 02-15-2015 , 13:29   Re: Top HLStatsX Players universal script
Reply With Quote #4

Quote:
Originally Posted by Mapeko View Post
Hello, your plugin is very usefull. But i have problem what i cant do it.

Parse error: syntax error, unexpected T_DOUBLE_ARROW in /data/web/virtuals/25900/virtual/www/domains/playsector.eu/hlx/core.php on line 95

can you help me please?
Hello! Thank you for using the script. 95% of what you have PHP 5.3.
For the script must be PHP 5.4 and higher.
Show the contents of the function phpinfo();
Touch is offline
Send a message via Skype™ to Touch
Mapeko
New Member
Join Date: Aug 2011
Old 02-15-2015 , 14:18   Re: Top HLStatsX Players universal script
Reply With Quote #5

Thank you for so early answer I had 5.3 PHP, i changed it for 5.4 in webhost menu i have to wait few minutes for the system...

It working very well.

Spasiba ;)

Last edited by Mapeko; 02-15-2015 at 14:24.
Mapeko is offline
Touch
Member
Join Date: Apr 2010
Location: Ukraine
Old 02-15-2015 , 20:16   Re: Top HLStatsX Players universal script
Reply With Quote #6

Quote:
Originally Posted by Mapeko View Post
Thank you for so early answer I had 5.3 PHP, i changed it for 5.4 in webhost menu i have to wait few minutes for the system...

It working very well.

Spasiba ;)
Not at all.

Vsegda rad
Touch is offline
Send a message via Skype™ to Touch
Stylee32
AlliedModders Donor
Join Date: Nov 2014
Old 02-15-2015 , 19:22   Re: Top HLStatsX Players universal script
Reply With Quote #7

I'm been looking for something like this!
Could it be modified to just display steamids?
Stylee32 is offline
Touch
Member
Join Date: Apr 2010
Location: Ukraine
Old 02-15-2015 , 20:15   Re: Top HLStatsX Players universal script
Reply With Quote #8

Quote:
Originally Posted by Stylee32 View Post
I'm been looking for something like this!
Could it be modified to just display steamids?
Yes of course. All source code is available in the first message.
Touch is offline
Send a message via Skype™ to Touch
sirc86
Junior Member
Join Date: May 2013
Old 12-02-2016 , 10:24   Re: Top HLStatsX Players universal script
Reply With Quote #9

Hello,

PHP Fatal error: Call to a member function query() on a non-object in /home/gamegat1/public_html/top/include/model.class.php on line 27

How do I fix this error?

Host info:
PHP Version: 5.6.28
MySQL Version: 10.1.18-MariaDB-cll-lve
Apache Version: 2.4.23
sirc86 is offline
Touch
Member
Join Date: Apr 2010
Location: Ukraine
Old 12-02-2016 , 10:28   Re: Top HLStatsX Players universal script
Reply With Quote #10

Quote:
Originally Posted by sirc86 View Post
MySQL Version: 10.1.18-MariaDB-cll-lve
Hello, maybe problem is in MariaDB. Can you install native MySQL (not MariaDB)?
Touch is offline
Send a message via Skype™ to Touch
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:56.


Powered by vBulletin®
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
Theme made by Freecode