Search Results for 'buddypress'
-
Search Results
-
I want to add a functionality that takes users’ answers from all the questions that they fill out using a custom form. Then automatically match them up with other users that came up with the same answers.
So when a user creates their profile then clicks on the search page it will first generate 5 – 10 users that have the same thing in common based off of the answers they have provided in their profile. If the user wants to see more matches they will have to pay.
Can this be done?
Topic: bp_members_loop
I have simple index.php like below, but the main page is not showing the buddypress members.
Any hints welcome.
(I have tried the chatgpt standard hints)<?php get_header(); ?> <div id="primary" class="content-area"> <main id="main" class="site-main"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <article> <div class="entry-content"> <?php the_content();?> </div> </article> <?php endwhile; endif; ?> <?php if ( is_home() && function_exists( 'bp_members_loop' ) ) : ?> <div class="members-loop"> <?php bp_members_loop(); ?> </div> <?php endif; ?> </main><!-- #main --> </div><!-- #primary --> <?php get_footer();Topic: How to hide comments
I am using BuddyBoss theme.
I would like to hide comments on the activiy home page and just let it enabled when someone see the activity individual page.I tried this solution
https://support.buddyboss.com/support/solutions/articles/72000594134-hide-comments-on-the-activity-feedAlthough there is a bug and dont load the activies. Also looks like this disable the comment feature, what is not I am looking for.
I also tried to remove the div acomment-content in the document bp-templates>bp-nouveau>buddypress>activity>comment.php, althought this removed as well from the individual activity page. I would like to do as Twitter: its possible to comment on the activy feed and it shows in the activy page how many comments the update have, but the comments are only visible in the activity page.
<?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.
Hi everyone,
As explained into the following post, this forum topic is the place where you can ask us questions about the next BuddyPress 12.0.0 major release.
We’ll try to give you answers as soon as we can.
You can get latest 12.0.0 pre-version from there 👇
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.