BBpress+ BuddyPress Send Message
-
Deep integration WPMU 2.8.4a + BuddyPress 1.0.3 + BBpress 1.0.2
Goal: I want to put send message under the icons in the forums and have the To: filled out with the member you’re sending it to.
website.com/members/YOURSELF/messages/compose/?r=RECEIVER
This is what I tried:
<?php if ( bb_is_user_logged_in() ) : ?>
<small>
<a href="<?php echo get_option('home') ?>/members/
<?php echo get_user_name( $user_id ); ?>/messages/
compose/?r=<?php echo get_user_name( get_post_author_id() ); ?>">Send Message</a></small>
<?php endif; // bb_is_user_logged_in() ?>‘<?php echo get_user_name( $user_id ); ?>’ is giving me a blank. It should be the user (yourself login name)
Also: If I put
<?php bp_send_message_button() ?>
it gives you a blank To: section and I’m not so thrilled with the button in the forums.Sidenote you (BuddyPress) should open a section (Forum Section) called “BBpress Integration” for easier finding of things. I tried the search but I’m not getting the right keywords combination.
- The topic ‘BBpress+ BuddyPress Send Message’ is closed to new replies.