Search Results for 'buddypress'
-
Search Results
-
For our intranet, we use BuddyPress extended profiles as well as WPO365 to sync data from Microsoft active directory. We don’t allow users to edit their avatars or user information as everything is synced from Microsoft.
After the last update, our “Recently active users” widget is showing old (and sometimes no) avatar for users. When you click through to the profile however the newer images load correctly.
It almost looks like the avatars stored for BuddyPress are different from the BuddyPress extended profile avatar.
Is there a simple fix for this or do we need to stop using the recently active widget all together?
I am experiencing an issue with Smash Balloon YouTube Feed when loading more of the videos. If I disable BuddyPress the “Load More” button works normally.
When displaying the feed (say about 6 videos) there is a button to “Load More” below the videos. When the button is clicked a new browser tab will open and display in the url “about:blank#blocked”. When I go back to the website page, it does “Load More” however I need to prevent this new blank tab from opening.
Wordpress v. 5.9.2 with Olympus Theme
BuddyPress V. 10.2.0
Smash Balloon YouTube Feed V 1.4.4The output format for text returning from function bp-groups-bp_get_group_avatar_url appears to have changed between 9.2.0 and 10.0.0. The output used to produce a raw URL but now it produces
HTML.
I noticed the change when I tried to upgrade from 9.2.0 to 10.2.0. It breaks my code which was expecting the raw URL.
Was the output format changed intentionally?
It seems to me the name of the original function was accurate for raw URL, but the new version inadvertently switches the nature of the group avatar url function.
It would be nice to clarify whether the return format change for the bp_get_group_avatar_url was intentional or not. If it was intentional and there’s no plan to revert to the old function version then the work around for anyone who wishes to strip the raw url out of the img text is …
// Hack for Buddypress v10.0.0+
// Pull raw url from the fullHTML element
$group_image_url = bp_get_group_avatar_url( $group, 'full' );
preg_match('/<img(.*)src(.*)=(.*)"(.*)"/U', $group_image_url, $result);
$raw_image_url = array_pop($result);
It may be better to introduce a new function called bp_get_group_avatar_img which returns the img html and keep the original function, bp_get_group_avatar_url, returning the raw url.
Please advise on whether the change to the function bp_get_group_avatar_img in v10.0.0+ will remain permanent or whether there are plans to revert the function to the previous 9.2.0 behaviour.
My preference, if it makes sense, is to stick with the original 9.2.0 version, but I can adapt to the 10.0.0+ version if required. The raw url gives me more flexibility to code my preferred img element.
Thanks!
Hey, so i am trying to add a filter in the members search to only show the profiles that have a certain role in an Xprofile field, doing some research i came across the next code
if ( !defined( 'ABSPATH' ) ) exit; class BP_Loop_Filters { /** * Constructor */ public function __construct() { $this->setup_actions(); } private function setup_actions() { add_action( 'bp_members_directory_order_options', array( $this, 'random_order' ) ); if( bp_is_active( 'groups' ) ) add_action( 'bp_groups_directory_order_options', array( $this, 'random_order' ) ); if( is_multisite() && bp_is_active( 'blogs' ) ) add_action( 'bp_blogs_directory_order_options', array( $this, 'random_order' ) ); } public function random_order() { ?> <option value="random"><?php _e( 'Random', 'buddypress' ); ?></option> <?php } } function bp_loop_filters() { return new BP_Loop_Filters(); } add_action( 'bp_include', 'bp_loop_filters' );i tried adjusting it to call the Xprofile fields i want but it caused a complete error on the website, any help?
Hi,
here is the my code. tab is created,
but if user not member this private group redirect to wp-login page. how to open everyone this tab?function custom_members_tab() {
if ( bp_is_groups_component() && bp_is_single_item() ) {
global $bp;
$group_link = bp_get_group_permalink( $bp->groups->current_group );
$tab_args = array(
‘name’ => esc_html__( ‘destination’, ‘default’ ),
‘slug’ => ‘destination-members’,
‘screen_function’ => ‘destination_members_screen’,
‘position’ => 60,
‘parent_url’ => $group_link,
‘parent_slug’ => $bp->groups->current_group->slug,
‘default_subnav_slug’ => ‘destination-members’,
‘item_css_id’ => ‘destination-members’,
‘access’ => ‘anyone’,
‘show_tab’ => ‘anyone’,
‘show_for_displayed_user’ => true
);
bp_core_new_subnav_item( $tab_args, ‘groups’ );
}
}
add_action( ‘bp_setup_nav’, ‘custom_members_tab’ );function destination_members_screen() {
add_action( ‘bp_template_content’, ‘custom_group_tab_content’ );
bp_core_load_template( ‘buddypress/members/single/plugins’ );
}
function custom_group_tab_content() {
echo “show non group members, guests, everyone”
}I read this ticket, but I couldn’t understand how to use it.
https://buddypress.trac.wordpress.org/ticket/4785Topic: Filter activity stream
Hello
I want to filter my activity stream so i have installed the BuddyPress Activity Filter plugin.
But it does not work. The plugin’s author told me this is a known bug and that it will be fixed in the next version. But I don’t know when…
Does anyone know how i could delete the following activities from my activity stream :
– user modified his image
– Member location updated
– profile updated
– user joined a group
– group settings updated
– document modifiedThanks for your help.
Fabien
I have now uninstalled the Buddypress plugin because we had a hiccup last week.
What happened was when I installed Buddypress and set the other things from Memberpress documentation, I did not know what triggered the cause of the mass email sent to our members saying that they changed their passwords when in fact they didn’t.
All I did with the plugin was use the default values so I’m not sure what ticked off the mistake of sending all those emails.
I need help with regards to Buddypress (Buddyboss) and Memberpress pro bugs or incompatilibity.
Topic: buddypress groups
Hello!
I was organizing roles for my admins, i want them to be able to delete activity and public group posts. However currently it includes that they can view/delete activities from private groups even if theyre not apart of such groups. How can i make it so that their admin role is only restricted to public activities/groups? This is really important for my site, i appreciate your help. im using the user role editor by vladimir. Perhaps theres another plugin i can use or css code?
thank youHi there, I was wondering if you are able to tell me why my buddypress private messages are not sending. I use buddypress with memberpress for my online course membership platform. They used to send no problem from member to member but no for some reason when you click send nothing happens. Thanks so much! this is the site but you would need to login to see the member area… http://www.realadulting101.ca