Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Okay this is for sure not the best fix.. I’m not good at php. But it seems to work ?? so until there’s an update for phpleague you can try this.
    league_match.php

    if ($_GET['id_fixture'] <= 0) { $get_id_fixture = 1;}else{
    	$get_id_fixture = $_GET['id_fixture'];}

    league_result.php

    if ($_GET['id_fixture'] <= 0) { $id_fixture = 1;}else{
    	$id_fixture = $_GET['id_fixture'];}

    As I said in the other post i’m not a programmer.. but my own little invistigation shows that there something wrong with the get id

    // Get ID fixture
    $get_id_fixture = ( ! empty($_GET['id_fixture']) && $db->is_fixture_exists($_GET['id_fixture']) === TRUE)
        ? (int) $_GET['id_fixture'] : 1;

    If i change the last 1 to 2.. then I can edit and save fixtures for round 2.. Can anybody rewrite this so it works? The same problem occurs when trying to edit the results.. but it can be edited the same way

    Okay the translate files works.. just had to name them right ??

    If others have problem try name them like this (danish):
    phpleague-da_DK.mo and phpleague-da_DK.po – put them in the i18n folder.

    when the name was PHPLeague-da_DK.mo it didn’t work.

    Same problem here. I use wordpress 3.4 – I have downloadet the latest files from github but that didn’t fix it. It seems like the form doesn’t get updated when clicking on 2,3,4 and so on in matches. Some of the id_fixtures gets updated but not the form. I’m not a programmer but it seems like there’s some problems with id’s. I don’t have the skills to fix this myself so I would be very happy if you would have a look at it. I can send you access to my site if you need it ??

    And like others have mentioned, a way to use translate files. I only need to translate some few words in frontend.

    With these 2 fixes it’s a powerfull plugin you made. But i can’t use it before I can add matches hehe ;p

Viewing 4 replies - 1 through 4 (of 4 total)