Forum Replies Created

Viewing 15 replies - 301 through 315 (of 574 total)
  • Plugin Author LaMonte Forthun

    (@lamontef)

    Sorry to see you go…

    As of right now, I believe this is the best option:
    1). Deactivate LM in the plugins list
    2). Delete LM in the same plugins list, I would check the plugins folder to make sure the ‘leaguemanager’ folder is deleted, if not, delete it.
    3). The database tables are not automatically deleted, so you’ll have to delete those as well. The following four tables are created by LM and would need to be removed:
    wp_leaguemanager_leagues
    wp_leaguemanager_matches
    wp_leaguemanager_stats
    wp_leaguemanager_teams

    That should do it.

    Plugin Author LaMonte Forthun

    (@lamontef)

    Try this shortcode:

    [matches league_id=3 season=2013 mode=all]

    What version of LM are you using?

    Plugin Author LaMonte Forthun

    (@lamontef)

    Hi Javier, I need to look into a solution that will work for you. I have an idea that I need to work with, so I’ll get back to you. Since you asked the question two weeks ago, I’m guessing you’ve already played the matches, but I’ll still have a look.

    Plugin Author LaMonte Forthun

    (@lamontef)

    Do you mean a list of matches for a set period of time or something else?

    Plugin Author LaMonte Forthun

    (@lamontef)

    I just did a quick test with a new template that isn’t in the templates folder, only in the theme/leaguemanager folder and it worked fine. Can you give me an example of the shortcode you’re using, maybe there’s something wrong there.

    Also, what version of LM are you using?

    Plugin Author LaMonte Forthun

    (@lamontef)

    You can build one very easily.

    Copy the file ‘matches.php’ in the ‘templates’ folder and rename the copy ‘matches-nolink.php.

    Replace line 54:

    <td class='match'><?php echo $match->date." ".$match->start_time." ".$match->location ?><br /><a href="<?php echo $match->pageURL ?>"><?php echo $match->title ?></a> <?php echo $match->report ?></td>

    with:

    <td class='match'><?php echo $match->date." ".$match->start_time." ".$match->location ?><br /><<?php echo $match->title ?> <?php echo $match->report ?></td>

    Then use shortcode:

    [matches league_id=1 template=nolink mode=all]

    If you need help with the template let me know.

    Plugin Author LaMonte Forthun

    (@lamontef)

    I’ll have a look at it and see what I can come up with…

    Plugin Author LaMonte Forthun

    (@lamontef)

    Dropping a template into a leaguemanager folder in your theme’s directory should allow you to have custom templates, if it’s not working, I’ll need to fix that. You can edit the templates in the template folder as well, but I’d make a copy of the folder and it’s contents so you can start from scratch should you need to. I’ll look into the theme folder issue though and report back.

    Plugin Author LaMonte Forthun

    (@lamontef)

    The tables that you put on your pages can be edited with the templates. If you want to customize a template you can either just edit one in the ‘templates’ folder, or you can copy one into a new folder you need to create called ‘leaguemanager’ in your theme folder. Either way, you’ve got full flexibility to make the tables look the way you want them to.

    Plugin Author LaMonte Forthun

    (@lamontef)

    I’ve never worked with manually updated results, but in doing a quick test it does seem like a couple of things that should update do not. I’ll have a look and post back results…

    Plugin Author LaMonte Forthun

    (@lamontef)

    I’ve honestly never had any luck with the drag & drop, but didn’t work with it all that much (I didn’t write LM, I’ve only taken over support and future development). It’s something that I’ll work with going forward, but for now I can’t be much help.

    As for the results not saving, that’s a bigger issue, obviously. You mentioned that saving worked until recently, can you tell me what changes you’ve made to your WP installation? Have you added any other plugins? LM hasn’t been updated since November and that was a very minor change (3.8.8.2, the original developer modified the readme file), so there hasn’t been anything with LM that has changed. If there’s a plugin that LM isn’t compatible with, I can try to work that out…

    Plugin Author LaMonte Forthun

    (@lamontef)

    Change your shortcode from

    [standings league_id = 1 = true logo template = "last5"]

    to

    [standings league_id=1 template=last5 logo=true]

    and see if it works better.

    Forum: Plugins
    In reply to: [LeagueManager] no search ?
    Plugin Author LaMonte Forthun

    (@lamontef)

    The basic WordPress search isn’t going to look into LM’s data structure, so you won’t find anything with it. I’ve had a quick look around to see what might work and there are a few plugins that specifically add functionality to search and might help, but I’m not sure. I’ll put it on the list of things to look into…

    Plugin Author LaMonte Forthun

    (@lamontef)

    This will be fixed in a new release that I’ll put out shortly, but if you want to fix it on your own, change this (starting on line 99 of match.php in the admin folder):

    //$match_day = 1;
    $matches[0]->year = ( isset($_GET['season']) && is_numeric($_GET['season']) ) ? (int)$_GET['season'] : date("Y");

    to

    //$match_day = 1;
    $matches[] = new stdClass();
    $matches[0]->year = ( isset($_GET['season']) && is_numeric($_GET['season']) ) ? (int)$_GET['season'] : date("Y");

    So you are adding:
    $matches[] = new stdClass();

    to line 99.

    Then replace this (starting on line 104 – after the above change – of match.php in the admin folder):

    for ( $h = 0; $h < $max_matches; $h++ ) {
    	$matches[$h]->hour = $league->default_match_start_time['hour'];
    	$matches[$h]->minutes = $league->default_match_start_time['minutes'];
    }

    with this:

    for ( $h = 0; $h < $max_matches; $h++ ) {
    	$matches[] = new stdClass();
    	$matches[$h]->hour = $league->default_match_start_time['hour'];
    	$matches[$h]->minutes = $league->default_match_start_time['minutes'];
    }

    which adds the same text to line 105

    Plugin Author LaMonte Forthun

    (@lamontef)

    cosgrave,

    LM wasn’t set up to allow that, but I had written some code a while ago to add it. I’m just getting back in the swing of things with LM, so I’ll have a look and get back to you. I believe it’s in some code I never had fully tested and committed to the plugin. I’ll have a look and get back to you.

Viewing 15 replies - 301 through 315 (of 574 total)