Hi @digitalchild
I just read your blog post. It’s interesting you couldn’t get define( 'BP_SEARCH_SLUG', 'searchresults' ); to work outside of wp-config.php. Have you tried creating a bp-custom.php file and popping the constant definition in there?
Ref: https://codex.buddypress.org/plugindev/bp-custom-php/
Hi Roquefort.
After I posted this I investigated the source code and came to the same conclusion as you. BuddyPress does take over WordPress search and causes any other WordPress search (including the inbuilt one) to stop working.
I did however find a work around! What happens is buddypress defines a search slug that is the same as WordPress. What you have to do is redefine the buddypress search slug to something else and your search will start working again.
Basically you want to put the following in your wp-config.php
`define( ‘BP_SEARCH_SLUG’, ‘bpsearch’ );
I tried to load this further up the stack to try and override this but wp-config seemed to be the only place this worked.
You can find out more about how I worked this out over at this post:
BuddyPress and WordPress Search
I am experiencing the similar issues. BuddyPress by default “hijacks” the WordPress search, and searches seem to only be applied against my BP pages – which are few. I need my WordPress search back.
If there isn’t a way to include both (and given my Google searches, there doesn’t seem to be,) is there a way to disable BuddyPress search completely?
If your goal is to style the member diretory, which is set by default, you have to style it through CSS or modify the template from ithin a child theme. You can’t do this by adding a personnal template as for an usual WP page, to the BP (internal) page named Members.
BuddyPress Components and Features
BuddyPress Theme Development
Add BuddyPress Styles to a Theme
Hi,
I recently moved my site to a new host. I’m running the latest versions of WordPress and BuddyPress.
After the move, my avatars and images are incorrect sizes on the activity stream:
http://www.aftergiving.com/activity/
I was using Jetpack’s Photon. I’ve disabled Photon hoping that would solve the problem but no luck. I’m wondering if anyone has any ideas of what could be wrong?
Thanks much for any help.
Best,
Denise
I’m sorry this isn’t a Buddypress question, but I have been looking how to do what you have done in the following quote all over the internet. I’ve made a custom post type on my main site and have queried it onto my subsites, but am having trouble.
Please tell me how you were able to do this:
With BP_ENABLE_MULTIBLOG enabled, BuddyPress content will be displayable on any site in your network, and BP links will always point to the current site. Thus,
on http://boone.example.com/, profile links will point to http://boone.example.com/members/boonebgorges/
on http://example.com/boone/, profile links will point to http://example.com/boone/members/boonebgorges/
on http://example.com/, profile links will point to http://example.com/members/boonebgorges
and so forth.
Any reading material, places I can look in the code, rants on how you did it, or just anything you can share with me will help me at this point and leave me forever grateful.
Thank you so much and I’m sorry that this isn’t really a buddypress question.
Hi all. We need two-factor authentication on our site. Is BuddyPress compatible with Google Authenticator? Thanks in advance!
We’re now in the 2.0 aera.
To apply changes to your BP 2.x site.
– Upload any theme you want and check first if it works with WordPress, specially by creating new users and sending messages.
– Upload and activate BuddyPress. Check conscientiously his settings. Changecalso the permalinks settings to your need (except by default).
– If everything is fine, after testing of course, you create then a child theme.
– if you need to alter some BP templates, you get copies of them from bp-templates/bp-legacy/buddypress/ and put them in your child-theme/community/ or child-theme/buddypress/ directory. All other files, which are not (BP files) filed in bp-legacy, should be copies of your original theme added to your child theme.
References:
all comments in bp-templates/bp-legacy/buddypress-functions.php
https://codex.wordpress.org/Child_Themes
https://codex.wordpress.org/Function_Reference/get_template_part
Thanks for you reply, but that doesn’t seem to work. It doesn’t display anything.
I find this quite tricky, actually: I’ve tried a number of variations of the same flavor, but nothing seems to work. It’s easy enough to get the display name, but the user_login or nicename is… challenging. In comments meta, at least.
If I were smarter, I could probably put the info included at the link to good use, but I am what I am…
https://buddypress.org/support/topic/how-to-get-user-profile-data/
yeah sure, currently its “contact form 7”
there i could manage the form right from the admin. there is field for the incoming messages, “message body”
could i use the function from buddypress here? like bp_get_member_profile_data(), or bp_member_name() ? i was just not positive that it will work, and didnt try it yet. now im just building up the structure of the web, so i just wanted to ask if it is possible.
if it is really that easy, than sorry for the silly question 🙂
Hi,
I am facing the same issue on buddypress 2.0.1 with WPLMS theme. I am new to wordpress, php so any help would be great..
Thanks,
Chandana.
Are there any plugins for buddypress which allow my users to like “things” (which either I or users can define?).
Specifically in my case, for my site http://otakujam.com I want users to be able to like certain games, anime, and manga and have it show up somewhere in their profile that they like such and such item. Similar to player.me the new social gamer network.
hello @leonyipa,
you’ll find the solution by reading this codex page
Ok I’m lost I’ve read lot’s of threads concerning how to to apply a buddypress child theme and now I’ve just read: http://bpdevel.wordpress.com/2013/11/13/the-future-of-the-bp-default-theme/
which seems to say that buddypress no longer supports child themes….
I’m really lost how do i go about apply changes to buddypress’s default pages in a manner that will hold up for future updates and not screw with my parent theme…
I currently have /wp-content/themes/child-theme/buddypress/COPY FROM buddypress/bp-themes/bp-default/ in my child theme but it fails to recognize the theme files unless i move them up to the child theme folder… and when i do it then rips out the css and js for the buddypress pages….
How do i go about setting up buddypress’s theme files in my child theme.
Kind reagrds
Chris.
P.S I’ve also read :
Template Hierarchy
Theme Compatibility & Template Files
which just confused me further…
Do i copy over the bp-legacy folder if i do won’t this be discontinued…
Hi! I’m using BuddyPress Docs plugin and works great!! However, I’m wondering if it’s possible to add custom fields to it (I would need more fields than just title, content and attachement), like a form and have a PDF generator somewhere.
I’m use custom field plugin. Backend it’s working fine. Custom field working. But how to integrate frontend?
https://wordpress.org/plugins/buddypress-docs/
https://wordpress.org/plugins/advanced-custom-fields/
hi there @mercime thank you so much for your response. I’m not having much luck with either of those – this is the code I pasted into my child theme functions.php
if ( class_exists(‘BuddyPress’) ) {
add_action(‘init’,’mme_redirect_register’);
function mme_redirect_register(){
global $pagenow;
if( ‘wp-login.php?action=register’ == $pagenow ) {
wp_redirect(‘http://members.caravancamping.club/register/’);
exit();
}
}
}
but it still redirects to: http://members.caravancamping.club/wp-login.php?action=register
??
also with the second username – I’ve still got exactly the same problems – only just with a different field name?? how to I delete one of these entirely please?
http://members.caravancamping.club/register/
thanks again
username appearing twice on registration form
@jaciando1 Change the “User Name” profile field name in the “Profile Details” box -> go to admin menu
Users > Profile Fields and click on the “edit” button under that profile field name.
I also appear to have two different register forms???
You can add the following to your theme’s functions.php page:
/* If BuddyPress is active */
if ( class_exists('BuddyPress') ) {
add_action('init','mme_redirect_register');
function mme_redirect_register(){
global $pagenow;
if( 'wp-login.php?action=register' == $pagenow ) {
wp_redirect('http://buddypress.dev/join-us');
exit();
}
}
}
Change http://buddypress.dev/join-us to your site’s register page.
I was wondering whether the theme used by BuddyPress.org might be available at all?
Hello!
I have disabled the activity feed on the member profiles on my page because I don’t need it…
Now theres is this huge white space next to the header.
I’d like to change the layout so that it looks like the member profiles do when you look at them over here at buddypress.org. Sidebar and content, so they can sit side by side.
Anyone that can help me, because I don’t want to destroy anything in the buddypress-files. Using a child theme doesn’t work for me so I don’t really know how to do this, meaning I dont know how and where to rearrange things…
Any help is greatly appreciated.
etParticipant
Hi.
I need to combine my buddypress activity with the mentions and comments made about my friends activity, as could do this?
I hope you can help
Thanks
I dont have in my buddypress.css file #buddypress ul#activity-stream and #buddypress ul.actitivity-list
I tried to add
#buddypress ul#activity-stream {
border-style:hidden;
}
#buddypress ul.actitivity-list {
border-style:hidden;
}
.activity {
border-style:hidden;
}
this is incredible I’m going to be crazy 🙂 I cant find anywhere I deleted all border commands on my css I tried to clear the cookies but nothing happend I have borders and only the border left is ugly I dont have problem for others.
@giuseppe23 I can only guess at what can be done to remove the border based on image you posted alone. Check if you added borders to:
#buddypress ul#activity-stream or #buddypress ul.actitivity-list
Running WP 3.9.1 Multisite – subdomain – using BP Version 2.0.1
All of a sudden my group comments stopped working on all of my sites. There have been no updates to the theme or buddypress since I noticed it not working. The comment feature works fine on the profile pages but when on a group page when I click on the comment button after a group update I am just taken to the top of the page.
I’ve tested this against all my other plugins and themes and it seems to just be happening on this theme (called buddyboss).
http://demo.hubbli.com/groups/pta/
I’m also getting this error over and over again:
[Tue Jul 15 20:01:17 2014] [error] [client 66.249.65.128] PHP Warning: Missing argument 3 for bp_modify_page_title() in /nas/wp/www/cluster-2212/jono39/wp-content/plugins/buddypress/bp-core/bp-core-filters.php on line 393
I have installed the same theme and buddypress on another multisite install on the same server and the group comments did work although still a little choppy, the display did not work as smoothly on the groups page as it did on the profile page
any suggestions?