Search Results for 'buddypress'
-
Search Results
-
Hello,
I modified the profile-loop.php file some time ago to hide profile fields that are empty but my code doesn’t work anymore, has any change been done to the code some updates ago ?
Here is what I modified :
<h2 class="screen-heading view-profile-screen"><?php esc_html_e( 'View Profile', 'buddypress' ); ?></h2> <?php bp_nouveau_xprofile_hook( 'before', 'loop_content' ); ?> <?php if ( bp_has_profile('hide_empty_fields=0') ) : ?> <?php while ( bp_profile_groups() ) : bp_the_profile_group(); ?> <?php if ( bp_profile_group_has_fields() ) : ?> <?php bp_nouveau_xprofile_hook( 'before', 'field_content' ); ?> <div class="bp-widget <?php bp_the_profile_group_slug(); ?>"> <h3 class="screen-heading profile-group-title"> <?php bp_the_profile_group_name(); ?> </h3> <table class="profile-fields bp-tables-user"> <?php while ( bp_profile_fields() ) : bp_the_profile_field('hide_empty_fields=0'); ?> <?php if ( bp_field_has_data() ) : ?> <tr<?php bp_field_css_class(); ?>> <td class="label"><?php bp_the_profile_field_name(); ?></td> <td class="data"><?php bp_the_profile_field_value(); ?></td> </tr> <?php elseif ( !bp_field_has_data() ) : ?> <tr<?php bp_field_css_class(); ?>> <td class="label"><?php bp_the_profile_field_name(); ?></td> <td class="data"><?php bp_the_profile_field_value(); ?></td> </tr> <?php endif; ?> <?php bp_nouveau_xprofile_hook( '', 'field_item' ); ?> <?php endwhile; ?> </table> </div> <?php bp_nouveau_xprofile_hook( 'after', 'field_content' ); ?> <?php endif; ?> <?php endwhile; ?> <?php bp_nouveau_xprofile_hook( '', 'field_buttons' ); ?> <?php endif; ?> <?php bp_nouveau_xprofile_hook( 'after', 'loop_content' );Can someone help me to hode those fields again please 🙂
Hello, I have this code snippet on my custom page.
<div id="buddypress" class="buddypress-wrap buddyx bp-dir-hori-nav alignwide"> <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&action=new_quote' ) ) : ?> <div id="activity-stream" class="activity" data-bp-list="activity" > <?php bp_get_template_part( 'activity/activity-loop' ); ?> </div> <?php endif; ?>I want to display activity loop. Actually it is ok but activity meta class does not exist. it seem as
<div class=" -meta action">it should be<div class=" activity-meta action">
If I remove data-bp-list=”activity” on activity-stream div css will be fine it will be activity-meta but click not work. If i use data-bp-list=”activity” click works but css does not work because of -meta (it should be activity-meta)
Can you help me?Topic: Group settings
Hello, I am building a training site. I want to create a private group with Buddypress and I want only those who bought the training to be able to join the group I created. How can I do that? I don’t want everyone to be able to join my group. Also, when people want to share on the main page, that is, in the flow, I want them to be approved by me. How can I do that?
Topic: Group invites problem
Hi,
I’ve been using Invite Anyone plugin until now, but looks like it doesn’t work anymore. The links in invitation emails and Accept buttons go to 404, and no-one answers in the Support forum. Also looks like it is not compatible with PHP8.
So I’ve been wondering if I could somehow tweak Buddypress myself to be able to send group invites to all members and not just friends. I see that Nouveau template does that but I don’t understand how that works (I’m using Legacy and I don’t want to change that). Could anyone point me to the right direction? Are there any hooks I could use? Thanks in advance!
WordPress 6.1.1
BuddyPress 11.0.0
Theme : BuddyX ProHi,
I installed the 11.0.0 today but I have some problem with the groups cover images. In the activities of my groups, the cover images are no longer displayed. They are then replaced by a standard image (placeholder.svg) from my BuddyX Pro theme.
Please note that the cover images are displayed correctly on the group page. My problem happens on the Group Activities block where this cover image does not seem to be displayed correctly, Whereas with version 10.6.0 it is displayed.Any idea of the difference between 10.6.0 and 11.0.0 which could create my bug?
Thanks for any help!Are there any buddypress branded login plugin free alternatives or anything that can stop my login page from being directed to wp-login.php?
WordPress Version 6.1.1
BuddyPress Version 11.0.0I’m having a problem implementing BuddyPress on my site. Everything works fine except for Reply to Private Message. When click on Send Reply btn, it errors out: “Your reply was not sent. Please enter some content.” There is content. Please advise. Thank you.
Hi, I have the latest version installed and I am encountering this error in several community profiles:
Warning: sprintf(): Too few arguments in /furanet/sites/mydomain.com/web/htdocs/wp-content/plugins/buddypress/bp-blogs/bp-blogs-activity.php on line 233Hi.
Is there any way to prevent other members of BuddyPress from seeing the page?
e. g)
If my name is imanakameIf imanakame access it
http:localhost/members/imanakame/ → access ok
http:localhost/members/tanaka/ → access ngIf tanaka accesses it
http:localhost/members/imanakame/ → access ng
http:localhost/members/tanaka/ → access okthank you.
Hello,
The error message is as below:
PHP Deprecated: Hook bp_get_send_message_button is deprecated since version 1.8.0! Use bp_get_send_message_button_args instead. in /public_html/wp-includes/functions.php on line 5758
I found the following files include function “bp_get_send_message_button”
/public_html/wp-content/plugins/buddypress/bp-messages/bp-messages-template.php
/public_html/wp-content/plugins/buddypress/bp-templates/bp-nouveau/includes/members/template-tags.phpHi, my client wants to allow an area for the client to upload a personal “Vision Board” for each user and I thought of using BuddyPress’ Cover Image feature for this, however I would need to use the Cover Image outside of the profile page.
Is this possible?Thank you
Lucas Oliveira
The blog I have been working on provides information about APM Test. Since I’m using a WordPress customized theme on that blog, now I’m looking to change the theme to BuddyPress. How can I migrate my website/blog without losing traffic and ranking? Moreover, I also don’t want to change the UI/UX.
Looking forward to hearing from experts.
Thank you
Topic: passphrase on registration
I’m trying to make registering on the site require a passphrase to complete the registration (a form of spam filtering / needing to be human).
when I go through the steps, to register, the field is there, and if entered correctly, it works, but if it’s blank, or just wrong, it just kicks me to a white screen error with:
“There has been a critical error on this website.
Learn more about troubleshooting WordPress.”
It would seem something is wrong with the error handling in my function. help?
function bp_add_passphrase_field() { ?> <div class="register-section" id="profile-details-section"> <div class="editfield"> <label for="passphrase"><?php _e( 'What sport do the Steelers play?', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> <input type="password" name="passphrase" id="passphrase" value="" /> </div> </div> <?php } add_action( 'bp_before_registration_submit_buttons', 'bp_add_passphrase_field' ); // Validate the custom passphrase field on form submission function bp_validate_passphrase_field( $result ) { // Set the desired passphrase $correct_passphrase = 'football'; if ( $_POST['passphrase'] != $correct_passphrase ) { $result['errors']->add( 'passphrase_error', __( 'The passphrase you entered is incorrect.', 'buddypress' ) ); } return $result; } add_filter( 'bp_signup_validate', 'bp_validate_passphrase_field' ); ?>