Search Results for 'buddypress'
-
Search Results
-
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 );I want to add the buddypress favorite button on a blog post. There are several topics about this, but none works. Can anyone help me?
I’m sorry I put this in the wrong forum previously. I cannot find how to close the old thread or edit it.
I’ve done a ton of research on this topic and I cannot seem to solve it. All the threads I find are old, but I’ve given some of the solutions a try with no luck.
Whenever a user tries to upload on mobile in portrait mode the preview window cuts off the right half of the image.
I’m on BP ver 2.9.2
I’m using jquery 2.0.3 in the theme. Is that the issue?
Any other ideas?
Thanks.
Hello,
I’ve done a ton of research on this topic and I cannot seem to solve it. All the threads I find are old, but I’ve given some of the solutions a try with no luck.
Whenever a user tries to upload on mobile in portrait mode the preview window cuts off the right half of the image.
I’m on BP ver 2.9.2
I’m using jquery 2.0.3 in the theme. Is that the issue?
Any other ideas?
Thanks.
Topic: How to Install BuddyPress
Can you please help me in installing buddypress for my website
Hi.
I am on WP 4.9 using Buddypress 2.9.2Every logged in user is only seeing the own status update under Activity -> Personal.
We don’t have many members so we like to see every user seeing status updates from any user.
I tried a plugin named “Community Activity On Profile” which added a button “All Activity” in front of “Personal” and this showing all updates of all users but this does not have a “What’s new user” entry field.
Is it possible to just have the “What’s new user” and then just a list of all updates. This would be what I understnad as a Sitewide Activity Stream but my Buddy Press just would not show this functionality.
Please help
Christoph
When I update the comment in the following page, the “\” is missing. https://i.stack.imgur.com/f9Ynu.png
I find that the problem is due to buddypress.
How to avoid the wordpress comment editor converting characters like “\” to html? There is no problem when I post a new comment or edit a post. It happens only when I edit the existed comments.
My wordpress version is 4.9.1 and a sample page is https://cding.xyz/the-space-of-continuous-functionals-on-dual-space-is-the-predual-space/