Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • jgadbois
    Participant

    @jgadbois

    I’ve been poking through the skeleton component and was able to get everything displaying properly at least. Here’s the changes I’ve had to make so far to get it working with BP 1.2 and WP 2.9.2.

    Change manage-options to manage_options in the below line:

    add_submenu_page( 'bp-general-settings', __( 'example Admin', 'bp-example' ), __( 'example Admin', 'bp-example' ), 'manage_options', 'bp-example-settings', 'bp_example_admin' );

    add_action( 'admin_menu', 'bp_example_check_installed', 12 ); – add a priority (12 in this case)

    Change

    bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'plugin-template' ) );

    to

    bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );


    jgadbois
    Participant

    @jgadbois

    It didn’t work at all for me but I’m new to buddypress so the fixes may be minor if you already know the framework. I didn’t get any mnus on wp-admin and the tab with the skeleton features redirected to the home page.


    jgadbois
    Participant

    @jgadbois

    Ok, I activated the plugin, and didn’t receive any errors. However, I’m not seeing an admin menu and the Example tab is just redirecting to the home page. Any suggestions? I’m also running on straight WP not WPMU. I’m assuming the admin menu stuff should be the same though, so I’m confused as why that part at least doesn’t work.


    jgadbois
    Participant

    @jgadbois

    Ok, I will check out the skeleton component. It seems like it’s pretty well commented, so hopefully I’ll be able to make heads and tails of it :) I guess having to do the extra work of validation/building forms/etc should still be easier long run than integrating another framework.

Viewing 4 replies - 1 through 4 (of 4 total)
Skip to toolbar