Skip to:
Content
Pages
Categories
Search
Top
Bottom

Courseware admin links


  • Ash
    Member

    @smartfaceweb

    I have inherited a website from another developer and the courseware link is not in the admin panel under BuddyPress. How can i get this back?

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

  • Fee
    Participant

    @wdfee

    I have this issue, too. No other developer, I installed it completely myself. Is it possible, that courseware either is not compatible with WordPress 3.2 or with multisite or both? I guess it’s the multisite…
    I was hopefully looking at your development site at github – when do you think the next release will be available?


    Ash
    Member

    @smartfaceweb

    bpsp-wordpress.class

    Change to

    // Add our screen to BuddyPress menu
    add_action(
    is_multisite() ? ‘admin_menu’ : ‘admin_menu’,
    array( __CLASS__, ‘menus’)
    );


    Stas Su?cov
    Participant

    @sushkov

    What version of Courseware are you using?

    Looking through the BuddyPress 1.3 codebase, the correct hooking should be done like this:
    `
    add_action(
    bp_core_update_do_network_admin() ? ‘network_admin_menu’ : ‘admin_menu’;
    array( __CLASS__, ‘menus’)
    );
    `
    @smartfaceweb, can you test this and report if it works?
    I don’t have a MS environment available right now.
    Thanks.


    Stas Su?cov
    Participant

    @sushkov

    Btw, the release is coming this month, right after BuddyPress 1.3 is ready.
    I’m testing it tight with latest BuddyPress codebase from trunk.


    Stas Su?cov
    Participant

    @sushkov

    In fact, @boonebgorges says we should use something like:
    `
    add_action( bp_core_admin_hook(), array( __CLASS__, ‘menus’ ) );
    `

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Courseware admin links’ is closed to new replies.
Skip to toolbar