Search Results for 'buddypress'
-
Search Results
-
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
Surprises me that I haven’t seen any updates or plugins for admins to message users from.dashboard directly into their user inbox through buddypress.
Would be great feature so we can directly send them a ‘welcome to the community’ or used by other plugins like Memberships pro so users can be directly messaged when their membership is running out.
Or have I missed something?
Topic: BuddyPress User Gallery
Hello,
We’re wondering if there are any plans to introduce a native user gallery for BP?
We’re currently using a plugin for this but would love to keep our site as clean as possible.Thanks.
Hello,
I have WordPress 5.7 and buddypress 8.0. When I upgrade to buddypress 9.0. A widget location (“BuddyPress member home page”) that I was using for render some html code in buddypress profile has disappears.I tried upgrading WordPress in case the problem was related to the new widget manager. But the problem persists.
Any recommendations on how to get that widget location to appear again?
I’ve found an issue with BuddyPress working with pages created using Elementor. In BuddyPress’ Settings an admin can set the Register page to a page they’ve created. Assigning it isn’t an issue. However, if you assign a page built using Elementor, you can no longer access Elementor’s editing interface for that page. This means even minor text edits aren’t possible.
As long as you leave the Register page set to -None- Elementor’s editing interface works and you can still use the page built as the register page for the site without setting this option in BuddyPress’ Settings. This however, gives the admin this error message constantly:
The following active BuddyPress Components do not have associated WordPress Pages: Register. Repair
If there’s a fix for this let me know. If not, can this be added to BuddyPress’ update list. FYI, I’ve tried this on two sites and gotten the same issue. I’m on the latest updates for WordPress, themes, and plug-ins.
Good morning.
For several days I have a problem that consists in the possibility of extracting from the site I am creating the data entered by users in the registration / registration form, in which I have added several fields with the BuddyPress Xprofile Custom Field Types plugin.
I have tried several plugins and all of them only allow you to extract the base fields. I am wondering if the add fields plugin allows you to add other fields as base fields why do the plugins I have tried do not recognize these fields as base fields?
The creator of one of the plugins used told me that the additional fields do not end up in the database or are not considered as metadata because buddypress uses its own tables.
So how can I do to extract user data into a single csv or excel file?
It is strange that this function does not happen as a basic function of buddypress …The extraction plugins used are:
LH Buddypress Export Xprofile Data
LH Export Users to CSV
Import users and customers from CSV
WordPress Users & WooCommerce Customers Import Export (BASIC)I hope there will be some users who can help me.
Thank youHello. I get notified when a new member joins my site but not when an existing member cancels their membership. How can I get notified when that happens? I’m using WP version 5.8 and BuddyPress version 9.0.0. This is the link to my site https://romancingrarehearts.com/
Thank you.
RichTopic: Logging out to home page
Hi,
Upon clicking the Buddypress ‘log out’ I am taken to the WordPress login page but I want to go to the site’s home page. How can I do this?
Thanks
Topic: Hide member in list
Hello,
in the BuddyPress user list I would like all users to be hidden and everyone to be able to see only those users who have purchased a product (with WooCommerce) that the user who is browsing the list has purchased. How can I do this?
Thank you.BuddyPress 9.0
This is my scenario. I want only the user to input his/her username and email upon registration. Later he/she can update his/her profile once registered. My Problem is I cant see the other field group in the profile, which have all the needed fields, only the base field group is there.
I am following this documentation, https://codex.buddypress.org/getting-started/guides/modifying-the-registration-form/. Is there additional steps to do?
I am really want to build a portal review site with multi author/contibutor.
the feature is like this theme https://themeforest.net/item/boombox-viral-buzz-wordpress-theme/16596434.I just need the following features :
1. Anyone can register to the site and have a dedicated panel ( i mean is they are not using WordPress default dashboard.)
2. each member have a profile page with some statistic like a post, comment,viewers, badge etc
3. the last important, each member can submit a post, after they submit the post. the post will be pending for review by admin.I want posts to be shown commonly on the site rather than on author’s profile .
Can It be done with Buddypress?