Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • amccaleb
    Participant

    @amccaleb

    Worked perfectly, thanks again!


    amccaleb
    Participant

    @amccaleb

    Hi @modemlooper, thanks for the quick response.

    I am now getting a 404 Page Not Found when I make that change.
    http://www.posters.io/members/admin/favorites/

    I have these functions in the bp-custom.php inside the plugins folder.

    __(‘Favorites’, ‘buddypress’),
    ‘slug’ => ‘favorites’,
    ‘position’ => 75,
    ‘show_for_displayed_user’ => true,
    ‘screen_function’ => ‘all_conversations_link’,
    ‘item_css_id’ => ‘all-conversations’
    ));
    print_r($wp_filter);
    }
    function all_conversations_link () {
    //add title and content here – last is to call the members plugin.php template
    add_action( ‘bp_template_title’, ‘my_groups_page_function_to_show_screen_title’ );
    add_action( ‘bp_template_content’, ‘my_groups_page_function_to_show_screen_content’ );
    bp_get_template_part( ‘members/single/plugins’ );
    }

    function my_groups_page_function_to_show_screen_title() {
    echo ‘My new Page Title’;
    }
    function my_groups_page_function_to_show_screen_content() {
    echo ‘My Tab content here’;
    mfp_display();

    }
    add_action( ‘bp_setup_nav’, ‘my_bp_nav_adder’ );
    ?>

    Thanks again

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