Apply Buddypress Private Message to include Sent To poster's username
-
I didn’t like the email or webpage for the “Apply” links for job postings.
So, instead I changed up job-application-email.php with this:
<p> <?php if ( is_user_logged_in() && !bp_is_my_profile() && function_exists( 'bp_send_private_message_link' ) ) : ?> <div class="generic-button" id="send-private-message"> <a href="<?php bp_send_private_message_link() ?>" title="<?php _e( 'Send a private message to this user.', 'buddypress' ) ?>"><?php _e( 'Send Private Message', 'buddypress' ) ?></a> </div> <?php endif; ?> <?php if ( !is_user_logged_in() ) { echo 'Must be logged in to respond to post.'; } ?> </p>
And it works well… EXCEPT
The link only takes user to their “Private Message compose” page (https://localhost/website/members/username_john/messages/compose/?r&_wpnonce=2633633d1a), and does not include the username_larry who posted in their Send To field.
Anyone know what I am missing?
Thanks!
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘Apply Buddypress Private Message to include Sent To poster's username’ is closed to new replies.