Search Results for 'buddypress'
-
AuthorSearch Results
-
January 29, 2024 at 3:22 pm #333010
In reply to: New post not visible until refreshed from browser.
Varun Dubey
ParticipantPlease make sure you have enabled the following option for BuddyPress Settings >> Options.
Activity auto-refresh >> Automatically check for new items while viewing the activity streamJanuary 29, 2024 at 3:17 pm #333009In reply to: BP-12. – BP Classic
giszech
ParticipantHi Varun,
Thank you for your answer – but I cannot delete the pages “under construction” they are not visibly but they are still linked in the WooCommerce Membership Tool.What would happen, if I deinstall the Buddypress 12 and BP Classic and install BP 12 again? Would the Plugins which I have already configured crash down?
As I am still developing the Buddypress I donβt have any activities of members, only a lot of configurations in different third party Buddypress plugins. Would I have to delete them too?Best wishes
GiselaJanuary 29, 2024 at 2:45 pm #333008In reply to: Is BuddyPress compatible with Ultimate Member?
Varun Dubey
Participant@jerrythemouse To add a membership layer, you can use Paid Membership Pro, which also comes with a BuddyPress addon.
Paid Memberships Pro – Content Restriction, User Registration, & Paid Subscriptions
January 29, 2024 at 2:39 pm #333007In reply to: BP-12. – BP Classic
Varun Dubey
Participant@giszech Delete old BuddyPress pages with “under construction” subtitle to avoid conflicts with the new setup after activating BP Classic. You can deactivate BP Classic after that.
in BP v12, these pages are not required anymore.January 29, 2024 at 12:52 pm #333006In reply to: Fatal Error
Amelia Hansen
ParticipantHi there, and welcome to the world of BuddyPress! Don’t worry; the 500 error can be daunting for beginners, but we’ll work together.
I’ve seen this issue reported before with the Lambda theme and BuddyPress, and it boils down to a compatibility issue with the navigation functions. Here’s how we can tackle it:1. Debug Mode Explained:
Good job enabling debug mode! The error message you shared (“Call to a member function get_primary() on null”) points to line 2558 in bp-core-functions.php. This line attempts to access a navigation menu item that’s not available, causing the 500 error.2. Don’t Modify Core Files:
While removing the problematic line might seem tempting, avoiding modifying core BuddyPress files directly is crucial. This can cause conflicts and instability down the line.3. Theme Compatibility Fix:
Instead, let’s explore theme compatibility options:
Theme Update: Check if an updated version of Lambda is available. Developers often fix compatibility issues in newer versions.
Theme-Specific Navigation Hook: Some themes, like Lambda, provide custom hooks for modifying the navigation. Research Lambda’s documentation or contact their support team to see if such a hook exists. You can then use this hook to customize the BuddyPress navigation without touching core files.
Alternate Theme: Unfortunately, if compatibility solutions are unavailable, switching to a different theme that plays well with BuddyPress might be necessary. Popular choices include BuddyPress-compatible themes like BuddyBoss, BuddyPress Theme, and Total.4. Community Resources:
Don’t hesitate to tap into the wider BuddyPress community for support:
BuddyPress Forums: Head over to the BuddyPress forums and search for similar issues related to Lambda and navigation. You might find existing solutions or helpful advice from other users.
BuddyPress Slack: Join the BuddyPress Slack community to chat with developers and experienced users in real-time.5. Next Steps:
Based on your preference and technical comfort level, please choose one of the suggested solutions and try it out. If you need further assistance with specific configurations or troubleshooting, please share more details, and we can delve deeper together.
Remember, the BuddyPress community is friendly and supportive, so don’t hesitate to ask for help. Good luck, and I hope you get your BuddyPress site up and running smoothly soon!January 29, 2024 at 8:20 am #332999In reply to: Is BuddyPress compatible with Ultimate Member?
JerrytheMouse
ParticipantCan you explain this to me? I am building a membership site that needs to accept money subscriptions; but I also want the functionality of BuddyPress galleries for our members, and the facebook-like interface that lets people chat with one another.
Do I need to scrap BuddyPress and do UltimateMember only?
January 28, 2024 at 4:47 pm #332990In reply to: Solved – BuddyPress Smtp Settings
Manuel Camargo
ParticipantThis is the advent of the spammers in the buddypress forum?
January 28, 2024 at 9:32 am #332985In reply to: What do you expect from 14.0.0?
Gomle
ParticipantI am glad to hear that a v.14 is planned!
For 10 years I’ve tried to build something with buddypress, but I have never been able to launch a completed project, as I haven’t had the skills to make it as functional as it needed to be.I am one of those guys that have used wordpress + various other members plugin + freelancer to make what I want.
Every community is different – so is the ones I’ve tried to make, and more often than not I haven’t needed 60% of the functionality coming out of the box in buddypress. But there are always something missing, at least for what I wanted to use Buddypress for.
In version 14 I hope to see more functionality (presented in a clear way for the users) towards user-interacting: Easy to use notification system for 100% of interactions between users.
All notifications is so, so important – as this is the way to bring members back. “Lila has sent you a message, click here to see”, “You got a new friend request”, “Someone replied to your topic”.. This brings people back, helping to grow the community!
So: Live popups and emails + bell notifications for:
Private messages, new bbpress replies / new topics, bbpress mentions, commenting, like buttons, added, follows, friend requests, accepted friend request, rejected friend requests, rating of content, e.g posts, forum posts etc.And the entire notification system must be easy to use for both members and the admins!
Not all admins have coding skills. We just need an easy way to implement a bell in the header, which nicely presents new notifications. Small things like that is what I’ve been looking for.And I have often found that 50% of it is working as I hoped, but then the other 50% is just not there. Forcing me to go to Freelancer, and from the developers over there, getting told: “You don’t need such a heavy tool like buddypress to accomplish this. Let me fix it for you just using wordpress and UsersWP”.
January 28, 2024 at 4:57 am #332983John
ParticipantI didn’t realize that I can replicate the buddypress-functions.php file within the template, problem solved.
Thank you, love it.
January 27, 2024 at 8:08 pm #332982In reply to: Buddypress and Restrict Content Pro Membership
eluyawi
ParticipantHi Varun, I have checked a problem with your code.
The BuddyPress menu is composed of two parts, a sub menu and the content of the sub menu (I attach a screenshot to explain it).
https://postimg.cc/Hcq07cxKIn this function, I am written in the content part
// Function to set the title of the Membership Details tab function wbcom_rcp_buddypress_membership_screen_title() { echo 'Membership Details'; // Title displayed on the Membership tab }How can I create a submenu in the SubMenu part of BuddyPress? (In the screenshot it’s vere clear
January 27, 2024 at 7:41 pm #332981In reply to: BuddyPress 12.2.0 Maintenance Release
Mathieu Viet
ModeratorSorry to read about your issue. When you say you updated, if the BuddyPress version you were using before the update was < 12.0, then have you tried to install and activate BP Classic?
Have you tried to deactivate the Learndash integration you mentioned to see if these profile pages were back once done ?
If none of the above worked, can you try to add
define( 'BP_LOAD_DEPRECATED', true );into your WP-config.php file to see if some of your plugins are still using deprecated functions (we only load back to 2 previous versions of BuddyPress otherwise).Best to be sure to narrow the possible causes is to deactivate every plugin but BuddyPress and to activate a WP bundled theme and then reactivate everything one by one to see what plugin/theme is conflicting with BuddyPress.
January 27, 2024 at 6:17 pm #332978In reply to: BuddyPress Profile Edit
eluyawi
ParticipantThanks Varun,
I have installed BuddyPress ver 12.2.0
I have checked this article of xProfile fields https://bpdevel.wordpress.com/tag/wordpress/
but I don’t understand because I use the version 12.2.0.Do I have to install any plugin?.
https://postimg.cc/gallery/1yRLtqk (attached screenshot of what I have.
January 27, 2024 at 10:53 am #332972In reply to: Buddypress and Restrict Content Pro Membership
Varun Dubey
ParticipantYou can use the following code snippet to create a new tab to display at BuddyPress Profile.
// Function to add a custom tab for Membership Details in the BuddyPress profile function wbcom_rcp_buddypress_add_membership_tab() { global $bp; // Define a new navigation item for the BuddyPress profile menu bp_core_new_nav_item(array( 'name' => __('Membership', 'textdomain'), // The name of the tab 'slug' => 'membership', // The slug for the tab, used in the URL 'screen_function' => 'wbcom_rcp_buddypress_membership_screen', // The function that will load when the tab is clicked 'position' => 50, // Position of the tab in the profile navigation 'parent_url' => bp_loggedin_user_domain() . '/membership/', // The parent URL for this sub-navigation 'parent_slug' => $bp->profile->slug, // The slug of the parent navigation item 'default_subnav_slug' => 'membership' // Default sub-navigation slug )); } // Function to handle the display of the Membership Details tab content function wbcom_rcp_buddypress_membership_screen() { // Add the title and content to the Membership tab using actions add_action('bp_template_title', 'wbcom_rcp_buddypress_membership_screen_title'); add_action('bp_template_content', 'wbcom_rcp_buddypress_membership_screen_content'); // Load the BuddyPress plugin template for displaying the tab content bp_core_load_template(apply_filters('bp_core_template_plugin', 'members/single/plugins')); } // Function to set the title of the Membership Details tab function wbcom_rcp_buddypress_membership_screen_title() { echo 'Membership Details'; // Title displayed on the Membership tab } // Function to display the content of the Membership Details tab function wbcom_rcp_buddypress_membership_screen_content() { // Use the shortcode [subscription_details] to display membership information echo do_shortcode('[subscription_details]'); } // Hook the function to add the Membership tab into the BuddyPress setup navigation action add_action('bp_setup_nav', 'wbcom_rcp_buddypress_add_membership_tab');You can use a plugin to add code snippets to your WordPress website using a plugin like “Code Snippets.” This plugin allows you to add custom PHP code snippets to your site without editing your theme’s functions.php file.
January 27, 2024 at 10:46 am #332971In reply to: Profile picture issue
Varun Dubey
Participant@fourbfb you can try to debug with the following steps.
1- Temporarily deactivate other plugins to rule out conflicts, as another plugin might interfere with BuddyPress’s upload functionality.
2- Switch to a default WordPress theme like Twenty Twenty to check if the issue is theme-related.
3- Verify PHP settings such as upload_max_filesize and post_max_size are adequate in your php.ini file.
4- Use the browser’s developer console (F12) to check for JavaScript errors that might block the upload process.
5- Ensure that the profile photo and group icon uploads are enabled in BuddyPress settings.January 26, 2024 at 7:04 pm #332961erisf
ParticipantHello, I’d like to modify the buddypress registration page (site.url/register). I can’t find a page with that name in my page list, it isn’t there when editing the theme, and editing the fields under users isn’t enough for me.
I want to modify the APPEARANCE of the page, along with the APPEARANCE of all other buddypress pages, like the modify/reset password pages, and everything else that’s needed for user registration.
Any help?
January 26, 2024 at 11:47 am #332956eluyawi
ParticipantHi There,
How can I add the section membership account of Restrict-content-PRO plugin (It’s a shorcode [subscription_details]) as a new field in the Buddypress dashboard?
January 26, 2024 at 11:15 am #332955Topic: BuddyPress Profile Edit
in forum How-to & Troubleshootingeluyawi
ParticipantHi there,
I have installed BuddyPress and have been testing it, and I have an error.When I edit my Name and save the changes. At the moment the changes do not appear, but I have checked in the Users section of WordPress that they have been saved.
How can I make the changes appear once you hit the save button? can you help me?
Thans
January 26, 2024 at 3:49 am #332953In reply to: Solved – BuddyPress Smtp Settings
riazoo518
ParticipantHi,
Have you tried checking your SMTP settings in BuddyPress directly? Ensure they align with the configuration in WP Mail SMTP plugin. Additionally, verify if your hosting provider has any specific requirements for SMTP setup. You may need to coordinate with them to improve email deliverability. Good luck!January 25, 2024 at 6:18 pm #332951In reply to: Is BuddyPress compatible with Ultimate Member?
Varun Dubey
ParticipantEither Ultimate Member or BuddyPress; you can not use both together.
January 25, 2024 at 1:08 pm #332948In reply to: BuddyPress 12.2.0 Maintenance Release
martenw
ParticipantWarning in BP 12.2.0
[25-Jan-2024 02:32:13 UTC] PHP Warning: Attempt to read property “activity” on null in /var/www/eufort-sokolniki/wordpress/current/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php on line 643
[25-Jan-2024 02:32:13 UTC] PHP Warning: Attempt to read property “id” on null in /var/www/eufort-sokolniki/wordpress/current/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php on line 643January 25, 2024 at 11:33 am #332947In reply to: Activity ‘Load More’ strange behaviour
Varun Dubey
Participantπ Depending on your website’s plugins, theme, and any custom BuddyPress codes. BuddyX is ready for BPv12+ it does not need BP Classic. All our plugins are also ready for BPv12+.
January 24, 2024 at 3:03 pm #332934Varun Dubey
Participant@thesun2012 bp_legacy_theme_ajax_messages_star_handler is not mandatory; you can also create your custom handler based on it
for examplefunction wbcom_custom_buddypress_ajax_handler() { check_ajax_referer('custom-bp-ajax-nonce', 'security'); $displayed_user_id = isset($_POST['displayed_user_id']) && !empty($_POST['displayed_user_id']) ? (int) sanitize_text_field($_POST['displayed_user_id']) : get_current_user_id(); $message_id = isset($_POST['message_id']) ? (int) sanitize_text_field($_POST['message_id']) : 0; $star_status = isset($_POST['star_status']) ? sanitize_text_field($_POST['star_status']) : ''; $bulk = isset($_POST['bulk']) && !empty($_POST['bulk']); if (!bp_is_active('messages', 'star') || empty($message_id) || !is_user_logged_in() || !bp_core_can_edit_settings()) { wp_send_json_error(array('message' => 'Invalid request or insufficient permissions.')); return; } $result = bp_messages_star_set_action(array( 'action' => $star_status, 'message_id' => $message_id, 'bulk' => $bulk, 'user_id' => $displayed_user_id )); if ($result) { wp_send_json_success(); } else { wp_send_json_error(array('message' => 'Failed to update message status.')); } } add_action('wp_ajax_wbcom_custom_buddypress_action', 'wbcom_custom_buddypress_ajax_handler');AJAX Request Adjustments like this
jQuery.ajax({ url: ajaxurl, type: 'POST', data: { 'action': 'wbcom_custom_buddypress_action', 'displayed_user_id': displayedUserId, // Include if available 'message_id': messageId, 'star_status': starStatus, // Additional data... }, success: function(response) { // Handle success }, error: function(error) { // Handle error } });We can suggest modifying the bp_legacy_theme_ajax_messages_star_handler() function to handle the displayed user ID and use the logged-in user ID as a fallback.
function bp_legacy_theme_ajax_messages_star_handler() { if ( false === bp_is_active( 'messages', 'star' ) || empty( $_POST['message_id'] ) ) { return; } // Check nonce. check_ajax_referer( 'bp-messages-star-' . (int) $_POST['message_id'], 'nonce' ); // Check capability. if ( ! is_user_logged_in() || ! bp_core_can_edit_settings() ) { return; } // Get the displayed user ID or fallback to the logged-in user ID. $user_id = isset($_POST['displayed_user_id']) && !empty($_POST['displayed_user_id']) ? (int) $_POST['displayed_user_id'] : get_current_user_id(); if ( true === bp_messages_star_set_action( array( 'action' => $_POST['star_status'], 'message_id' => (int) $_POST['message_id'], 'bulk' => ! empty( $_POST['bulk'] ) ? true : false, 'user_id' => $user_id // Use the determined user ID ) ) ) { echo '1'; die(); } echo '-1'; die(); }January 24, 2024 at 7:50 am #332932John
ParticipantThe issue I’m facing is related to integrating BuddyPress into my theme. I’ve relocated the entire Messages component to a custom page that isn’t the default BuddyPress page. When users click on the Star and Unstar buttons, the functionality doesn’t work as intended. This is because it is loaded via AJAX using the
bp_legacy_theme_ajax_messages_star_handlerfunction, and this function callsbp_messages_star_set_actionwith the default user ID being the displayed user ID, You know, thebp_displayed_user_id()function doesn’t recognize the displayed user ID when called through AJAX.It would be more appropriate to change
bp_displayed_user_id()tobp_loggedin_user_id()in this context πI acknowledge that I could rewrite the code, but it’s preferable to maintain everything in its default state.
Thank you.
January 23, 2024 at 10:36 pm #332926In reply to: Activity ‘Load More’ strange behaviour
John Simpson
ParticipantNow updated Buddypress to v12.2 β¦β¦..Issue still there.
January 23, 2024 at 4:29 pm #332919In reply to: Activity ‘Load More’ strange behaviour
John Simpson
ParticipantWordpress v6.4.2
Buddypress v12.1.1
BP Classic v1.2.0Page Builder by SiteOrigin
Theme SiteOrigin Corp -
AuthorSearch Results