Search Results for 'buddypress'
-
Search Results
-
I’m running a BuddyPress installation with over +50 000 members. At the time of writing, my versions are BP2.9 & WP4.8 While checking my log files I noticed a slow query log entry that pointed to a BuddyPress query which I’m very concerned about. It generates a subquery with a
where INclause with over +50 000 user IDs. I’m more concerned because my user base is growing and that number could become 75k or 100k. Here is a sample
SELECT
u.ID ASid
FROM
xxx_usersu
WHERE
1 = 1
AND u.ID IN (
SELECT
ID
FROM
xxx_users
WHERE
spam = 0
AND deleted = 0
AND user_status = 0
)
AND u.ID IN (
1, 3, 13, 30,........,50000 <- Problem Area, +50000 IDs passed here
)
AND u.ID IN (
SELECT
ID
FROM
xxx_users
WHERE
(
user_login LIKE '%%'
OR user_login LIKE '%%'
OR user_nicename LIKE '%%'
OR user_nicename LIKE '%%'
)
)
ORDER BY
u.display_name ASC
LIMIT
43176, 21Ref: Query is generated in this file file:buddypress/bp-core/classes/class-bp-user-query.php method:BP_User_Query::prepare_user_ids_query
My Questions:
- Is that something I should be concerned about?
- Is this something I should consider fixing with this hook $sql = apply_filters_ref_array( ‘bp_user_query_uid_clauses’, array( $sql,
&$this ));
Hi there!
I’ve used buddypress before and have never run into this issue. This is really hindering my business here!
When I click on the buddypress pages like “Groups” “Friends” “Notifications” “Messages” etc. I get this message:
“Not Found
The requested URL /members/w-a-productions/notifications/ was not found on this server.”
The URL looks like this “audular.com/members/w-a-productions/notifications/”
Any help here, this is a huge thorn in our sides for our business!
Hi i mistakenly deleted all buddypress email from my wordpress website and now my new registered users can’t receive activation email. How to solve this problem?
I have extended profile field using checkbox type, Its previously stored only the value like “Man” in bp_xprofile_data table when this field used as radio type after change to checkbox type its stored like below,
a:1:{i:0;s:3:”Man”;}
Topic: Is BuddyPRess Capable?
Would BuddyPress work for a medium-sized social site, say 1,000 active users? What about larger? I like the possibilities that BuddyPress offers but I want to make sure that it is capable (of course I need to hook it up to a good host). Also, while I’m at it what are the best hosts for WordPress platforms? I’m new to WordPress for the most part and am still figuring things out.
Topic: wp_mail rewrite
I am using mailgun and buddypress but my buddypress emails loose its formatting. I want to rewrite wp_mail in mailgun as @djpaul has mentioned in one of the threads.
Please can you provide me hints to rewrite wp_mail in mailgun. I have tried it myself but still the same problem. Mails sent through mailgun are not formatted as per format in buddy presss. All help would be highly appreciated.
Hi Forum,
I wonder if anyone can help? I have recently brought a Kleo theme witch came included with a nicely customised BuddyPress theme as shown at this link: https://seventhqueen.com/themes/kleo/members/kleoadmin/
However for technical reasons I am not able to use the Kleo theme for the website that I am creating so I will no longer be using my recently purchased Kleo theme.
The sad thing is that I actually brought that theme solely for how the looks of its BuddyPress theme…. Now the question is, is there any way that the look / design or skin of this theme can be extracted and used in my BuddyPress plugin that I downloaded from the WordPress theme site?
I look forwards to hearing if this request is possible.
Kind regards.
Fitz.
Topic: BP sign up page in two rows
I am using all the updated versions:
WP: Version 4.8.2
BP: Version 2.9.1My registration form when signing up to my site with Buddypress appears in two rows:
I think it looks good / professional this way, but it’s a little squashed / coming off the edge on mobile devices. Is there any CSS that can target this page specifically to at least keep my registration page contained within the page (even if it is a little squashed).
Topic: Get Signup meta data
hey, guys!
is it possible to “convert” groups to a custom post type?
I’m having several issues because I’m unable to do some search plugin and filter plugins, because buddypress groups are not custom post type like forums, for example.
If it were even possible to “mirror” the creation of groups and transpose a post type with the main information too … I do not know …
Any help or tip will be welcome
the question have been answered before 7 years ago in this ticket , but unfortunately the provided codes doesn’t work anymore … what i need is to show group avatar instead of the member avatar in any group update post
https://buddypress.org/support/topic/group-avatar-in-activity-stream/the question have been answered before 7 years ago in this ticket , but unfortunately the provided codes doesn’t work anymore … what i need is to show group avatar instead of the member avatar in any group update post
https://buddypress.org/support/topic/group-avatar-in-activity-stream/Topic: BP and PMPro
Hi,
Praying someone in this community may be able to assist with two issues.
1. I’m currently using BuddyPress combined with PMPro to charge members for access to a network, through the BuddyBoss ‘Boss’ theme ( https://thesmallbrandnetwork.com/ ). As such, for registration, I need new members to be processed through the PMPro checkout process, NOT able to join via the standard BP/WP signup form. I know at first this might sound like something that has been asked too many times, but I believe what I want to do differs from previous problems. When you view the site logged out/as a non member, there is a “Register” button and “Login” Button (from BP). What I need is for this “Register” button from to act the same way as the “Join” page that I have added into the title-bar menu. Despite my best efforts and countless hours of research, the BP “Register” continues to eventually redirect to the standard WP/BP signup.
I am relatively fresh still to coding with WP, thus am using the “My Custom Functions” plugin. If any code could be added through this plugin, that would be great!
2. How would change the BP “Register” button from “Register” to “Join”?
Any support for the above two problems would be massively appreciated.
Also, apologies if this has in fact been discussed before.
Thanks,
Matt
Topic: buddypress error
hello dear i hava installed buddypress on my my site http://bestonlineblog.com but when activated the plugin it automatically deactivating so what can i do?
Hi,
I have this code below for one custom post type to be shown in the activity feed. All works fine, but how can i use this also for an extra CTP?I tried adding an extra line
add_post_type_support( 'listing_2', 'buddypress-activity' );
But that is not working. Also i rather have different tracking_args for the different custom post types.Anyone? Thanks!
<?php //Listing activity support function customize_page_tracking_args_listing() { // Check if the Activity component is active before using it. if ( ! bp_is_active( 'activity' ) ) { return; } // Don't forget to add the 'buddypress-activity' support! add_post_type_support( 'listing', 'buddypress-activity' ); /** * Also don't forget to allow comments from the WordPress Edit Page screen * see this screencap https://cldup.com/nsl4TxBV_j.png */ bp_activity_set_post_type_tracking_args( 'listing', array( 'action_id' => 'new_listing', 'bp_activity_admin_filter' => __( 'Vermelding toegevoegd', 'custom-textdomain' ), 'bp_activity_front_filter' => __( 'Vermelding', 'custom-textdomain' ), 'bp_activity_new_post' => __( '%1$s heeft een nieuwe vermelding genaamd <a href="%2$s">[vermelding]</a> toegevoegd', 'custom-textdomain' ), 'contexts' => array( 'activity', 'member' ), 'comment_action_id' => 'new_listing_comment', 'bp_activity_comments_admin_filter' => __( 'Reageerde op vermelding', 'custom-textdomain' ), 'bp_activity_comments_front_filter' => __( 'Reacties op vermelding', 'custom-textdomain' ), 'bp_activity_new_comment' => __( '%1$s reageerde op <a href="%2$s">een vermelding</a>', 'custom-textdomain' ), 'position' => 100, ) ); } add_action( 'bp_init', 'customize_page_tracking_args_listing', 1000 ); function new_listing_include_post_type_title( $action, $activity ) { if ( empty( $activity->id ) ) { return $action; } if ( 'new_listing' != $activity->type ) { return $action; } preg_match_all( '/<a.*?>([^>]*)<\/a>/', $action, $matches ); if ( empty( $matches[1][1] ) || '[vermelding]' != $matches[1][1] ) { return $action; } $post_type_title = bp_activity_get_meta( $activity->id, 'post_title' ); if ( empty( $post_type_title ) ) { switch_to_blog( $activity->item_id ); $post_type_title = get_post_field( 'post_title', $activity->secondary_item_id ); // We have a title save it in activity meta to avoid switching blogs too much if ( ! empty( $post_type_title ) ) { bp_activity_update_meta( $activity->id, 'post_title', $post_type_title ); } restore_current_blog(); } return str_replace( $matches[1][1], esc_html( $post_type_title ), $action ); } add_filter( 'bp_activity_custom_post_type_post_action', 'new_listing_include_post_type_title', 10, 2 );