Hi all,
Iβm using BuddyPress for my website http://www.starry-night.nl.
Starry-Night.nl is a customised buddyboss theme site with the activity page set as home page. This is also the problem with the wordpress search. WordPress Search only searches the activity page (only that context) and not the entire site/db. Searching from letβs say a wordpress page redirects to the activity wall.
Prob. a small fix but beyond me.
Best regards from the Netherlands,
Marc
ps: the search is only possible when logged in by default (wp-adminbar).
Hi Giacomo!
I added the following line to my themes functions.php:
/* Stop WordPress from auto embeds */
remove_filter( ‘the_content’, array( $GLOBALS[‘wp_embed’], ‘autoembed’ ), 8 );
…and then composed a new Buddypress Private Message with http://www.mysite.com/blah.mp4 as the text.
Now it shows [video src="http://www.mysite.com/blah.mp4" /]
instead of the actual text. It’s still trying to wrap it, but at least not autoplay now.
Hey Ben
Auto embeds are a WordPress feature: https://codex.buddypress.org/getting-started/embeds/
You can disable them site-wide with a filter: http://wpengineer.com/2487/disable-oembed-wordpress/
Good luck!
Giacomo
The easiest way I can think of is to copy the needed files over from the BuddyPress plugin (members/single/something.php), and place them into your theme, removing its contents or placing a redirect into the files.
Hi,
i want to remove several tabs from the profile of any Buddypress user.
I know, that i can remove them with something like this:
$bp->bp_nav['groups'] = false;
This works fine and removes the tabs. The problem is that the pages are still there and can be opened by typing in the url.
Is there any solution to deactivate these pages without deactivating the whole function? I need this for following tabs: activity, groups and friends.
Sounds like the murderer is in the house. Don’t go upstairs. π
You could optionally just block sign-ups from your own IP. If you’re running a multisite installation, there’s a convenient UI for this. We’ve yet to incorporate that into single-site BuddyPress yet, but we have considered it.
Worth pinging @messenlehner or @tw2113 about the registration options plugin, and @bungeshea about the security check plugin too.
I installed BuddyPress in WordPress 3.9. But its pages and widgets cannot be displayed. When I clicked on its pages, there appeared a message below. I used the server from my university. Thank you for your help.
Object not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. If you think this is a server error, please contact the webmaster.
Error 404
main.la.ubu.ac.th
8/5/2557 11:10:54
Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
Hi, I’m looking for a chat plugin for my site and hoped someone on here could help..?
My requirements are:
>> It MUST be free
>> It MUST use buddypress profile names & avatars as the chat user (no guests etc.)
>> Chat logs must not build up causing site to slow down etc.
any recommendation are welcome, cheers. π
change whatever you want in the arguments
function filter_send_message_btn() {
$args = array(
'id' => 'private_message',
'component' => 'messages',
'must_be_logged_in' => true,
'block_self' => true,
'wrapper_id' => 'send-private-message',
'link_href' => bp_get_send_private_message_link(),
'link_title' => __( 'Send a private message to this user.', 'buddypress' ),
'link_text' => __( 'Private Message', 'buddypress' ),
'link_class' => 'send-message',
);
return $args;
}
add_filter('bp_get_send_message_button_args', 'filter_send_message_btn');
It looks like bp_get_send_message_button is reserved for private messages only, and returns a filtered result of bp_get_button according to some private-message-specific parameters.
I’d like to remove the term “Private” from the language, since it is the only kind of messaging I’m going to use, but with two additional requirements:
1) I don’t want to deal with language files
2) I want to keep the customization on this element of BP with the other customizations — i.e. in my functions.php
It seems I cannot redefine bp_get_send_message_button in my functions.php. When I use an if (!function_exists.. my changes are ignored. When I remove the check, the conflict between the functions is fatal.
How can I override the link_title and link_text without modifying BP core or using language files?
function bp_get_send_message_button() {
// Note: 'bp_get_send_message_button' is a legacy filter. Use
// 'bp_get_send_message_button_args' instead. See #4536
return apply_filters( 'bp_get_send_message_button',
bp_get_button( apply_filters( 'bp_get_send_message_button_args', array(
'id' => 'private_message',
'component' => 'messages',
'must_be_logged_in' => true,
'block_self' => true,
'wrapper_id' => 'send-private-message',
'link_href' => bp_get_send_private_message_link(),
'link_title' => __( 'Send a private message to this user.', 'buddypress' ),
'link_text' => __( 'Private Message', 'buddypress' ),
'link_class' => 'send-message',
) ) )
);
}
When I first installed BP, when in the wordpress menu builder (Appearance>Menu) it had some conditional options where I could add elements to the menu that would or would not display depending on if logged in/out.
Now these options are completely gone.
What do I do?
Bump.
I have a similar problem with another theme developed by the same company (Langwitch). Their support is entirely unhelpful and I haven’t found any other solutions for the issue. Basically, their theme bypasses/replaces the page template system with their own page builder so the BuddyPress templates aren’t even loaded for the page specified in the BuddyPress settings.
I am a developer and am willing to work on a solution, but if anyone could give some tips to make this move a bit quicker, that’d be great.
I’m sorry, but I have read every topic that I can find on this subject and I’m still confused. I am putting together a site using the theme Bresponzive and I just want to make some minor changes in CSS to the group page.
Here is the site:
http://weapprovethis.com/community/
This is driving me nuts because the only thing that I want to do is make the text larger.
Also on this page: http://weapprovethis.com/community/test/ see how the “test (hours) (minutes) runs into the Group avatar? I want to change that so it doesn’t do that.
I also have a separate question. I tried using BuddyPress Social plug in to display Social Media icons on the end of posts, but it’s not working. Does anyone know why or suggest another social media plug in? I’ve used a few of them and none of them are working. Thanks.
Howdy! On my site my users send video URL’s back and forth to each other. Right now, BuddyPress is automatically embedding the code so the video displays in the message. I dont want this. I want just the text to be inputted, not a video embed.
Is there a filter to do this or a line of code to delete?
Thanks so much!
Ben
Ok I have the following php which work ok as in it run through to the IF but no matter what i do I can’t get the bp_core message to fire on screen it just gives me the changes saved message…
why what am i doing wrong!
function valid_postcode ($self) {
$getFieldID = $self->field_id;
$PostCodeFieldID = 23;
$postcodecheck = $_POST[‘field_23’];
if ( $getFieldID == $PostCodeFieldID || $postcodecheck == ”){
$GetValuePost = $self->value;
$regex = ‘/[a-z][0-9][a-z][- ]?[0-9][a-z][0-9]$/i’;
if(!preg_match($regex, $GetValuePost)) {
bp_core_add_message( __( ‘That Postcode is invalid. Check the formatting and try again.’, ‘buddypress’ ), ‘error’ );
}elseif (!isset($getFieldID)) {
bp_core_add_message( __( ‘You need to fill out the post code.’, ‘buddypress’ ), ‘error’ );
}
}
}
add_action( ‘xprofile_data_before_save’, ‘valid_postcode’, 1, 1 );
Good note. http://www.example1.com is an online book store and it uses the WooCommerce plugin. http://www.example2.com is a website for prayer leaders, specific to a denomination of religion and
http://www.example3.com (this one has buddy press) is a website for prayer leaders, that is not specific to a denomination.
The idea is that the user will have one login – so that when they check their orders on http://www.example1.com (online book store) they have the same login as http://www.example2.com and http://www.example3.com. The other idea, and the main one of all, is that http://www.example2.com (a website for prayer leaders, specific to a denomination of religion) and http://www.example3.com (this one has buddy press) [website for prayer leaders, that is not specific to a denomination] – these two, when a user logs in, would both feed into the website that has BuddyPress. So, one login overall on the entire network and one BuddyPress location. I don’t need any separation on the websites like, accounts or separate forums, BuddyPress profiles, etc.
I’m looking for one login. I’m looking also for a way that if a user logs into http://www.example1.com (online book store) or http://www.example2.com and they are trying to access anything involving BuddyPress (which is on http://www.example3.com), that they are sent to that site. Right now when if I network activate BuddyPress they can use the same login no matter what website they are on, but if they click on their profile or anything like that they stay on the current website and BuddyPress takes the face of that website. However, If they do that on mine I want them taken from one of the sites and sent to http://www.example3.com (this one has buddy press).
Is this possible?
@bphelp
But this has nothing to do with the bp-default theme? This is a theme that is based on twitter bootstrap customized to match with a buddypress site. It also works with WordPress that has no BP enabled…
I feel that there are just a few really good themes for BuddyPress out there like BuddyBoss and recently InspireBook by rtCamp. Im looking to contribute to that list π
Cheers,
Aron
@aronprins
The bp-default theme that ships with BP is being retired so in the future there will not be a theme that ships with BP in favor of theme compatibility. If I was in your position I would just focus on making a really good WordPress theme with standard template structures and it should work with BuddyPress. The bonus is if the theme is good and works with just WP then you’ve not pigeon holed your profit to just BP users.
Hey @bphelp,
Thanks for your reply. Im completely aware of this, and even though ANY theme is now compatible with BuddyPress it would look like the basic BP theme that ships with the plugin. For full specific theme integration we’d still have to adjust that to match the theme right?
Looking forward to your feedback! Thanks again π
Cheers,
Aron
@aronprins
There is no point in creating a BuddyPress theme any more since 1.7 see:
Theme Compatibility & Template Files
any theme that has standard WordPress template structure is compatible so basically all you have to do is create a standard WordPress theme.
Cheers!
SKParticipant
Seems u got your wish answered by the plugin author..check this:
For those who are interested, I have a beta of what will be 4.2.0 available at https://github.com/WebDevStudios/BuddyPress-Registration-Options/archive/alpha-revamp.zip
Dear Forum,
I’m fairly new and trying to teach myself. Having said that, I am loving buddypress. My question related to widgets. Is there some reason, or better yet, some way to have buddypress output placed into a widget?
Here are some examples of what I am thinking of: you want to show a block of avatars for who is online on your main page-it would be great to just have a widget with the avatars in a sidebar. Or, lets say there is an article that a number of people are commenting on, it would be great to show their avatars in a block in a sidebar. But it could just as easily be popular members etc. etc.
Would anyone know how to do this kind of thing? Or maybe even, its already done?
cheers! And thank you for an amazing project with an amazing community!!