BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: [Resolved] Mediapress and X Theme. #2270

    Hi Curt,
    Marking it as resolved as per our email communication.

    For others, if you have nav menu issues, The X theme does not contain proper css for BuddyPress Options nav( sub nav ) menu. Putting following line will make the space look better

    
    #item-body #subnav ul li { margin-right: 10px; }
    
  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    You are welcome Hans. I too believe that this should be by default. May be we should open a ticket for enhancement?

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    Hi Hans,
    I am sorry, I should have read the requirement carefully. Here is the updated code

    
    
    function buddydev_update_myaccount_links( $wp_admin_bar ) {
    	
    	if ( ! is_user_logged_in() ) {
    		return ;
    	}
    	
    	$profile_url = bp_loggedin_user_domain();
    	
    	$wp_admin_bar->add_menu( array(
    		'id'        => 'my-account',
    		'href'      => $profile_url
    		
    	) );
    	
    	$wp_admin_bar->add_menu( array(
    		'id'     => 'user-info',
    		'href'   => user_trailingslashit( $profile_url . BP_XPROFILE_SLUG ),
    		
    	) );
    	
    	
    }
    add_action( 'admin_bar_menu', 'buddydev_update_myaccount_links', 100 );
    

    Please do let me know how it goes? The avatar and the name will point to the profile now.

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    Hi Hans,
    Thank you for asking.
    can you please give it a try and let me know if it works as expected?

    
    
    function buddydev_update_myaccount_links( $wp_admin_bar ) {
    	
    	if ( ! is_user_logged_in() ) {
    		return ;
    	}
    	
    	$profile_url = bp_loggedin_user_domain();
    	
    	$wp_admin_bar->add_menu( array(
    		'id'        => 'my-account',
    		'href'      => $profile_url
    		
    	) );
    	
    	$wp_admin_bar->add_menu( array(
    		'id'     => 'user-info',
    		'href'   => $profile_url,
    		
    	) );
    	
    	
    }
    add_action( 'admin_bar_menu', 'buddydev_update_myaccount_links', 100 );
    
    

    Looking forward to hear your feedback.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: [Resolved] Filter for favorites notifications #2261

    It is included in 1.1.2. Marking it as resolved now.

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: [Resolved] Mediapress and X Theme. #2260

    Please Pm me the details here or mail me at brajesh@buddydev.com

    Thank you

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: [Resolved] BBpress Thread Prefix Plugin Idea #2259

    Sorry that I could not work on it. I am happy you got it resolved.

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: [Resolved] Mediapress and X Theme. #2256

    Hi Curt,
    Welcome to BuddyDev forums.

    Thank you for the kind words about MediaPress. I will love to support X theme if possible.

    As per your message, it seems the options nav is not being generated properly. It should be a minor css issue. Can you please point me to the site and provide a temporary login. I can provide the css.

    PS: If you plan to customize the contents of MediaPress please do let me know, It is easily themable too.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25057
    Brajesh Singh on in reply to: [Resolved] Filter for favorites notifications #2255

    Thank you Jamie. Added now. Will be pushing an update in 30 mins or so.

  • Keymaster
    (BuddyDev Team)
    Posts: 25057

    Hi Israel,
    Let us use this thread or you can create a topic in the “Requests & Feedback” forum.