Search Results for 'buddypress'
-
AuthorSearch Results
-
August 30, 2024 at 9:49 pm #335021
In reply to: Compatibility with Divi Theme Builder
dcnotpc
ParticipantJust started a BuddyPress addon to a Divi site and it looks like a problem. The BuddyPress pages are having issues with header and footer display. All broken.
August 30, 2024 at 11:03 am #335016faheemsajwal
ParticipantTo assign a custom template to your BuddyPress registration page instead of using the standard blog post template, you can follow these steps:
Install a Page Builder: Consider using a page builder like Elementor along with the BuddyBuilder plugin. This combination allows you to create a custom registration template easily.
Create a New Template: Navigate to Templates > Add New in your WordPress dashboard. Choose “BuddyPress” as the template type and select the “Register page.”
Design Your Template: Add the necessary widgets such as “Account Details,” “Profile Details,” and a “Submit Button.” You can also customize the layout to fit your site’s design better.
Set the Template: Once your template is created, ensure it is set as the default for the registration page in the BuddyPress settings.
Test Your Changes: After saving your changes, visit the registration URL to confirm that the new template is applied correctly.
By following these steps, you should be able to assign a custom template to your BuddyPress registration page successfully. If you have any further questions or need assistance, feel free to ask!
Also, if you’re considering investing in real estate, check out Faisal Town Phase 2 for a prime location with modern amenities.August 30, 2024 at 6:56 am #335010In reply to: Activity page no load and no show nothing
energizant
ParticipantI don’t know whether to continue with buddypress or not, but
I don’t know how to do this and where exactly should I see the errors you are talking about?
August 29, 2024 at 2:57 pm #335003In reply to: Activity page no load and no show nothing
energizant
ParticipantWith regret, I think I’m going to give up on buddypress because I can’t find the solution, and I’m not getting help here, greetings to everyone.
August 28, 2024 at 9:15 am #335001konstant88
ParticipantHello everyone,
WP Version: 6.6.1-de_DE
Elementor: v3.24.4
Elementor Pro: v3.23.3
BuddyPress Version: 14.0.0I’m facing an issue where the registration form URL, defined in Settings > BuddyPress > URLs, always loads with the single post template. I can’t change it to another template. How can I assign a custom template to this page instead of using the standard blog post template? Any help would be greatly appreciated!
Thanks!
August 26, 2024 at 9:43 pm #334990In reply to: How to log Emails that generated by buddy-press
thinlizzie
ParticipantI seem to remember if you force Buddypress to use wp_mail to send its emails, then those will indeed be logged by the WP Mail Logging plugin.
Try it out.
add_filter( 'bp_email_use_wp_mail', '__return_true' );August 26, 2024 at 6:47 am #334987In reply to: Best Practices for Customizing BuddyPress Profiles
Venutius
ModeratorI think best practice really depends on your target audience and what features they may expect or desire from their profile.
One of that main profile customisation features provided in BuddyPress is the ability to “overload”, a profile template file, replacing it with your own customised version. This is a simple way to add your own features to the profile pages.
However, overloading a page means any updates to it in future by BuddyPress would need to be manually added to your overloaded page, so this method, although simple, is not the only way to add custom features to profile pages.
If you look in the plugins/buddypress/templates directory, and investigate the templates in, for example bp-nouveau, then you can see there are a lot of action hooks you could use to add further content in specific locations in each page.
This second method allows you to keep the BP provided templates unchanged, but still add the content required.
The most configurable profile I ever created was for a social networking community that wanted the user to effectively create their own theme for their profile pages. So I built the following additional plugins for the site:
1. a theme specific plugin that allowed the user to fully customise their profile colour scheme.
2. A custom header plugin that allowed the user to select their own header image.
3. Similarly, a custom background plugin.
4. My profile home and sidebar user widgets plugins to allow the user to add their own content into their profile pages.
5. Menu customisations to bring all these customisation options into a single location, and remove/simplify them in other places.
6. Integration with the overall blogging platform – providing the user with areas where they can showcase their own blogs, and also allow them a variety of options as to who those blogs are shown to.Those are just a few main examples as to the possibilities, but most of them do require some form of coding.
August 23, 2024 at 6:19 pm #334980In reply to: Make directory visible to public
avltheater
ParticipantJust to check all the boxes, I’ve changed themes and deactivated all plugins except buddypress and it’s still happening. HELP!!!
August 23, 2024 at 3:33 pm #334978Topic: Redirect login link
in forum How-to & TroubleshootingKimber254
ParticipantHi, When people are logged out the login links shows in the menu. When clicked it goes to the default wordpress login. How can I change where the links does or even remove it. I am not using the buddypress default registration.
Thank you
KimAugust 20, 2024 at 4:36 pm #334963In reply to: Forum pagination problem
George
ParticipantFor anyone that landed here from a Google search. The pagination is not working for forums set up inside BuddyPress groups. You need to copy those two files from
\plugins\bbpress\templates\default\bbpress
pagination-topics.php
pagination-replies.phpand copy them to
\wp-content\themes\[yourchildtheme]\bbpressReplace the code inside pagination-topics.php to:
<?php /** * Pagination for pages of topics (when viewing a forum) * * @package bbPress * @subpackage Theme */ // Exit if accessed directly defined( 'ABSPATH' ) || exit; do_action( 'bbp_template_before_pagination_loop' ); // Use bbPress setting for topics per page $posts_per_page = bbp_get_topics_per_page(); // Dynamically get the value from bbPress settings // Get the current page $paged = (get_query_var('paged')) ? absint(get_query_var('paged')) : 1; // Set up the custom query $args = array( 'post_type' => bbp_get_topic_post_type(), 'posts_per_page' => $posts_per_page, 'paged' => $paged, 'meta_query' => array( array( 'key' => '_bbp_forum_id', 'value' => bbp_get_forum_id(), ), ), ); // Run the custom query $forum_query = new WP_Query($args); if ($forum_query->have_posts()) : ?> <div class="bbp-pagination"> <div class="bbp-pagination-count"> <?php // Display the range of topics being viewed $start = ($paged - 1) * $posts_per_page + 1; $end = min($paged * $posts_per_page, $forum_query->found_posts); echo sprintf(__('Viewing %1$s to %2$s (of %3$s topics)'), $start, $end, $forum_query->found_posts); ?> </div> <div class="bbp-pagination-links"> <?php // Generate the pagination links echo paginate_links(array( 'total' => $forum_query->max_num_pages, 'current' => $paged, 'format' => '?paged=%#%', 'add_args' => false, 'prev_text' => __('« Prev'), 'next_text' => __('Next »'), )); ?> </div> </div> <?php else : echo '<p>No topics found.</p>'; endif; // Reset post data wp_reset_postdata(); do_action('bbp_template_after_pagination_loop'); ?>Replace the code inside pagination-replies.php to:
<?php /** * Pagination for pages of replies (when viewing a topic) * * @package bbPress * @subpackage Theme */ // Exit if accessed directly defined( 'ABSPATH' ) || exit; do_action( 'bbp_template_before_pagination_loop' ); // Use bbPress setting for replies per page $posts_per_page = bbp_get_replies_per_page(); // Dynamically get the value from bbPress settings // Get the current page $paged = (get_query_var('paged')) ? absint(get_query_var('paged')) : 1; // Set up the custom query $args = array( 'post_type' => bbp_get_reply_post_type(), 'posts_per_page' => $posts_per_page, 'paged' => $paged, 'meta_query' => array( array( 'key' => '_bbp_topic_id', 'value' => bbp_get_topic_id(), ), ), ); // Run the custom query $replies_query = new WP_Query($args); if ($replies_query->have_posts()) : ?> <div class="bbp-pagination"> <div class="bbp-pagination-count"> <?php // Display the range of replies being viewed $start = ($paged - 1) * $posts_per_page + 1; $end = min($paged * $posts_per_page, $replies_query->found_posts); echo sprintf(__('Viewing %1$s to %2$s (of %3$s replies)'), $start, $end, $replies_query->found_posts); ?> </div> <div class="bbp-pagination-links"> <?php // Generate the pagination links echo paginate_links(array( 'total' => $replies_query->max_num_pages, 'current' => $paged, 'format' => '?paged=%#%', 'add_args' => false, 'prev_text' => __('« Prev'), 'next_text' => __('Next »'), )); ?> </div> </div> <?php else : echo '<p>No replies found.</p>'; endif; // Reset post data wp_reset_postdata(); do_action('bbp_template_after_pagination_loop'); ?>Then, resave your permalinks.
August 20, 2024 at 6:45 am #334962In reply to: Trouble with translation
capexpe
ParticipantHello Lars
No I haven’t found any workaround yet and haven’t heard from the buddypress team yet. They might be in vacation, so I’m Still waiting.
I’ll keep you and the community posted.
Dom
August 20, 2024 at 6:14 am #334960In reply to: Critical Error While Activating BuddyPress Follow
Lars Henriksen
ParticipantHi
1) For my BP community, it would be nice if ‘Buddypress Follow’ was part of core and replaced the ‘friends’ functionality. It should be either/or – both together is confusing for users, IMO.
2) Thanks @venutius, for updating the plugin. I tried it on my staging site. When I clicked ‘follow’, there was a critical error, but refreshing the site fixed it, so that it showed 1 follow on user’s profile.
August 19, 2024 at 7:19 pm #334957emaralive
Moderator@mike80222, when composing a message, the “@” applies to the
BuddyPress Nouveautemplate pack, i.e, the label reads “Send @Username” as opposed to theBuddyPress Legacytemplate pack that reads “Send To (Username or Friend’s Name)” and I’m not sure why it is not the same for both but, that is current behavior. As to the inconsistency for when suggestions appear or not appear is a puzzle, at the moment.@stephunique, it is possible to filter the suggested usernames by utilizing the
bp_core_get_suggestionsfilter. If you only want to apply this filtering to messages (compose) then your callback needs to be location aware (what/which page/screen is active/loaded), as well.August 19, 2024 at 3:52 pm #334954In reply to: Critical Error While Activating BuddyPress Follow
emaralive
ModeratorThe
create_function()was deprecated as of PHP 7.2.0 and was removed in 8.0.0 (see create_function). Since you are using PHP 8.x then, it would be best to not use this plugin until it has had all compatibility issues resolved. On another note, there seems to be some interest by individuals other than the original developers to provide some sort of future support for this plugin (see Would like to take over this plugin, or help – Support forum for BuddyPress Follow).August 19, 2024 at 9:05 am #334947john201502
ParticipantHi, thanks for your reply.
I use Fastest Cache plugin, and I have previously excluded cache for the following specific paths.Contains: /members/
/(.*)/members/(.*)I also used the following code in nginx’s conf:
# /members/ specific rule
if ($request_uri ~* “^/members/”) {
add_header Cache-Control “no-cache, no-store, must-revalidate”;
add_header Pragma “no-cache”;
add_header Expires “0”;
}But it didn’t help.
Youzify didn’t mention the anti-proxy Buddypress plugin. They thought that I might not handle Ajax requests properly when using nginx anti-proxy, but they were not sure. They just confirmed that it was a problem with Buddypress, not Youzify. After I disabled Youzify, the problem still exists.
August 19, 2024 at 8:25 am #334944ashtonagar
ParticipantThe information you provided suggests a caching issue with your CDN setup for the member page activities. Here are some technical suggestions to investigate and potentially fix the problem:
1. Caching Configuration on CDN:
Check your CDN provider’s (CloudFront in this case) caching settings. You likely need to configure it to not cache dynamic content like member activities. Look for options related to “Cache Control” or “Object Caching”. You might need to set a short cache expiry time or disable caching for specific paths (e.g., /members/*).
2. Caching Headers:Ensure your server sends appropriate caching headers with the member activity data. The server should send headers like Cache-Control: no-cache, no-store, must-revalidate to prevent browsers and the CDN from caching this data.
3. Browser Caching:Although less likely, there’s a chance the browser is caching the initial response. Try clearing the browser cache and cookies after the first load to see if the issue persists.
4. Anti-Proxy Buddypress Plugin:While Youzify mentioned the anti-proxy Buddypress plugin, it’s difficult to say definitively if it’s causing the issue without more information. It’s possible the plugin is interfering with the caching mechanism. You can try temporarily disabling the plugin to see if the problem resolves. Be cautious as disabling plugins can have unintended consequences.
5. Debugging Tools:Use browser developer tools (Network tab) to inspect the network requests when loading activities. Look for any caching headers being sent and received. Additionally, check the status code of the requests – a 304 (Not Modified) might indicate the CDN is serving cached data.
August 19, 2024 at 2:53 am #334940stephunique
ParticipantHello all,
I have hidden myself as an admin, on my test site running buddypress, for obvious reasons. However, I discovered that when composing a message using Buddypress messages, when the user types in a partial name of the recipient, even a single letter, everyone that matches that name will show up, even if they are hidden from the directory. For example, typing “@a” will show “@admin” (me) as well as “@adam” or “@amanda” and this is no good.
Is there a way to remove certain users (ideally by user roles) from showing up in the “to” field?
I have WordPress 6.6.1 and Buddypress 14.0.0.
Thank you
August 19, 2024 at 2:48 am #334939Topic: All Buddypress links redirect to home page
in forum How-to & Troubleshootingstephunique
ParticipantI saw this post and it was ultimately not resolved but I can’t reply to that, so am starting a new post. Skip to the bottom to see my specs.
In that post, it is said that the issue may be due to usernames that have spaces in them.
I set up a test site with Buddypress and some test users. I have 4 test users whose names have spaces in them, like “First Last” as opposed to “FirstLast”. 3 of them cannot access any Buddypress links (such as mydomain.com/members) but 1 can. I can’t figure out how to fix this. I don’t have any redirect rules activated.
I have WordPress 6.6.1 and Buddypress 14.0.0.
Any help is appreciated.
August 18, 2024 at 5:53 pm #334937In reply to: Slow Queries
Renato Alves
ModeratorThere is currently a ticket in progress: https://buddypress.trac.wordpress.org/ticket/8413
August 18, 2024 at 5:08 am #334932In reply to: Activations emails are not being sent
cj74
ParticipantThank you all.
Update : The hosting provider fixed everything after i reached out to them. Too bad i don’t know what they did but after starting this thread i did some more testing and found out, to make long story short, it was as if buddypress had shut down the emails. No emails were going out. No nitications to me either.
August 16, 2024 at 10:36 pm #334929In reply to: Registration problems – no mail to administrator
thinlizzie
ParticipantLooks like your issues probably stem from BP changing the way new accounts are registered, which I think was introduced in BP 14 (but not sure, look into that).
So best to go back to an earlier version.
I use BP 10.6.4 with BP Registration Options to provide admin with moderation options for newly registered accounts (ie. they need to be “approved”)
So if that’s what you were doing earlier, then I’d recommend that setup.
– You can manually delete and install an older version of BP, but I would recommend you use the WP Rollback plugin, much safer.
– so, install WP Rollback plugin
– do not delete anything
– rollback Buddypress to v. 10.6.4
– all should be okIMPORTANT : you should definitely do a full site backup before you do any rollback. Just in case. I’ve done it multiple times, no issues.
August 16, 2024 at 3:42 am #334925john201502
ParticipantI used this snippet but it doesn’t work.
https://d6476bsmtk1fy.cloudfront.net/members/dontwait99/function disable_cache_for_buddypress() {
if ( function_exists(‘bp_is_current_component’) &&
(bp_is_current_component(‘activity’) || bp_is_current_component(‘members’)) ) {
nocache_headers();
}
}
add_action( ‘wp’, ‘disable_cache_for_buddypress’ );function add_nocache_to_ajax_requests() {
?>
<script type=”text/javascript”>
jQuery(document).ready(function($) {
$.ajaxSetup({
beforeSend: function(jqXHR, settings) {
if (settings.url.indexOf(‘?’) > -1) {
settings.url += ‘&nocache=’ + new Date().getTime();
} else {
settings.url += ‘?nocache=’ + new Date().getTime();
}
}
});
});
</script>
<?php
}
add_action( ‘wp_footer’, ‘add_nocache_to_ajax_requests’ );August 16, 2024 at 3:29 am #334923john201502
Participant–You can try adjusting the cache settings for Ajax requests in CloudFront or configuring Buddypress to prevent caching of dynamic content.
Thank you for your reply.could you please tell me how to configuring Buddypress to prevent caching of dynamic content?
Thank you very much.August 15, 2024 at 7:47 pm #334918In reply to: Registration problems – no mail to administrator
pellepedersen
ParticipantYou could try this: https://wpmailsmtp.com/buddypress-activation-email-notifications/
August 15, 2024 at 6:07 pm #334914Topic: Is there a buddypress trash bin?
in forum How-to & Troubleshootingrichardrcook2
ParticipantHello. I needed to fix a problem on my website romancingrarehearts.com. While doing so, I deactivated and reactivated Buddypress. Then I found that most of my pages were gone. Is there a trash bin that I can get them back from? Or are they unretrievable? I’m using theme Twenty Fifteen, buddypress 14.0.0, and WordPress 6.6.1.
-
AuthorSearch Results