Search Results for 'buddypress'
-
Search Results
-
Hi there, im having a big problem with the default required field in xprofile, and i already search for a lot of people having things similar and is all about the same but no solution. The “extended” profile of buddypress has a required field that is the same as the username in wordpress, so it has problems because if you change the username but leave the “name” of the xprofile empty automatically has an error. Why dont you you remove that unique field from de xprofile and let everyone make the fields they want, that thing is causing problems in every theme. i hope you understand , i can make a site for anyone to check this.
BP : Last
WP: Last
Nothing else.I have three signup fields that look identical. This phenomenon is displayed on the registration page, as well as in the signup fields tab from the admin side (users/profile fields).
I can reorder them and edit them, but not delete them. Please help.Buddypress version 9.1.1
Wordpress 5.8 multisite configuration (all the sites are displaying the error, example linked below)Topic: Friend Requests Shortcode?!
Hi all,
is there a shortcode for the list of open incoming friend requests (usually located under the URL mydomain.com/members/memberX/friends/requests/)? Or how can I mimic it? I want to display the list somewhere else as a small widget.
I found that the page is build somewhere around the template file buddypress\members\single\friends.php in which again the requests list is displayed:
bp_get_template_part( 'members/single/friends/requests' );I just cant figure out where exactly the whole story starts and where things are setup (list of members to display etc)?
Can you please hint me to it? Thanks!
Hello. I’m using the Twenty Fifteen theme. WP version 5.8. BP version 9.0.0.
On my members page, the Last Active list (of members) worked well for the past several years. But now, after I went into Tools > BuddyPress > Repair and repaired all of the items on the list, the members page’s Last Active list isn’t working the same. The members page no longer tells me who was active last unless a member signs in after this change occurred, but all of the other members below him or her on the list tells me that they’ve been active months ago, which may and may not be the case.
I know that there have been other members who have been active much more recently, but the page isn’t giving me that correct information the way it did before I repaired those items.
Can anybody help me with this problem please? Let me know if you need more information or if you need me to explain my problem better. Thanks.
Topic: Rich Text for Group fields
WordPress 5.8
BuddyPress 9.0.0I am trying to make the Group Description field a rich text field for Group admins so they can enter links and basic formatting.
I have tried to achieve this with various methods including using BuddyPress Groups Extras but the option to enable ‘Rich Editor for Fields’ does not work – each time I enable this radio button and save the settings it reverts to being disabled.
I have also looked into enabling the RichText editor for certain BuddyPress fields with a filter in bp-custom.php but it seems that WordPress has changed how it handles rich text fields and I cannot find any guidance on how to do this.
Any help or pointers would be much appreciated.
Topic: Translating directory-names
Trying for days now to find out why I can’t get certain words ytanslated into Dutch. I have used Locotranslate but I can’t translate the Directory-names and the meta “posted by”. U use stable.po- en -mo. files. Created a file content/languages/Buddypress/ but no changes.
Anyone tips? thanks in advance!Screenshot: Screnshot
wordpress 5.8
BuddyPress 9.0.0
Link to the site: https://xpartij.nl/Topic: SocialEngine to Buddypress
Anyone have any procedural help or know of a plugin or service to move our users from socialengine to buddypress? Even just the users names and their login information would be good enough. Any help to to get off the socialengine and use buddypress is appreciated. Even manually doing it one at a time is almost an option at this point. Please let us know.
Current version: 5.8
http://www.studentfilmmakers.comHi, I am wondering if where could I find the total number of notifications in database? I search it up in the source code and I found
$notification_item->total_countHowever, I can’t find a column or any value in the database.
I need to delete all notification counts because some intruders successfully registered my Buddypress and he/she send all spam messages to all my users. I already deleted all the messages, but counted notifications are remained. Kindly, help me. Thanks.

