Search Results for 'buddypress'
-
Search Results
-
Topic: Add & Edit List in Profile
Hello ,
Im using BuddyPress , for my profile in website.
In Profile page have menu like , Profile , Activity , Notification.
For this menu can we setting in dashboard , but if i want and more menu or edit the title. Its Possible or not?For the code i find on ‘item-nav.php’
How to edit or add more menu list in profile page?I have been experimenting with Buddypress for several months, and during this time, Buddypress and WordPress has updated a few times, so I don’t know if this has to do with my issue, but: I use disposable email addresses like test@malinator.com to create dummy users to test Buddypress. It used to work fine, but today I discovered that even though I have an SMTP set up, Buddypress will not send registration activation emails to test users signed up with a disposable email address with this domain (mailinator.com). When I go to my dashboard and Users and resend the activation email, that also is not received.
As a test, I tried signing up with my personal, real email address, and that one received the activation email, which is why I believe Buddypress now does not send activation emails to disposable email addresses.
Can anyone confirm if this is true, and, how I can get them to send emails to disposable email addresses?
Currently using WordPress 6.7.1 and Buddypress 14.3.3.Thank you
Hi everyone,
I am looking for recommendations to evaluate the performance of my BuddyPress based website. I have considered tools like PageSpeed Insights and Apache JMeter, but these are more focused on response times, URL rendering, and similar metrics.
What I really need is a way to conduct a stress test that includes typical BuddyPress user actions, such as:
Sending messages between users.
Creating groups.
Posting in forums.
Other BuddyPress-specific interactionsI found the BuddyPress Default Data plugin, which allows me to create users, messages, friend connections, groups, topics, activity items, profile data, etc., and seems useful for testing purposes. However, I am not sure if this plugin would be a good option to test server resource consumption during these actions, or if it is unrelated to what I need.
Has anyone used this plugin for performance testing? Or could you suggest any tools or specific approaches to simulate these types of interactions in a testing environment and measure the server impact?
Thank you in advance for any ideas or suggestions!
Topic: Hiding hidden groups
Hi,
Hidden groups in BuddyPress allow their members not only to invite others, but also to modify the group settings (for instance, to revert to public group…). Is there a fix for this?
Thanks for your help.
Topic: Buddypress URLs
Hello, I was wondering how I could make dynamic URLs so I could add some custom navigation buttons?
Like /members/SOME-USER/friends/
I am aware that I can replace SOME-USER with “me” to make the links work relative to that specific user, but I need to make the links for the current displayed user.https://www.mywebsite.com/members/$displayed_user/friends/
https://www.mywebsite.com/members/$displayed_user/groups/
etcI use Youzify also. Thank you so much in advance.
Topic: Adios @imath
We are surely going to miss you @imath.
Here’s a warm goodbye from the BuddPress community to the BuddyPress lead developer.Share your thoughts on future of BuddyPress.
I know this is a personal choice but I feel his decision was really from the heart. WordPress is no longer the shining star of open source and I will be migrating my community sites very soon as well.
Hello. I wrote a sitewide notice on my site’s backend (users > site notices) to appear on my dating site members’ homepage. But when I dismissed the notice from my own homepage by clicking on the X, I couldn’t get it back for some reason. And it looks like only my homepage is affected, not any of my members.
Does anybody know how I can get my sitewide notice back after dismissing it? At the time that I dismissed it, I figured if I could do it that easily, I could get it back just as easily. Looks like I was wrong.
My site: romancingrarehearts.com
I’m using WP version 6.7.1
Buddypress version 14.3.3
2024 themeThanks for anybody’s help!
I’d like to change the value of ‘width’ and ‘margin-top’ to change the size and position of avatar.
I can’t find the css file which define them.
I tried different themes, the avatar’s size and position are the same, So I think it is defined by plugin.
WordPress version: 6.7.1
BuddyPress version:14.3.3
A link to my site: https://www.fatu.cn/members/marine/Topic: Working on PC but not mobile
My Buddypress group only works on computers, it doesn’t work on mobile. Anytime I try to view my activity page or members page, I get this message:Post Update All Members 0 Mentions 0 RSS Feed Search Activity… Search Show: — Everything — New Members Profile Updates Updates Friendships New Groups Group Memberships Group Updates Posts Comments Loading the community updates. Please wait. Read more
But it works perfectly fine on my computer, what do I do?
Wordpress version- 6.7.1
Buddypress version- 14.3.3Hello BuddyPress community,
I’m developing a plugin to enhance BuddyPress group functionality by restricting group creation, membership, and access based on member types and group types. The goal is to dynamically control access to specific groups while allowing flexibility for users to create their own groups within defined restrictions.
What I Want to Achieve:
Restrict group creation:
Example: Only users with the member type “Femme” can create or join a group of type “groups femmes”.
Other member types (e.g., “Homme”) should be unable to interact with these groups.
Dynamic flexibility:
A member type (e.g., “Femme”) can create and join multiple types of groups.
Group access permissions are defined by admin-configured mappings of group types to member types.
Admin interface:
An admin page where:
Group types can be created dynamically.
Group-member restrictions can be managed and displayed in a user-friendly table.What I’ve Tried So Far:
Admin Page Code:
I’ve built a basic admin page that allows mapping group types to member types:
function bpga_admin_page_content() {
// Example group-member mapping.
$group_restrictions = get_option( 'bpga_group_restrictions', [] );
$available_member_types = [ 'femme', 'homme', 'autres' ];
$existing_group_types = groups_get_group_types();echo '<h1>Group Access Settings</h1>';
foreach ( $existing_group_types as $group_type => $label ) {
echo '<p>' . esc_html( ucfirst( $label ) ) . ': ';
echo isset( $group_restrictions[ $group_type ] )
? implode( ', ', array_map( 'ucfirst', $group_restrictions[ $group_type ] ) )
: 'No restrictions';
echo '</p>';
}
}
Restricting Group Access:
I attempted to restrict group access during the creation process using the groups_create_group() hook but struggled to tie this seamlessly to member types. Here’s an example snippet:
add_filter( 'groups_user_can_create', function( $can_create, $user_id ) {
$user_type = bp_get_member_type( $user_id );
if ( $user_type === 'homme' && groups_get_current_group_type() === 'cercle_femmes' ) {
return false; // Block "homme" from creating "cercle_femmes".
}
return $can_create;
}, 10, 2 );Dynamic Group Types:
Group types are created using groups_register_group_type():
groups_register_group_type( 'cercle_femmes', [
'labels' => [ 'name' => 'Cercle des Femmes' ],
'has_directory' => true,
] );Challenges I’m Facing:
Group Creation Logic: How can I seamlessly enforce restrictions at the group creation stage?
Permissions for Existing Groups: What’s the best way to enforce membership restrictions for already-created groups?Dynamic Interface: Any advice on building a scalable admin interface for managing these mappings?
Looking for Guidance:
Am I approaching this the right way with groups_register_group_type and bp_get_member_type?
Are there better hooks or filters to enforce these restrictions dynamically?Examples or suggestions for enhancing the code structure are welcome!
Thanks in advance for your insights. I’d be happy to share progress and refinements once this is functional.Hi,
The BuddyPress xprofiles website field turns https urls into http, which does cause browsers to show a security warning when these urls are clicked on in a member’s profile. I could not find an answer to that issue.
Thanks for your help,
Philippe
After installation and configuration of BuddyPress plugin we are getting blank activities on the page. But we are able to see the activities in activity options in backend. Please can you help to resolve this issue.
Theme: Royal Elementor Kit
Wordpress: 6.7.1
PHP: 7.4Hi,
I am using the “BuddyPress Messaging Control” plugin (available here) and ran into some bugs with it. The creator has not responded so I thought I should ask here.Issue 1:
This plugin is used to restrict who (based on user roles) can send how many messages to whom and within what time period, eg free user roles can send 10 messages a week or only reply to messages sent to them, but paid users can send unlimited messages to anyone).When I tested this plugin with the latest Buddypress and WordPress version and BuddyX theme, when you go to send a message, and your account is restricted, there is a message that says “Your messaging is capped, you can send a further”. and “Your messaging is set to Reply Only, you can only message users who have previously sent you a message, in addition you are only able to send another”. It doesn’t show the quota, and I would like for it to show it, because this just looks silly.
Issue 2 and 3:
In the Buddyboss platform (Buddyboss says anything made for Buddypress is compatible with Buddyboss, but it doesn’t actually seem so) the messages can be sent by simply pressing enter, there is even a message that says “Enter to Send Shift+Enter to add a new line”. But, pressing the “enter” key doesn’t visibly do anything, ie the message that you typed still stays in the text box, it doesn’t move to the sent messages box, so it is not obvious that a message was sent. Then the user will repeatedly press “enter” until they run out of their alloted messages. Then a message appears that says “There was a problem sending your message.”The first of this issue is obviously the message not “sending” upon pressing “enter”.
The second of this issue is that the message itself is vague and not specific: It should say “You have used up your message quota for this period.”I am wondering if anyone can help with fixing these things.
Thank you in advance.Hi BuddyPress Community,
I’m having an issue with my website where BuddyPress profile pages aren’t rendering correctly when viewed in the Chrome browser. Here are the details:
The layout appears broken, with profile sections overlapping or not displaying at all.
The issue seems to occur only in Chrome (tested on both Windows and macOS), while other browsers like Firefox and Edge render the pages just fine.
Clearing the browser cache and disabling extensions in Chrome doesn’t resolve the issue.
What I’ve Tried:
Checked the BuddyPress templates in my theme and confirmed there are no customizations causing conflicts.
Switched to a default WordPress theme (Twenty Twenty-Three), and the issue persists.
Tested the website in incognito mode on Chrome, but the problem still occurs.
Verified there are no JavaScript errors in the browser console.
Could this be related to Chrome’s rendering engine or a specific CSS/JS compatibility issue with BuddyPress? Are there any settings in BuddyPress or Chrome I should check to fix this? Should I share with you the URL of the site so that you can check if this issue is happening on your end or not?
Any guidance would be greatly appreciated!Hello BuddyPress team,
I’m using the BuddyPress plugin version 14.3.1 alongside WordPress 6.6.2 and have been encountering deprecated class error messages in my site logs. These messages point to line 6085 of the file wp-includes/functions.php and indicate the use of outdated classes like BP_REST_Activity_Endpoint and BP_REST_Members_Endpoint. The notices suggest replacing them with BP_Activity_REST_Controller and BP_Members_REST_Controller, respectively, as they’ve been deprecated since version 15.0.0.
Here are some examples of the error messages:
PHP Deprecated: The BP_REST_Activity_Endpoint class is deprecated since version 15.0.0! Use BP_Activity_REST_Controller instead. in /wp-includes/functions.php on line 6085
PHP Deprecated: The BP_REST_Members_Endpoint class is deprecated since version 15.0.0! Use BP_Members_REST_Controller instead. in /wp-includes/functions.php on line 6085
I’ve attempted troubleshooting by switching to the default WordPress theme and disabling non-essential plugins (including BP Classic), but the errors persist. Using the Query Monitor plugin, the deprecated notices seem to be directly linked to BuddyPress.Could you confirm if this behavior is expected? Is there a patch or a recommended solution to address this issue, as I’m already running the latest version of the plugin?
Thank you for your assistance, and I look forward to your guidance.
Best regards,
Rafael João Ribeiro
fisicagames.com.brHello guys!
I’ve seen this question in here a couple of times and maybe others would enjoy this code.
I couldn’t find a good solution in trying to “hide” the official and hidden groups, when users are creating them (it just would not allow me to hide them!).I then managed to fix a code and make it work so at least it shows an error when a user (besides admin) tries to create a group that is NOT private. In this way when a user tries to create a public/hidden group it will not allow the user to “proceed” with the next step unless private group is chosen.
Feel free to update the CSS to your liking!
Hope it helps, enjoy! 🙂
function restrict_group_type_selection() { // Ensure this script only runs during the group settings creation step if (bp_is_group_creation_step('group-settings')) { // Check if the user is not an admin (wrap the condition outside the script for cleaner HTML output) if (!current_user_can('manage_options')) { ?> <style type="text/css"> .group-type-error-message { color: #ffffff; background-color: #f95959; position: relative; margin-top: 20px !important; border: 0 !important; font-weight: 600; } } </style> <script type="text/javascript"> document.addEventListener('DOMContentLoaded', function () { const nextButton = document.getElementById('group-creation-next'); // Target the "Next step" button if (nextButton) { nextButton.addEventListener('click', function (event) { const selectedGroupType = document.querySelector('input[name="group-status"]:checked'); let errorContainer = document.getElementById('group-type-error-message'); // Remove any existing error message if (errorContainer) { errorContainer.remove(); } if (!selectedGroupType || selectedGroupType.value !== 'private') { // Prevent moving to the next step if the group type is not 'private' event.preventDefault(); // Create and display a styled error message errorContainer = document.createElement('div'); errorContainer.id = 'group-type-error-message'; errorContainer.className = 'group-type-error-message'; errorContainer.innerText = 'You are only allowed to create private groups.'; // Insert the error message after the "Next" button nextButton.parentNode.appendChild(errorContainer); } }); } }); </script> <?php } } } add_action('bp_after_group_settings_creation_step', 'restrict_group_type_selection');