Search Results for 'private'
-
Search Results
-
Topic: Remove Request Membership
I use several private groups.
If a member of a certain group goes to the page with all the groups he can see them all, that’s also good but when he looks at another group he sees – This is a private group and you must request group membership in order to join. – and the Request Membership button.
How can I remove that button and change the text?
I use the latest versions of WordPress and Buddypress
Thanks!
Topic: Notifications in Top Menu
For privacy issues I want to hide certain links on profile view.
i use the snippet, mentioned here (see script below):
oneThis works fine with BP related links, but I cannot hide links from CPT like rtMedia and the link of this:
`function bp_postsonprofile() {
add_action( ‘bp_template_content’, ‘profile_screen_posts_show’ );
bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/plugins’ ) );
}function profile_screen_posts_show() {
$myposts = get_posts( array(
‘posts_per_page’ => -1,
‘author’ => bp_displayed_user_id(),
‘post_type’ => ‘post’
));if( ! empty($myposts) ) {
echo ‘<ul>’;
foreach($myposts as $post) {
setup_postdata( $post );
echo ‘<li><a href=”‘ . get_permalink($post->ID) . ‘”>’ . get_the_title($post->ID) . ‘</a></i>’;
}echo ‘</ul>’;
wp_reset_postdata();
} else {
echo ‘<div class=”info” id=”message”><p>’. bp_displayed_user_fullname() .’ hat keine Beiträge veröffentlicht.</p></div>’;
}
}add_action ( ‘profile_screen_posts_show’ );`
function bpfr_hide_tabs() {
global $bp;
/**
* class_exists() & bp_is_active are recommanded to avoid problems during updates
* or when Component is deactivated
*/if( class_exists( ‘bbPress’ ) || bp_is_active ( ‘groups’ ) ) :
/** here we fix the conditions.
* Are we on a profile page ? | is user site admin ? | is user logged in ?
*/
if ( bp_is_user() && !is_super_admin() && !is_user_logged_in() ) {/* and here we remove our stuff ! */
bp_core_remove_nav_item( ‘activity’ );
bp_core_remove_nav_item( ‘friends’ );
bp_core_remove_nav_item( ‘groups’ );
bp_core_remove_nav_item( ‘posts’ );
bp_core_remove_nav_item( ‘forums’ );
bp_core_remove_nav_item( ‘media’ );
}
endif;
}
add_action( ‘bp_setup_nav’, ‘bpfr_hide_tabs’, 15 );Hi – My activity updates are not displaying properly. Instead of the actual update “Hello World” it will only state the fact “Bob made an update” in all places the update details should display: member profile, group page, sitewide activity page.
I am using:
Wordpress 4.9.1
Theme Kleo by Seventh Queen 4.2.12
Buddypress 2.9.2
Also, BuddyPress Activity Short Code by BuddyDev 1.1.1All my groups are Public Groups (not Private) in case that makes a difference.
I am still in development mode, so not yet launched. My Buddypress was working perfectly until I migrated my site to a different URL and perhaps some code got changed.
Can anyone point me in the right direction to how to get the full activity update details to display everywhere instead of just the statement of the update?
Thank you very much!
Topic: Group Filters
Within Buddypress group the setting allow the group to be public or private! However when the group is public and a member of the group post something, that post goes to activity stream on the front end. I like a code that I can put in my Custom CSS, that would only allow the (Admin of the Group) post to be seen in the overall community stream of activity when the setting is set to public. Members of the group post can only be seen within the group, when set to public.
Regards
I am attempting to display some user data on a single page so members of a group can see all of the members within that group’s info without going into each profile. I have successfully displayed 2 custom fields, but cannot display the user’s email address.
It is a private site, so I cannot link to it. Hopefully this is something minor that I am just missing.
I have found so many scattered suggestions for this type of thing, but nothing has worked.
I have tried all of these types with various field names (email, Email, Email address, Account email, etc.) and nothing displays the email address.<?php echo bp_member_profile_data(‘field=Email’); ?>
<?php echo bp_member_profile_data(‘field=Account email’); ?>
<?php echo xprofile_get_field_data( ‘field=Account email’ ); ?>
<?php echo get_post_meta(get_the_id(), ‘user_email’, true); ?>
<?php echo xprofile_get_field_data( ‘user_email’, get_the_author_id()) ?>
I am updating a copied version in my theme of members.php from /buddypress/members/
Any ideas would be appreciated. Thanks!
BP v2.9.2
WP v4.9.1Topic: Custom Member Profile Fields
I have a (private) corporate intranet that incorporates BuddyPress for Employee Profiles.
Without giving users the ability to edit their own profiles, I would like the Member Profile Pages to display the Profile Photo, User Name (possibly regardless of “Display Name” choice), User Email, User Description (renamed “Position”), and a link to the local job description page for their position.
Is it possible to modify the profile fields from wp-profile.php etc. using bp-custom.php and action hooks? Is there a better way to customize the member profile page template?
Thank you.