Search Results for 'buddypress'
-
Search Results
-
Hello,
We are currently using Buddypress with BuddyBoss theme. We have been attempting to change “Friends” to “Contacts” and have read through 8 years of these support forums trying to find an answer to our issue.
We used Loco translate to change all available strings that mention friends to contacts and for the most part this worked well. Unfortunately there are instances on Site Wide Activity, All Members and in some drop down filter menus/widgets where “Friends” still appears. We’ve gone through Buddypress, Buddyboss theme and all extension plugins we have installed for buddypress using the Loco plugin. We’ve manually changed every single instance, gone through the Buddypress developer resources and all codex articles posted in previous topics and have tried Poedit but this has not changed the above instances.
BuddyPress, WordPress and BuddyBoss are all up to date. Link: http://www.squarepeg.online
Any ideas would be incredibly appreciated. Thank you!
Hello guys,
I’m new to wordpress themes customization so I’d like some help with a few questions.
I’ve been running a buddypress community for some months now but I couldn’t find out these things:
1) How do I remove items from the menu bar that’s below the user profile header? I tried via the usual Menu customization option in WP dashboard but couldn’t find it.
2) How do I add a link to a custom page to that same menu and make it open within the same template, that is, showing the header and menu bar on the top of the content I created?
Reference: https://i.imgur.com/IR5Ptbq.png
Thanks!
Bruno
Hello,
The idea is to display only the list of members who match with a search criterion “radio button” (or if possible checkbox) that inserted the logged in member in his profile (eg I am looking for a : developer=”buddypress” 🙂
I found the following function but how to add filter on the display of the list of members in bp-custom.php?
function my_custom_ids( $field_name, $field_value = '' ) { if ( empty( $field_name ) ) return ''; global $wpdb; $field_id = xprofile_get_field_id_from_name( $field_name ); if ( !empty( $field_id ) ) $query = "SELECT user_id FROM " . $wpdb->prefix . "bp_xprofile_data WHERE field_id = " . $field_id; else return ''; if ( $field_value != '' ) $query .= " AND value LIKE '%" . $field_value . "%'"; /* LIKE is slow. If you're sure the value has not been serialized, you can do this: $query .= " AND value = '" . $field_value . "'"; */ $custom_ids = $wpdb->get_col( $query ); if ( !empty( $custom_ids ) ) { // convert the array to a csv string $custom_ids_str = 'include=' . implode(",", $custom_ids); return $custom_ids_str; } else return ''; }Regards
Topic: Icon for a Gender (type) ?
Hello,
There is code or a plugin to put a icon or picture near avatar to see the gender (male, female, couple) of a membre.I managed to display the type with <?php $genre = bp_member_profile_data(‘field=Genre’); ?> in members-loop.php
But i didn’t succeded with a picture… 🙁
I use “BuddyPress Xprofile Custom Fields Type” plugin to create fields.Thanks and sorry for my bad english 🙂
My registration page is no longer working. When the submit button is selected after filling out all required fields it acts like it is loading then it scrolls the page up, doesn’t auto clear the entries and doesn’t show any sort of message. The user doesn’t come up as registered in the backend and no email is sent. The only thing that has changed is an update to wordpress 4.9.1 and buddypress 2.9.2 Could this have caused the issue? I tried disabling all plugins except buddypress and switching my theme to 2015 (default theme).
Thank you very much for your time!
Take care,
KariWelp pretty much as it says;
Is there a way to add a “cancel” button to the group creation wizard. If a end-user regrets his/her decision to create group then the group has been created anyway. So a potential bloat of the system which loads of unfinished grops can be prevented if there only was a “cancel” button in each step of the wizard.Thanks a lot in advance! 😉
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?