Inactive [INFO/WEB] WS v0.5 - Web Stat page for mcMMO(whith MySQL only) [1302]

Discussion in 'Inactive/Unsupported Plugins' started by Kiborgik, Apr 30, 2011.

  1. Offline

    Kiborgik

    Project is closed!
    Simple webstat writen on php5, now only for mcMMO whith MySQL and PHP 5.2.1+
    Version: 0.5
    GitHub: https://github.com/Kiborgik/ws
    Demo: http://ratings.crafthero.net
    Screens:
    Show Spoiler
    [​IMG]

    Download: Last version
    Install:
    1. move files to web-folder on your website
    2. edit config.php
    3. chmod 777 "data"
    4. chmod 666 for all .json files on folder "data"
    5. cake? )
    6. p.s. if you have "internal" problem try delete .htaccess
    7. if you disabled mining on your server:
      • open webstats.class.php found "AND ms.`mining` >0" (on line: 64)
        and delete this part, and all be ok
    8. p.p.s if css/js not load:
      • for IIS need change chmod "min" folder
      • go min/config.php
      • found $min_documentRoot = substr(__FILE__, 0, -15);
      • change it like $min_documentRoot = "c:\\xampp\\htdocs\\ws_for_mcmmo_folder";
      • its your path if you used windows, or '/home/accountname/public_html' if linux
    Upgrade:

    1. upload & rewrite all files except config.php
    2. chmod 666 for all .json files on folder "data" if needed
    3. testing and comment
    Changelog:

    Show Spoiler

    v0.5
    • perfomance relise & secure
    • add index_ajax.php for all ajax request
    • add posible gzip compression for css/js (minify_2.1.4_beta)
    • add cache images and others to .htaccess
    • add google charts :D (ideas?)
    • need mining > 0 for adding to table
    • now limit 1000 users whith biggest mining skill
    • fix some html errors
    v0.4

    v 0.3:

    • add icons & tooltips
    • some fixes
    • fixed "zebra"
    • fixed width
    • remove page "users" & add it to popup on click name
    v 0.2: (need chmod 666 for all .json files on folder "data")

    • add powerlevel
    • some bugfix
    • some cleanups
    • compare php version
    • add config (time_cache, prefix)
    v 0.1:

    • initial relise
    • caching 120s
    • json data for API
    • list users and skills


    TODO:
    • better functional
    • chek all variants for work
    • party(?)
    • search functional
    • fix some css errors
    • cache not only json
    • add weeks ratings and all for it
    • tool tips
    • charts and other graf
    • add power level
    P.S. Waite for your comments and sorry for my english )

    working for food, writing sites to order :)
    if you want remove or replace my copyright do this:
    open js / tooltips.js and remove
    $("#first").append(reclam_text);
    $("#second").append(reclam_text);
     
    FaeDine likes this.
  2. Offline

    Zeathy

    Is there any chance that this could be converted into a sig for forums? It would be nice to have a persons stats below their posts.
     
  3. Offline

    Monk3y

    Do i need to wait for an update for webstats to work again? The page looks fine, But Everything stopped updating i checked my sql and the databases were intact here is my live map Here
    And here is the static stats page Here i can't for the life of me figure out just what went wrong?

    If you would like to help with this matter Plz visit our forums and post where appropriate :) thnx
    ModForums
     
  4. Offline

    Kiborgik

    example: http://herocraft.cz/mcmmo-ws/js/jquery.dataTables.min.js
    Forbidden

    You don't have permission to access /mcmmo-ws/js/jquery.dataTables.min.js on this server.
    configure your server )
    maybe later, havent time (
     
  5. Offline

    Evotr1p197

    When i want to Download a .jar File, there is only a .zip File! : /

    Can you Help me Please? : )

    Evotr1p197
     
  6. Offline

    Kiborgik

    its a web-site
     
  7. Any help with the update prob? Seems mine isn't updating either,
     
  8. Offline

    Monk3y

    i found the problem make sure the ports are open mine was 3306 now one last question what do i delete to restart the stats to zero :confused:
     
  9. Hi, thanks for your help. I write right permissions to my files. Look here: http://herocraft.cz/mcmmo-ws/js/jquery.dataTables.min.js. But my web statistics dont´t have the beautiful graphics. My js/css file isn't loaded. I don't understand it. Look here: herocraft.cz/mcmmo-ws/index.php

    Thanks for any help.
     
  10. Offline

    MineCleric

    Work this on linux?
     
  11. Offline

    Sven Olderaan

    ofc it does just get xampp or apache
     
  12. Offline

    Nathan C

    Theme still does not show up.
     
  13. Offline

    Lookatmego

    does this use a lot of server specs?cpu and memory wise?
     
  14. Offline

    d00ba

    No. This is a website that accesses the mcmmo database, and displays the information in a presentable manner. This will not affect your minecraft servers performance at all. Same answer if you are refering to your webserver. (Or if they are one and the same)
     
  15. Offline

    Deleted user

    I get this error:
    Show Spoiler

    MySQL Error!
    ------------------------

    The Error returned was:
    Can't connect to MySQL server on 'mysqlus3.fragnet.net' (110)

    Error Number:
    1


    But all my infos correct... wtf?
     
  16. Offline

    silentdojo

    I think we'll need an update for this to add the "Fishing" skill.
     
  17. Offline

    Deleted user

    Can you help me with my issue..?
     
  18. Offline

    cky2250

  19. Offline

    ShaDooM

    Sadly this doesn't even list half of my users.
    Even I as the first player who ever used mcmmo on the server, therefore id=1, am not the stats... wonder why?
    It seems to be limited to 1000 players, any way to raise the limit ?

    Edit:
    For the ones with the same issue go to

    classes/webstats.class.php
    line 60
    Change LIMIT to whatever number you want
    line 64
    the same goes with this one

    then delete the
    data/users.json
    data/users_skills.json
    files to let it query for all players

    there we go :D
     
  20. Offline

    microarsch

    I get this:
    No data available in table
     
  21. Offline

    Kaosvf

    Hi,
    why fishing skill doesn't appear in the table?
    Regards
     
    Mavericko likes this.
  22. Offline

    jogeta_masude

    Sorry but what do steps 3 and 4 mean
     
  23. Offline

    darkcloud784

    Change the permissions of the folder/folder contents to read/write
     
  24. Offline

    neo6633

    No data available in table​
    I think this should update.​
    before this works well​
     
  25. Offline

    Cyris69

    One big request for others tab or even a mouseover update. List out each persons perks/skills/abilities and the rate/percentage.

    So a lvl 150 miner has 10.99999998% chance of double drop or whatever. The reason being any newcomers that look at the stats and go "wtf" it will give them a readout off all the perks of playing and actually spending time to level up or just a comparison of what others rates are or what to expect at a certain level. If you could even direct me how to pull this myself I can implement it on the side.
     
  26. Offline

    x3ndless

    Code:
    MySQL Error!
    ------------------------
     
    The Error returned was:
    Access denied for user 'ventures_x3ndles'@'bn2.beastnode.net' (using password: YES)
     
    Error Number:
    1 
     
  27. Offline

    matolife10

    hello i need help i want to make webstats example like dynmap problem is whenever i serch for MCmmo webstats thread is closed,expired or download link broken :/
     
  28. Offline

    Frankst4r

    hum.
    I used the old version without any problem.

    Now i use the latest version.
    But the tables on the website wont show anything.

    MySQL connection works.
    Tables are filled,

    also the /mcmmo/data/user.json grows.

    but no output on the website .... (latest version)
    any idea ?

    Edit: the old version i use (v0.3) works (parallel)
    Mysql tables was recreated with the new version.
     
  29. Offline

    nicom1997

    I got an internal Server error and when i delete the .htaccess it's not look great: http://www.gamerscraft.net/mcmmo

    And nobody is in the list xD
    Also: Don't work. Can anybode help me?

    Is there a link to the old version?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 14, 2016
  30. Offline

    firewalled

    Bump at previous post
     
  31. Offline

    Marxeo

    Bump at previous post, too.
     

Share This Page