You have to create a new function like bp_adminbar_notifications_menu()
Even if you directly write bp_adminbar_notifications_menu(); in your sidebar you will get the result.
i’m not much of a programmer…has anyone done this before?
I’d appreciate the code for this and guidance on where to implement it.
thank you!
I am not sure in which sidebar you want to implement this.
If you are talking about blog sidebar in default BP theme.
1. Open sidebar.php from wp-content/themes/bphome/
2. Replace all content with following code
<div id="sidebar">
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar('blog-sidebar') ) : ?>
<div class="widget-error">
<?php _e( 'Please log in and add widgets to this column.', 'buddypress' ) ?> <a href="<?php echo get_option('siteurl') ?>/wp-admin/widgets.php?s=&show=&sidebar=sidebar-4"><?php _e( 'Add Widgets', 'buddypress' ) ?></a>
</div>
<?php endif; ?>
<?php bp_adminbar_notifications_menu(); ?>
</div>
3. Check by clicking on any post from main blog.
i was talking about the main nav column on the left titled “ME” which lists:
Activity
Profile
Blogs
Wire
Messages <
this I would like to say Messages (3) if there were 3 messages
Friends <—-this I would like to say Friends (2) if there were 2 friend requests
Groups
Settings
Logout
Maybe update for new wire posts too? but at least the friends and messages part