SA-MP Forums Archive
[Tool/Web/Other] TopSA - SA:MP Server' players TOP. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Tools and Files (https://sampforum.blast.hk/forumdisplay.php?fid=82)
+---- Thread: [Tool/Web/Other] TopSA - SA:MP Server' players TOP. (/showthread.php?tid=586528)



TopSA - SA:MP Server' players TOP. - BRICS - 22.08.2015

This script shows TOP of players by categories
Using:
# - jQuery
# - Knockout.js + simpleGrid
# - PHP.
# - MySQL.

Features:
# - Simple and flexible settings.

Default settings:
# - Selection limit: 100.
# - Fields on page: 10.
# - Categories: Money (money), Kills (kills).

Components:
# - index.html: View.
# - top.php: Selecting from DB.

License: MIT.
github: http://github.com/DmitrySheenko/topsa/tree/en.v2




Re: TopSA - SA:MP Server' players TOP. - ZaBraNjeNi - 22.08.2015

Useful.


Re: TopSA - SA:MP Server' players TOP. - CoaPsyFactor - 23.08.2015

its enough for me to see only two files, even tho you are using knockoutjs, grid and jquery ....


Re: TopSA - SA:MP Server' players TOP. - BRICS - 24.08.2015

Quote:
Originally Posted by CoaPsyFactor
View Post
its enough for me to see only two files, even tho you are using knockoutjs, grid and jquery ....
They are loading from url (index.html):

PHP Code:
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="http://knockoutjs.com/downloads/knockout-3.3.0.js"></script>
<script src="http://knockoutjs.com/examples/resources/knockout.simpleGrid.3.0.js"></script> 
If it's important for you to see them in the script folder, I could put it there.


Re: TopSA - SA:MP Server' players TOP. - SecretBoss - 07.09.2015

Not working for me, even if I edited php file to my host, tables, ids etc I get this empty box



Re: TopSA - SA:MP Server' players TOP. - BRICS - 07.09.2015

Quote:
Originally Posted by SecretBoss
View Post
Not working for me, even if I edited php file to my host, tables, ids etc I get this empty box
You should have edit index.html too.
Now, here's new version, where only index.php editing required.

New version:
https://github.com/DmitrySheenko/topsa/tree/en.v2


Re: TopSA - SA:MP Server' players TOP. - SecretBoss - 07.09.2015

Oh thanks, +rep for your work