Private message from non-members
-
Hi,
Is it possible to have the “private message” section available for non members who want to email members?
-
Not out-of-the-box. In order to send a private message the sender will need to be registered and logged in.
Is there a way to work around it though?
And in the same kind, can we have a user avatar to be displayed in their profile for non members to see when they browse through the member’s profile?
At the moment, same as private message, it is only displayed to other members.When non-members are browsing through member profiles, the default behaviour is for them to be able to see each member’s avatar. The
bp_displayed_user_avatar()
function takes care of that.If this isn’t happening then I suggest you check there isn’t a
is_user_logged_in()
check which is used to display content to only logged-in (registered members) users.With reference to the non-member messaging, this would be far more complex to achieve and would require lots of custom code.
There is a “is_user_logged_in() ” but it isn’t checked :S
It’s in my sidebar. Here is the php.
<?php do_action( ‘bp_before_sidebar’ ); ?><div id=”sidebar” role=”complementary”>
<div class=”padder”><?php do_action( ‘bp_inside_before_sidebar’ ); ?>
<div class=”gravatar”><?php if ( is_user_logged_in() ) : ?>
<?php bp_displayed_user_avatar( ‘type=full’ ); ?></div>
<?php do_action( ‘bp_after_sidebar_login_form’ ); ?>
<?php endif; ?>
<?php /* Show forum tags on the forums directory */
if ( bp_is_active( ‘forums’ ) && bp_is_forums_component() && bp_is_directory() ) : ?>
<div id=”forum-directory-tags” class=”widget tags”>
<h3 class=”widgettitle”><?php _e( ‘Forum Topic Tags’, ‘buddypress’ ); ?></h3>
<div id=”tag-text”><?php bp_forums_tag_heat_map(); ?></div>
</div>
<?php endif; ?><?php dynamic_sidebar( ‘sidebar-1’ ); ?>
<?php do_action( ‘bp_inside_after_sidebar’ ); ?>
<?php wp_meta(); ?>
</div><!– .padder –>
</div><!– #sidebar –><?php do_action( ‘bp_after_sidebar’ ); ?>
- The topic ‘Private message from non-members’ is closed to new replies.