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


    Project is closed!
    Simple webstat writen on php5, now only for mcMMO whith MySQL and PHP 5.2.1+
    Version: 0.5
    Show Spoiler

    Download: Last version
    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

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

    Show Spoiler

    • 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

    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

    • 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
    FaeDine likes this.
  2. Offline

    tha d0ctor

    where do I configure the database port?

    also has anyone gotten this to work on godaddy hosting pointing at an external database?
  3. Offline


  4. Offline


    So we are trying to install this and are wondering, how do we get it to pull the stats we all have currently, when we install it, it is starting all our stats at zero, is there a way around this?
  5. Offline


    ok, i add it to config (default 3306)
    its good work whith external db
    try move div block of pages and chek this (
    am... try ask this on simple form, i have some problem whith english )
  6. Offline


    What prince is asking is this:

    We have used mcMMO for 1 month. Everybody has high skill.

    When he try to use MySQL it reset all to 0.

    How we make it not reset to 0?
  7. Offline


  8. Offline


    you set chmod for .json files?
    yes ) think about it
  9. Offline


    This Plugin needs some diagramms and charts.
    Here is my example:
    Is it possible to insert the Skinindex animation?
  10. Offline


    not sure what you mean...
  11. Offline


    yes, i can add some staff like this, i add it to TODO list
    remove paging plugin or move div whith page id - bottom
  12. Offline


    v 0.3:
    • add icons & tooltips
    • some fixes
    • fixed "zebra"
    • fixed width
    • remove page "users" & add it to popup on click name
    Next step: add search and more functional
  13. Offline


  14. Offline


    thanks, but i dont see what i can used :) if you whant help - help me? Example whith styles.
  15. Offline

    Jesper Walsted

    Very nice plugin. For version 0.3 i get an error when I click users: Error: Can't load data/users.json.
    I added permissions to all json file.
    Hmmm :)
  16. Offline


    give a link pls, chmod 777 "data" folder?
  17. Offline

    Jesper Walsted

  18. Offline


  19. Offline

    Jesper Walsted

    I use Windows IIS. So I think it is different for me?
  20. Offline


    send me you .htaccess - it stay on root web directory
  21. Offline

    tha d0ctor

  22. Offline

    Jesper Walsted

    Sorry, there is no such file .htaccess in the root web directory. Or anywhere on my server. IIS 7.5 on Windows 2008 server. I think this is only for apache?
  23. Offline


    maybe... sorry but i working only whith apache and ngnix
    redownload pls or replase "/them/icons" whith "them/icons" (13 replace count)
  24. Offline


  25. Offline


  26. Offline


    Getting the users.json error on IIS 7 as well.

    As for those who haven't a clue where to start, well php is sorta like java as you'll need php to translate it into html essentially. First you'll need a server, then you'll need php installed onto that server. Frankly the proccess is a bit annoying as hell since well frankly you'll need a starting point and for IIS you'll need to play with the web platform installer alot. In short, you need IIS or apache, PHP 5.3.6, and a CGI for it, you can essentially set the entire thing up from the IIS manager. More or less follow the guides on setting everything up, plug in the mysql information, and it's more or less good to go once you've plopped the entirety of the php/script files into your html server.
  27. Offline


    now rewrite all front-end code for better functional and perfomance, maybe changing some library
  28. Offline


    Nice work, got this running

    Would you mind me adjusting your code to get this to work for different plugins?

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


  30. Offline


    example, what plugins?


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


    iConomy and LWC.

Share This Page