Hello,
in our registration form we have two areas with the following fields (all required):
Account details (WordPress):
– field “user name”
– field “email”
– field “choose a password”
– field “repeat chosen password”Profile details (BuddyPress):
– field “name”
– field “first name”
– field “last name”Actually we don’t need the fields “user name” (WordPress) and “name” (BuddyPress).
We want to use only first name and last name (no user name, name, nickname, whatever). Is that possible?
With that we want to make the registration easier to our users and we also want to sort the members directory according to the last name. Is that also possible?
Best regards
How to get the BP profile pic to be used as the wordpress avatar
Everything is set up on my website, but whenever someone registers, they do not receive the activation email required for validating their account. This is a big security issue that I have yet to find a solution to. I have seen the Auto Authenticate Plugin, which again, is a huge security issue. My WP Version is 5.8, my BuddyPress Version is 9.0.0. My website is https://buckeyestategaming.com
Any assistance with this issue would be greatly appreciated.
I have a code / plugin which derivates a list of UserIDs by some logic which I want to display in a separate page in a sort of members loop.
I tried similarly to this code, setting the args and than loading the template, it simply does not display the members:
$members_args = array( 'include' => array(list of user ids here ... 1, 13, 25, 126, ...), 'exclude' => array(bp_loggedin_user_id()), 'per_page' => $max_members, 'max' => $max_members, 'populate_extras' => true, 'search_terms' => false, ); echo '<div id="buddypress" class="buddypress-wrap bp-dir-hori-nav bp-shortcode-wrap">'; echo '<div class="members">'; echo '<div class="subnav-filters filters no-ajax" id="subnav-filters">'; bp_get_template_part( 'common/filters/grid-filters' ); echo '</div>'; echo '<div class="screen-content members-directory-content">'; echo '<div id="members-dir-list" class="members dir-list">'; buddypress()->current_member_type = "my separate loop"; buddypress()->current_component = 'members'; buddypress()->is_directory = true; // Get a BuddyPress members-loop template part for display in a theme. bp_get_template_part( 'members/members-loop' ); echo '</div>'; echo '</div>'; echo '</div>';I also tried instead to modify the query args like so instead of setting $members_args, but this does not work neither:
$include = array(1, 13, 25, 126, ...); # list of user IDs to show add_filter ('bp_ajax_querystring', 'modify_directory', 20, 2); function modify_directory ($query_string, $object) { if ($object != 'members') return $query_string; if (!empty ($query_string)) $query_string .= '&'; $query_string .= 'include='. implode(',', $include).'&exclude='.bp_loggedin_user_id(); return $query_string; }Any idea?
Hello Guys,
I am creating a post subscription. When any user subscribe to any post I want to send them notifications about comments and post activities. I am adding custom notifications to buddypress. Notifications are adding but in frontend the title of notification is not showing. I checked many forums but did not find any solution.
Below is my code:
public function __construct() { add_filter( 'bp_notifications_get_registered_components', array($this,'custom_filter_notifications_get_registered_components'),20 ); add_filter( 'bp_notifications_get_notifications_for_user', array($this,'custom_format_buddypress_notifications'), 10, 7 ); add_action( 'wp_insert_comment', array($this,'bp_custom_add_notification'), 99, 2 ); } For custom component public function custom_filter_notifications_get_registered_components( $component_names = array() ) { // Force $component_names to be an array if ( ! is_array( $component_names ) ) { $component_names = array(); } // Add 'custom' component to registered components array array_push( $component_names, 'custom' ); // Return component's with 'custom' appended return $component_names; } For notification formatting public function custom_format_buddypress_notifications( $content, $item_id, $secondary_item_id, $total_items, $format = 'string', $action, $component ) { if ( 'custom_action' === $action ){ $comment = get_comment( $item_id ); $custom_title = $comment->comment_author . ' commented on the post ' . get_the_title( $comment->comment_post_ID ); $custom_link = get_comment_link( $comment ); $custom_text = $comment->comment_author . ' commented on your post ' . get_the_title( $comment->comment_post_ID ); // WordPress Toolbar if ( 'string' === $format ) { $data_to_return = apply_filters_ref_array( 'custom_filter', '<a href="' . esc_url( $custom_link ) . '" title="' . esc_attr( $custom_title ) . '">' . esc_html( $custom_text ) . '</a>', $custom_text, $custom_link ); // Deprecated BuddyBar } else { $data_to_return = apply_filters_ref_array( 'custom_filter', array( 'text' => $custom_text, 'link' => $custom_link ), $custom_link, (int) $total_items, $item_id, $secondary_item_id ); } return $data_to_return; } else{ return $action; } } For adding notification public function bp_custom_add_notification( $comment_id, $comment_object ) { $subscribed_user = get_post_meta( $comment_object->comment_post_ID , 'subscribed_user',true ); if(!empty($subscribed_user) && is_array($subscribed_user)){ for ($i=0; $i < count($subscribed_user); $i++) { if ( bp_is_active( 'notifications' ) ) { bp_notifications_add_notification( array( 'user_id' => $subscribed_user[$i], 'item_id' => $comment_id, 'component_name' => 'custom', 'component_action' => 'custom_action', 'date_notified' => bp_core_current_time(), 'is_new' => 1, ) ); } } } }Please suggest best possible way to fix this issue.
Thank You
installed gd library php in xampp
but not working