Search Results for 'buddypress'
-
Search Results
-
WordPress 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: Gamipress Activity Stream
Hello,
I installed Gamipress on my Website. It runs with Buddyboss and Buddypress.
I don’t want the points the people get to be shown on the activity feed.Under settings – Add-ons – Buddypress – Where place user points: I didn’t turn on “on activity. It is turned off, but it is posted on the activity feed (news feed). How can I turn it off?
Topic: 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!Good day to you (all),
I’m working a new site, so this issue revolves with the staging environment. I use WPLMS, everything from theme, wordpress to plugins are up-to-date. And my problem is that the core function of adding students to groups isn’t working. I can add them in admin, and I see that they are added. But students doesn’t see a class added to it’s profile or is able to access the class.
The first reply from WPLMS support was: “I think its due to some kind of caching or something ,pelase clear cache and deactivate it for day or two and check this issue again.”
So I went to Kinsta Hosting and they told me that the staging environment has all caching options disabled. So I went back to WPLMS.
Their second reply is: “groups_join_group is a buddypress core function which is not working in your site .
Please contact buddypress plugin author support on this. in the past with your site we had a similar experience with caching where profile menu items were not appearing. This is caching believe it or not. I have debugged this already. If host cannot resolve this you can consider changing the webhost to wpengine.”
Could you help me? Adding students to classes/groups is essential for my dynamic educational website.
My website: https://env-meestergijs-premium.kinsta.cloud/
Buddypress: 10.6.0
WP: 6.1.1Thanks,
Gijs
Topic: Custom post type in Activity
When I add custom post type from Eventon plugin to buddypress activity, buddypress shows title : “admin added a new event, event-name-here”
How can I change the “added a new” part of that? I’ve searched everywhere, but cannot find where it is coming. Any advice?
Hi,
It seems like the e-mail notifications on my website using Buddypress are not working. No one is getting any e-mail notifications such as private message’s or friendship requests.
Does anyone have the same problem and/or a solution?
Thanks in advance!
can a moderator delete my buddypress.org account please I cant see the delete account button on my profile and I cant access settings