1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

bf2statistics web frontend *updated 27-11-2006*

Discussion in 'BF2Statistics discussion' started by lumo, Nov 20, 2006.

  1. lumo

    lumo New Member

    i am updating the link/file below
    http://members.chello.at/l.moser/bf2/bf2scloneRC2.rar
    leave me feedback and bugreports
    run
    install.php once to configure the tool
    NOTE: you should remove the install.php or rename it after config (as its no more required)
    the install.php will generate/patch the files for your needs...
    so you do not have to touch ANY php files ;) no nasty text editing :)
    greets
    lumo
    PS: i removed progress for ranks and ribbons due different configurations for lan-parties

    UPDATE:
    new functionality
    you do longer have to point to an yoururl/?pid=129000156 as example
    now you can simply point to yoururl/129000156/
    some minor bugs fixed (misscalced stats in playerstats)
    added the russian ribbon - sorry forgot the image
    fixed the unlocks (also the sf unlocks now ;) )
    fixed favmap code
    fixed maptime code

    what kind of ranking do you want to be added to current ranking
    what can be removed?
     
  2. thomaskunze

    thomaskunze New Member

    Hi!

    I would very much like to test it. Unfortunately, the link does not work for me.

    CU
     
  3. ckained

    ckained New Member

    I get an error on install.

    Fatal error: Call to undefined function: file_put_contents() in /mounted-storage/home16a/sub001/*********/******.co.uk/test/install.php on line 88

    CK
     
  4. lumo

    lumo New Member

    what version of php are you using?
     
  5. [BFI]Willy1973

    [BFI]Willy1973 New Member

    Hello i have the same trouble with this PHP Version 5.1.2

    Warning: file_put_contents(/var/www/bf2scloneRC2/css/two-tiers.css) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/bf2scloneRC2/install.php on line 88

    Warning: file_put_contents(/var/www/bf2scloneRC2/config.inc.php) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/bf2scloneRC2/install.php on line 98
    Thanks for using this installer
    By the way... its done ;)

    Could you help us ?
     
  6. shx03597

    shx03597 New Member

    Hi,
    can´t get it to work either. Calling the install.php results in an error 500. Removing the .htaccess file lets me configure it but it doesn´t create the database and/or tables.

    Iám using Xampp (Apache,PHP 5 and Mysql 5.xxx)

    Cheers!
    shx03597
     
  7. lumo

    lumo New Member

    this is frontend only, no database installer!
    @willy you need to grand read/write access on the directory (and subdirectory)
    /root/
    /root/css/
    @ckained
    you need php 4.3+
     
  8. ckained

    ckained New Member

    im using 442 and still no luck
     
  9. Nietoperek

    Nietoperek New Member

    Hi

    i have also problems with php 4 (4.4.0) - changing to 5.0.2 resolve all problems (with apache 1.3.33 and mysql 4.1.11)

    @lumo: in unlocks table are wrong links for P90 and L96A1 weapon models (and missing picture in popup window for L96A1 weapon model ), and all unlock weapons from BF2 have incorrect url and description in popup window - missing picture are also in SF Ribbons "Russian Spetsnasz service ribbon" - third from the left in popup window
     
  10. lumo

    lumo New Member

    update above - removed the outdated info
     
  11. Nietoperek

    Nietoperek New Member

    there are still missing pic in popup at SF: Weapon L96A1 unlock and rest works fine for now :) - one more - not always there are showing correctly images for last played maps - last map i have songhua stalemate and at webend i have pic for Dalian Plant - it's not first time this happen - it's looks like when there no correct image for map it's puts Dalian Plant as default (but maybe i'm wrong) ps. sorry for my english it's not so good :)

    one more -is that sometimes rank strange won't change in player statistics - in list of lopayers showing one rank and in detailed statistics shows one rank lower that is might to be
     
  12. [BFI]Willy1973

    [BFI]Willy1973 New Member

    Thanks a lot Lumo all is working :))
     
  13. [BFI]Willy1973

    [BFI]Willy1973 New Member

    Hello Lumo,

    I have a trouble i use the bf2sclone in local and with internet, i dont know why in local it work, but with internet it doesn't work because the link goes to /localhost/bf2sclone/
    I think the trouble come from my config.php but i dont understand why when i changed localhost by my ip, or my dns the script doesn't work.
    I know i speak english like my foot :) i hope someone understand me :)
    If you don't understand me go to my test page here : BF2SCLONE BFI
     
  14. Inslaber

    Inslaber New Member

    maybe try to see if the line
    127.0.0.1 localhost
    is in your hosts file.
     
  15. Inslaber

    Inslaber New Member

    Also change all lines that refer to exact urls like
    href="http://localhost/bf2sclone/?go=search" to
    href="bfsclone/?go=search"

    do the same in "src=" lines
    in your index.html (?) file or whatever is your main file.
     
  16. lumo

    lumo New Member

    @inslaber no need to touch any of your files, as thats what the config file is for...
    if you want to access your page via internet (and you have dynamic ip you need adyndns service - like no-ip.com
    when you are in install.php just enter yourdomain

    i tried it and it works fine...

    do not forget the ending '/' on the second...
    if you use a router you need to forward port 80 to your local ip address...
    thats it ;)
    greets
    lumo

    PS: your data would be:
    bfi2.com
    h**p://bfi2.com/bf2sclone/
    NOTE: ** = tt ;)
     
  17. [BFI]Willy1973

    [BFI]Willy1973 New Member

    My god this is the cache, it was generated with old dns :D and i don't look in this path :)
    Thanks for this working webstats clone bf2s :)
     
  18. ckained

    ckained New Member

    This is bloody excellent!

    I've finally got it working.

    Lumo PLEASE add support for POE2 and this would be completely fantastic!

    Also Id love to have the progress bars which you removed.

    I think this front end is very good. Its ashame my stats system is for POE2.

    CK
     
  19. lumo

    lumo New Member

    no problem to add poe2
    but i do not know which values from database are for poe2... so i need infos to do so...
    greets
     
  20. ckained

    ckained New Member

    The Shadow should be able to help as he has made a mod for the idiot script to add poe which is here http://www.bf2statistics.com/e107_files/public/1162034716_1586_FT3104_bf2idiot_poe_patch.rar Maybe these files will help you? If you could add the POE support and the progress bars I'd completely love it!

    CK