Search Results for 'buddypress'
-
Search Results
-
<?php /** * Plugin Name: BuddyPress Reaction Sort * Description: Sorts BuddyPress activities by reactions. * Version: 1.0 * Author: Your Name */ require_once( '/www/wwwroot/fsyz.club/wp-content/plugins/buddypress/bp-loader.php' ); function bp_reaction_sort() { global $wpdb; $activities = bp_activity_get( array( 'per_page' => 20 ) ); // Debug echo "Query returned " . count($activities['activities']) . " activities <br>"; $activity_reactions = array(); foreach ( $activities['activities'] as $activity ) { $id = $activity->id; $count = $wpdb->get_var( "SELECT COUNT(*) FROM {$wpdb->prefix}iq_reaction_activity WHERE activity_id = $id" ); $activity_reactions[(int)$id] = (int)$count; } arsort( $activity_reactions ); var_dump( $activity_reactions ); return $activity_reactions; } add_filter( 'bp_has_activities', 'bp_replace_activities', 10, 2 ); function bp_replace_activities( $has_activities, $activity_reactions ) { global $activity_reactions; $activity_reactions = bp_reaction_sort(); $sorted_activities = array_keys( $activity_reactions ); $has_activities = false; buddypress()->activities->activities = $sorted_activities; var_dump($sorted_activities ); $has_activities = true; return BP_Activity_Activity::get( array( 'in' => $sorted_activities )); } add_action( 'bp_before_directory_activity_list', 'bp_reaction_sort' );it output right order in $sorted_activities but the stream is in wrong order,with a warning:Creating default object from empty value anybody can help me ?
Hi all,
I continue to have in error log of my site the following issue:
WARNING: child XX said into stderr: “[01-Aug-2023 07:50:00 UTC] PHP Warning: Undefined array key “media” in /web/htdocs/<mydomain>/wp-content/plugins/buddypress/bp-core/classes/class-bp-core-bp-nav-backcompat.php on line 111″This log appears frequently every 5-10 minutes, always in line 111 of class-bp-core-bp-nav-backcompat.php
How can i fix? I have 11.2.0 last release.
I have a buddypress, I want to display activitys posts randomly on home page, I want posts to be displayed randomly, not in chronological order
anyone knows any code or method for thatHi,
I don’t understand the logic of requiring an email/username (text) field in Signup form, which will be shown near the default WordPress signup fields (including both email and username).
For a good UX sign up, I would require only a social login or email + password. I have dozens of BP xFields so the user should go and edit them after signup anyways.Can you please share some best practices to avoid unnecessary requirements for signup?
I tried to disable bp signup form completely but I haven’t found the plugin folder.I have a problem when users register on my site when signing up for a membership. The payment is made with Stripe and when they go to finalize the purchase it gives a 404 redirection. Has it happened to anyone else?
It is solved when I deactivate BuddyPress, but I need to have it activated.A while back, I reported a severe BuddyPress bug that left activities for blog posts without actions. The bug was fixed in a later version. However, now I just noticed that not only new activities were affected. Essentially all our old activities for blog posts are now without a link to the blog post.
Updating the blog post creates the activity action. However, we have thousands of blog posts. So manually updating all blog posts is not an option. This is really a total mess.
How can we fix this?
I have a buddypress with a theme(youzify), I want to display activitys posts randomly on the wall, anyone knows any code, plugin or method for that
We would like to inform you that, We are using BuddyPress and gamipress-buddypress-integration plugin, but recently the plugin author has closed the plugin for permanently – https://prnt.sc/S5RpNim2ciar
Now, which one we can use instead of the “gamipress-buddypress-integration”? or How can we solve the problem?
WordPress 6.2.2
BuddyPress Version 11.2.0
Theme is Ocean WP
I have WP mail SMTP set up and working( I see test emails and get status emails from the site)
there is an invite new users email template available but when I send invite emails via
https://diceandmeeples.com/members/%5Busername}/invitations/ I see the invitation successful message but no Email arrives. I also have Email Log active however it does not register any emails.Any ideas?
Hi there,
We are using BuddyPress for online courses.
In the past (pre May 23) when a user purchased a course they would only get added to the group associated to that specific course and so only see the specific course forum. E.g. Purchase Course X, get added to Group X and Forum X.
Something happened recently whereby the function changed and now what is happening is that user purchase Course X, and gets added to Group X, Y, Z and Forum X, Y, Z
I believe it might have something to do with this option “Auto-join Users To This Group” that doesn’t seem to be working as it should:
Or perhaps you can share more about this function?
Hello, my question is the following: how can I add the assignment of mycred badges to the list of buddypress activities, that is, when a user earns a badge or the administrator gives it to him, it can be seen in the feed that that user obtained that badge and the other users can see it.
Topic: Profile page
Hello,
I’ve installed buddypress and would like to customize the profile page to my liking. The problem is that buddypress doesn’t generate this page.
How can I create it, link it to buddypress and customize it to my liking?
thank you
Topic: Create new group not working
Hi,
I am new to Buddypress. After installing Buddypress. In setting->Buddypress-> Component I selected User group. When I click add new group it takes me to our website membership subscription page. I don’t know how it is taken and fix this.
Version:
Buddypress: 11.2.0
WordPress. 6.2.2Saving settings gives a “Sorry, you are not allowed to access this page” message.
Trying to set to Nouveau won’t save. It just keeps going back to Legacy. Totally not working anymore.Troubleshooting attempts included shutting down other plugins, turning on registration of new users and sites, deleting table data in phpMvAdmin, etc. Tried deleting the subsite and recreating it. tried switching up themes. Tried clearing the cache. All work using Superadmin accounts.
The rest of the multisite is working fine.No luck. Am I missing something that keeps it hopelessly broken, no matter how many times I try to wipe it and try again?
Backstory: On a multisite. Past experiments with Buddypress on this multisite. Problems emerged during attempts to set up a new site in the multisite using Buddypress.
Running WordPress 6.2.2. I have been trying to use BuddyPress version 11.2.0.I have been attempting to use the BuddyX theme. No custom modifications
Hey everyone,
I’ve been trying to set up BuddyPress on my WordPress site, but I keep encountering an Error 500 whenever I try to access the BuddyPress features. I’ve followed the installation instructions carefully and made sure all requirements are met, but the problem persists. Has anyone else experienced this issue, and if so, how did you resolve it? I’d appreciate any insights or troubleshooting tips to get BuddyPress up and running smoothly. Thanks in advance for your help!
Regards
The Toilet HelperTopic: remove header
Is it possible to remove Buddypress header on a specific page while using the BuddyX themes?