Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Has no one else encountered this problem before? :

    Hey Chris,

    my mistake. You were right. All I had to do was paste the following into the functions.php (does not matter where):

    add_action( ‘bp_member_header_actions’, ‘bp_add_friend_button’ );
    add_action( ‘bp_member_header_actions’, ‘bp_send_public_message_button’ );
    add_action( ‘bp_member_header_actions’, ‘bp_send_private_message_button’ );

    Thank you again.

    Hey Chris thank you for the prompt response. So I found this code:

    if ( !is_admin() ) {
    // Register buttons for the relevant component templates
    // Friends button
    if ( bp_is_active( ‘friends’ ) )
    add_action( ‘bp_member_header_actions’, ‘bp_add_friend_button’ );

    // Activity button
    if ( bp_is_active( ‘activity’ ) )
    add_action( ‘bp_member_header_actions’, ‘bp_send_public_message_button’ );

    // Messages button
    if ( bp_is_active( ‘messages’ ) )
    add_action( ‘bp_member_header_actions’, ‘bp_send_private_message_button’ );

    // Group buttons
    if ( bp_is_active( ‘groups’ ) ) {
    add_action( ‘bp_group_header_actions’, ‘bp_group_join_button’ );
    add_action( ‘bp_group_header_actions’, ‘bp_group_new_topic_button’ );
    add_action( ‘bp_directory_groups_actions’, ‘bp_group_join_button’ );
    }

    // Blog button
    if ( bp_is_active( ‘blogs’ ) )
    add_action( ‘bp_directory_blogs_actions’, ‘bp_blogs_visit_blog_button’ );
    }
    }

    and added it to the bottom of my themes functions.php. I had to remove the code though because it crashed the website :

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