Search Results for 'buddypress'
-
Search Results
-
I have a wp site with buddypress registration, and on the registration page the form has the ‘Account Details’ section, with the username, email, password & confirm password. Then it also has the buddypress profile section, with the fields name, birthday, etc etc. I don’t want the persons Name to be visible to the public. I can manage all the other profile fields visibility except for the default Name field and it is driving me crazy! Not sure if anyone has has this problem. please let me know.
Hi Team,
Im running buddypress with a few addons and I think one of them broke it so that the standard pages, which I had modified are now gone and I cannot for the life of me restore them. Even did a backup to localhost, exported them and tried importing them, but they come in empty.
I am running Buddypress, Buddybuilder (I think this broke the pages as the plugin only half works), Gamipress & Geodirectory & Buddycommerce integration, buddypress featured members.
Anyway, how do I get those standard pages back? and better, how can I edit them to make them look nicer with elementor?
On the registration page for my wp site, the registration form has the ‘Account Details’ section, with the username, email, password & confirm password. Then it also has the buddypress profile section, with the fields name, birthday, etc etc.
I don’t want the persons name to be visible to the public, I want it to only be visible to the admins. I tried to go into Users->Profile Fields and change the ‘Name’, but it doesn’t give any options as I guess that’s the base / built in field? Not sure how to fix this, but it is super annoying!
Could someone share advice on how to fix?
Hello
I use the BuddyX theme, and hide the WordPress menu for my users.
Is there any way to let users change email via the Buddypress user menu?
Thanks,
LarsWordPress v 6.1.1
BuddyPress v 11.0.0
Theme Onecommunity (latest version 3.7.8) (https://themeforest.net/item/onecommunity-buddypress-theme/3713046?gclid=CjwKCAiAqt-dBhBcEiwATw-ggL19B1O2bH4PjCwmpFyse_KZ7o4KEGnurStZcFrqDBd1d-3rDApwZxoC22cQAvD_BwE)
My frontend test Site: https://staging-rezodenthodenthcom-staging.kinsta.cloud/Hi there!
1/ After updating my hosted site from php 7.4 to 8.0 (Kinsta hosting), buddypress causes the following critical syntax error !
2023/01/06 13:48:41 [error] 43493#43493: *668 FastCGI sent in stderr: “PHP message: PHP Parse error: syntax error, unexpected token “;”, expecting “)” in /www/rezodenthodenthcom_528 /public/wp-content/themes/onecommunity/buddypress/groups/single/group-header.php on line 29
The site (front and backend) is still visible but the groups are not displayed anymore in groups single page
Could you please be kind enough to help solving this first problem?2/ I usually use a child theme with two small custom codes that worked fine in php 7.4 but with php 8.0, I have a new FTAL error. So it appears that this function somehow is not working correctly with the child theme enabled: call_user_func_array()
From that stack trace in the Fatal error, it is referencing BuddyPress with it:
#2 /www/rezodenthodenthcom_528/public/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php(407): do_action(‘bp_widgets_init’)As far as I know, our custom codes were very limited in 2 templates :
Template 1: group-sidebar.php :
WE CHANGED THIS CODE:
$group_id = bp_get_current_group_id();
echo do_shortcode( ‘[rtmedia_gallery context=”group” per_page=”6″ context_id=”5″ context_id=”‘ . $group_id . ‘”]’ );
BY THAT ONE:
if ( bp_group_is_visible() ) :
$group_id = bp_get_current_group_id();
echo do_shortcode( ‘[rtmedia_gallery context=”group” per_page=”6″ context_id=”5″ context_id=”‘ . $group_id . ‘”]’ );
endif;Template 2: group-sidebar.php (for customiszation image ads in widget column) with this code:
<div class=”bp-sidebar-details”>
<div class=”bp-sidebar-details-category first”><?php _e(‘Advertisement’, ‘onecommunity’); ?></div>
<div class=”col-1-ads”>
[widget id=”media_gallery-3″]
</div>I don’t understand what could interfere in php 8.0 environment!
What do you think about it? and could you help me to solve this second issue?Thank you for your appreciated help ; )
C. GARCIA
Hello,
I am having an issue with my website. when a user is logged in and uses add to cart button, it should get to the Cart page but the problem is that when logged in user click add to cart and then view the cart then it redirects to the shop tab under BuddyPress profile. is there any way through which this issue can be sorted and redirection can be restricted?
Hopping for a solution super soon
thank youTopic: Error when setting up group
Hi, I have set up buddy press on a newly installed website, however I am encountering the following error (see below) after I create group after filling in the name and description and pressing create group and continue. Can anyone help. Thanks
Notice: Function WP_Object_Cache::delete was called incorrectly. Cache key must be integer or non-empty string, NULL given. Please see Debugging in WordPress for more information. (This message was added in version 6.1.0.) in /homepages/42/d941307253/htdocs/clickandbuilds/imaginarhub/wp-includes/functions.php on line 5835
Warning: Cannot modify header information – headers already sent by (output started at /homepages/42/d941307253/htdocs/clickandbuilds/imaginarhub/wp-includes/functions.php:5835) in /homepages/42/d941307253/htdocs/clickandbuilds/imaginarhub/wp-content/plugins/buddypress/bp-groups/actions/create.php on line 171
Warning: Cannot modify header information – headers already sent by (output started at /homepages/42/d941307253/htdocs/clickandbuilds/imaginarhub/wp-includes/functions.php:5835) in /homepages/42/d941307253/htdocs/clickandbuilds/imaginarhub/wp-content/plugins/buddypress/bp-groups/actions/create.php on line 172
Warning: Cannot modify header information – headers already sent by (output started at /homepages/42/d941307253/htdocs/clickandbuilds/imaginarhub/wp-includes/functions.php:5835) in /homepages/42/d941307253/htdocs/clickandbuilds/imaginarhub/wp-includes/pluggable.php on line 1416
Warning: Cannot modify header information – headers already sent by (output started at /homepages/42/d941307253/htdocs/clickandbuilds/imaginarhub/wp-includes/functions.php:5835) in /homepages/42/d941307253/htdocs/clickandbuilds/imaginarhub/wp-includes/pluggable.php on line 1419
Hi,
WordPress: 6.1.1
BuddyPress: 10.6.0I wanted to inform you of the warning I just got on
https://scanner.pcrisk.com/ in regards to BP. I’m aware this might just be
a false positive. In that case, please ignore, but is this something other people also get or something up with my particular setup?/wp-content/plugins/buddypress/bp-core/js/vendor/jquery-
cookie.min.js?ver=10.6.0
Severity: Potentially Suspicious
Reason: Detected potentially suspicious initialization of function pointer
to JavaScript method String.replace Ccode E __tmpvar1170183340 =
String.replace; Ccode/ E
Details: Detected potentially suspicious content.
Offset: 264
Threat dump: View code (see below)
File size[byte]: 1229
File type: ASCII
MD5: AD70A8BA0464EF7223BA502399938847
Scan duration[sec]: 0.045The following code was shown under “View code”:
[[==e.indexOf(‘”‘)%26%26(e=e.slice(1,-1).replace(/\\”/g,'”‘).replace(/\\\\/g,”\\”));try{return
e=decodeURIComponent(e.replace(n,”
“)),x.json?JSON.parse(e):e}catch(e){}}(e);return”function”==typeof
o?o(e):e}var x=d.cookie=function(e,o,n){var i,t;if(void 0!==o%26%26″f]]Hello,
I am trying to create my own notification, but it is not working.
The notification should not be for the author of the post, but for whoever is assigned as client “_sliced_client”, which is stored in the postmeta table in the database and returns the client id.
Wordpress version: 6.1.1
BuddyPress version: 10.6.0<?php // this is to add a fake component to BuddyPress. A registered component is needed to add notifications 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, 'propre' ); // Return component's with 'custom' appended return $component_names; } add_filter( 'bp_notifications_get_registered_components', 'custom_filter_notifications_get_registered_components' ); // this gets the saved item id, compiles some data and then displays the notification function custom_format_buddypress_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) { // New custom notifications if ( 'propre_action' === $action ) { $post = get_post( $item_id ); // $custom_title = $post->post_author . ' add a quote for you' . get_the_title( $item_id ); $custom_link = get_permalink( $post ); $custom_text = $post->post_author . ' add a quote for you ' . get_the_title( $item_id ); // WordPress Toolbar if ( 'string' === $format ) { $return = apply_filters( 'propre_filter', '<a href="' . esc_url( $custom_link ) . '" title="' . esc_attr( $custom_title ) . '">' . esc_html( $custom_text ) . '</a>', $custom_text, $custom_link ); // Deprecated BuddyBar } else { $return = apply_filters( 'propre_filter', array( 'text' => $custom_text, 'link' => $custom_link ), $custom_link, (int) $total_items, $custom_text, $custom_title ); } return $return; } } add_filter( 'bp_notifications_get_notifications_for_user', 'custom_format_buddypress_notifications', 10, 5 ); // this hooks to post creation and saves the post id function bp_custom_add_notification( $post_id, $post ) { if ( $post->post_type == 'sliced_quote' ) { $post = get_post( $post_id ); $client_id= get_post_meta($post_id, '_sliced_client'); $author_id = $post->post_author; bp_notifications_add_notification( array( 'user_id' => $client_id, 'item_id' => $post_id, 'component_name' => 'propre', 'component_action' => 'propre_action', 'date_notified' => bp_core_current_time(), 'is_new' => 1, ) ); } } add_action( 'wp_insert_post', 'bp_custom_add_notification', 99, 2 );Any ideas?
Thank you very much!
Regards and happy new year!