WordPress.org

Ready to get started?Download WordPress

Forums

LeagueManager
[resolved] Match Report is broken/not showing up (7 posts)

  1. dukens
    Member
    Posted 2 years ago #

    Match report tab isn't showing in the new post or new page tab. It is a shame because this plugin would the perfect solution for me.

    http://wordpress.org/extend/plugins/leaguemanager/

  2. vitalyc
    Member
    Posted 2 years ago #

    you need move this lines:

    // Add meta box to post screen
    add_meta_box( 'leaguemanager', __('Match-Report','leaguemanager'), array(&$this, 'addMetaBox'), 'post');

    from function __construct() in admin.php
    to function menu() in same file.

    Enjoy :-)

  3. dukens
    Member
    Posted 2 years ago #

    you need move this lines:
    // Add meta box to post screen
    add_meta_box( 'leaguemanager', __('Match-Report','leaguemanager'), array(&$this, 'addMetaBox'), 'post');
    from function __construct() in admin.php
    to function menu() in same file.

    Enjoy :-)

    Thanks a lot! Excellent, I can now use this for my team. :)

  4. agentsch
    Member
    Posted 2 years ago #

    I tried this, but did first of all not find the phrase under function __construct(). I then copied it out from here and inserted it directly after "function menu(){".

    I'm getting closer, the tab is back again on the edit-window but tells me "Warning: call_user_func() expects parameter 1 to be a valid callback, class 'ProjectManagerAdminPanel' does not have a method 'addMetaBox' in /home/unterkla/www/scw.unterklassig.ch/wordpress/wp-admin/includes/template.php on line 958"

    Can anybody help me?

  5. Guillermo Sabbatella
    Member
    Posted 2 years ago #

    could you fix it? I could, so I can send you the file by email if you are having the problem

  6. agentsch
    Member
    Posted 2 years ago #

    Hi Guillermo

    No, I have not been able to, would be great to get the file from you. Please send it to mail@scweinfelden.ch

    best regards
    Andi

  7. cHXCk
    Member
    Posted 1 year ago #

    I tried the fix from vitalyc but didn´t work, the report link doesn´t show. Here´s my website: http://www.battlefield3chile.com
    Version of Leaguemanaguer 3.8
    Version of Wp: 3.4.2
    Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic