SimpleClansStats
The project was taken over by me (Luca) and I'm now developing a version for SimpleClans2.
SimpleClansStats2 is a web overview for SimpleClans2, it is written in PHP and JavaScript so it works on nearly every webspace. It displays various information like:
- Kills
- Deaths
- KDR
- Clans
- and much more...
Demo: Live Demo SimpleClansStats
Formula
- Kill Death Ratio = ((CivilKills x 1)+(Neutralkills x 1)+(RivalKills x 2) / Deaths )
The values are editable. By default they are set to the default values of SimpleClans2.
Requirements
- SimpleClans2 Plugin
- Some Webspace
- MySQL Database
- PHP 5.4 or higher
Installation
- Upload all files into a subdirectory on your webspace.
- Edit the config.inc.php with your settings.
- Done ;)
Found a bug or have a feature request?
Create a ticket
Known Bugs & Solutions
- None so far
Future Plans
- Multi-Language support with language files
Credits
SimpleClansStats (Version 1) by Iron79 / Mineplanet.de.
Hi there,
I recommand to change your SimpleClansStats.php into index.php
Most server admins have the SimpleClansStats.php in a map like:
http://www.yourdomain.com/scstats/SimpleClansStats.php
I noticed some errors to:
Hi dark,
the new version see you see here
http://www.all-german-fighter.de/test1/SimpleClansStats.php
but ist note ready jet. I thing 1-2 days a go..
Thought the new version was supposed to come out today with all the English features.
@SmashboxGaming
It is only when the database is on the same server as the script. Your provider blocks for safety reasons that a scipt can be queried externally.
@SmashboxGaming
Mhh kay..I think we should talk in TeamSpeak :83.169.5.137. @ 6 pm ?
@IroN1979
<a href='function.mysql-connect'>function.mysql-connect</a>
Is that something that's in the current SimpleClanStats.php? Because it's not in the connector.php.. here is my connector.php http://pastebin.com/44KKe9rR
Hi SmashCraft ;)
I see a href="" on the connector.php...this is not true. The connector.php ist only insert for the data ( database and dynmap ).
If you want to call the script.. http://www.all-german-fighter.de/test/SimpleClansStats.php
This is the new version from SimpleClansStats but is not yet ready. I work on this...where are my graphics^^
@IroN1979
Can't seem to figure out what I'm doing wrong. Does this have to be hosted on the same machine? Config: http://pastebin.com/44KKe9rR
Crossed out all of the private details, but I made sure there were no typos
Here is what the error_log comes back with:
[13-Mar-2012 04:04:15 UTC] PHP Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /home/xxxxxx/xxxxxx/xxxxx/clans/connector.php on line 7
Again, crossed out the private information.
I thing ..the new version comes on monday or thursday.
@darkcloud784
May I ask when the next version will be released?
@IroN1979
yay =P
I do that in the next Version. ;)
Translations plx? English version would be amazing XD
@colddemon666
I have tested your get_member..php, and on my Webserver and i see no problems.
What can you do? You can download the script new and only edit the connetcor.php and we see the problem. If not then the script goes, we must again look closely at the server or PHP settings .
@IroN1979
http://pastie.org/3532324
@colddemon666
Copy your get_member...php on http://pastie.org/. I look on the problem.
I like this very much and just set it up for my server. The only problems I have are 2 errors when I want to look at a players details.
I get Warning: Invalid argument supplied for foreach() in /home/htdocs/web321/html/SMF/scstats/get_member_details.php on line 57 and Warning: Invalid argument supplied for foreach() in /home/htdocs/web321/html/SMF/scstats/get_member_details.php on line 82
I did not change those lines. The rest is good http://minecrack.de/scstats/SimpleClansStats.php
@TeamAss
I dont now,but you need to have upload it via FTP, and of course create a database for SimpleClans.
@IroN1979
Does enjin support this?
I write a detailed install instructions for tomorrow.. ;)
Update ..see description