Skip to:
Content
Pages
Categories
Search
Top
Bottom

BuddyPress 1.8 Issue


  • GhostPool
    Participant

    @ghostpool

    Hi there,

    The private message, add friend and public message buttons have disappeared from the user profile pages once I upgraded to BuddyPress v1.8 on my custom theme designed to work with BuddyPress.

    I’ve compared the code in my BP functions.php with the default BP theme’s functions.php and cannot see anything that is omitted. I’ve updated all the BP templates file and tried a whole bunch of other things to get these buttons back but I’ve had no luck.

    I’m starting to think this may be a BuddyPress bug, any help is appreciated.

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

  • GhostPool
    Participant

    @ghostpool

    Nobody else has had the same issue? Lets try a different tact. Has there been any changes made to private message, add friend and public message buttons in 1.8?


    shanebp
    Moderator

    @shanebp

    In
    \buddypress.1.8\buddypress\bp-templates\bp-legacy\buddypress\members\single\member-header.php

    Find
    do_action( ‘bp_member_header_actions’ );

    If that action is not in your custom theme, the buttons will not appear.

    As always, the simple way to check is to switch your theme to the wordpress 2012 theme.
    If the buttons appear, the fault is in your custom theme.


    GhostPool
    Participant

    @ghostpool

    I already have the following in my custom BP functions file:

    if(bp_is_active('friends'))
    		add_action('bp_member_header_actions', 'bp_add_friend_button');
    
    	if(bp_is_active('activity') && bp_activity_do_mentions())
    		add_action('bp_member_header_actions', 'bp_send_public_message_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');
    	}

    As I say these buttons displayed in the theme in v1.7.3, they only disappear in v1.8. I think you’re right of course, it looks like a theme issue, I just cannot figure out what changed in v1.8 to stop these buttons working in my theme.


    GhostPool
    Participant

    @ghostpool

    I’ve now discovered the issue, which could be considered a BuddyPress bug. My left sidebar is loaded before the page content and if the sidebar contains BuddyPress widgets the buttons do not appear. If I remove the BuddyPress widgets or move them to the right sidebar which is loaded after the page content the buttons display.


    Joseph G.
    Participant

    @dunhakdis

    I added a ticket here

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘BuddyPress 1.8 Issue’ is closed to new replies.
Skip to toolbar