try the language file.. check the buddypress codex for translation
Good day
I recently completed a migration to a new host, and my website is running at 90%.
The only problem I have is when accessing the live editor via appearance->customise (As well as clicking customize on the top of the pages).
When I navigate here, i get an error 500. In order to access this page, I need to disable or uninstall buddypress. This is currently the only fix I have found for the error.
Now I have tried a few methods to reinstall budypress to get this page to work but still nothing.
Its quite an annoyance.
Is there a configuration in the database I need to update to rectify this plugins interference with editing?
Thanks in Advance for a constructive and informative response.
Have you set up the permalinks to another option than default ?
Navigation Links Return 404 Errors
Afaik you have to code something yourself. BP use only display_name for activities and @ mentions and bbPress, if active, also.
See all existing _display_name related fn here.
How WP get display_name is related in this topic.
Hi,
I’m trying to find out how I can change the page title “members”. I tried to do it in pages, menu, and buddyPress settings but no success. Thanks.
Hi,
I’m trying to implement controls to any video in the activity stream. It seems to work (for the last video post) but when I click on the “load more” button, new posts are empty.
This is the code:
//Load player api asynchronously.
var tag = document.createElement('script');
tag.src = "https://www.youtube.com/iframe_api";
var firstScriptTag = document.getElementsByTagName('script')[0];
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
<div class="video-container">
<div data-id="olBOo_S5AHY"></div>
</div>
<div class="video-container">
<div data-id="3IXKIVZ9T-U"></div>
</div>
<div class="video-container">
<div data-id="LAQDcnwwspQ"></div>
</div>
function onYouTubePlayerAPIReady() {
var players = document.querySelectorAll('.video-container div')
for (var i = 0; i < players.length; i++) {
new YT.Player(players[i], {
playerVars: {
'autoplay': 0,
'modestbranding': 1,
},
videoId: players[i].dataset.id
});
}
}
Hi,
see if this tutorial can help you go further:
BuddyPress: Adding Custom Notifications
That’s unfortunately what i expected… GF is a third party premium plugin for which nobody can help you here, except if he/she use that plugin.
If you read here, it’s somehow explained in details.
What you already used (gform_field_value_linkuser), linkuser is a GF field name. If i’m right, see the advanced tab of that field and complete the name parameter.
Here a snippet which let you see how to link a username to his profile, when you’re outside of the member_loop. It will output the current user name on the site wide activity header. For test only.
Note that it use BuddyPress default Name field and that it comes from a BP form. As you use GF, you certainly need to find how to grab properly a GF field value.
Function goes to bp-cutom, may also work in theme’s functions.php
function bpfr_my_profile_link_on_SWA_header () {
$user_id = get_current_user_id();
$profile_url = bp_loggedin_user_domain();
if( !is_user_logged_in() ) {
return;
}
echo '<br>Test userlink: ';
if ( !$data = bp_get_profile_field_data( 'field=Name' ) ) :
echo xprofile_get_field_data( 'Name', bp_get_member_user_id() ) .'<a href="'. $profile_url .'">'. bp_core_get_username( $user_id ).'</a><br>';
endif;
}
add_action( 'bp_activity_type_tabs', 'bpfr_my_profile_link_on_SWA_header' );
Sorry, I can’t help you more.
I was googling this and came to this thread. Ended taking some hints from it and edited my compose.php to look like this:
<?php if ( bp_current_user_can( 'bp_moderate' ) ) : ?>
<label for="send-to-input"><?php _e("Send To (Username or Friend's Name)", 'buddypress' ); ?></label>
<ul class="first acfb-holder">
<li>
<?php bp_message_get_recipient_tabs(); ?>
<input type="text" name="send-to-input" class="send-to-input" id="send-to-input" />
</li>
</ul>
<?php else : ?>
<label for="send-to-input"><?php _e("SEND MESSAGE TO ADMIN", 'buddypress' ); ?></label>
<ul class="first acfb-holder">
<li>
<?php bp_message_get_recipient_tabs(); ?>
<input type="hidden" name="send-to-input" class="send-to-input" id="send-to-input" value="admin"/>
</li>
</ul>
<?php endif; ?>
Just did some initial testing and it seems to work properly..
Yep ! Use fn bp_is_my_profile()
For ex. something like if ( $blogs && bp_is_my_profile() ) {
BP Support,
We have a multi-site setup using learndash+buddypress+iMember360 and are experience a site crash any time we save a course with a buddypress group selected. It crashes the site for a few minutes at a time and doesn’t immediately give any errors, however, there are some errors as it comes back up that seem related (see below).
WordPress 4.5.2 running Boss. Child Theme theme.
Buddypress 2.5.2
The site is fairly new, this is our first course and group.
I’ve debugged by disabling all of the plugins I can and there is no effect. I can save a course just fine without a group selected or without the buddypress plugin enabled.
Here is the error we get when it restarts:
https://www.dropbox.com/s/kvy40uolkskonwy/Buddypress_Error_Saving_Course.txt?dl=0
Please let me know if I can provide any further information to help us debug this
Thank you,
Brett
Hi everyone…
I set up a website a few weeks ago and I’m running into something a bit weird with the member stats. When I look at a user’s “Extended Profile” some (but not all) consistently show the last active time as being the current server time (which on a related note I cannot, for the life of me, get to sync with my local time.) I have no idea why this would only be happening for some users. There’s no way they’re consistently on 24/7.
I’ve also ended up with a few anomalies in the registration process… one user who seems legitimate showed up as having registered the following day (as in the day of their registration I checked and saw their signup as the currentDate +1 ) and was active on the site despite not having verified their e-mail activation. Others are signing up without a “Name”, despite that being a required field. And lastly not all new members seem to be automatically getting assigned the default forum role for bbPress.
Any help would be appreciated! Thank you so much!
PS – It’s at nycplantswap.org running WordPress version 4.5.2 and BuddyPress 2.5.2 on DreamPress with Varnish cache
So right now I am using Gravity Forms with the Sticky List plugin to create an editable database people can submit information to. I have a hidden field that automatically populates the username of the submitter, which is cool and what I want. But I would like that username in question to link to that user’s BuddyPress profile.
I have a feeling it has to do with some PHP code, but I’m not savvy with php as I’d like to be. This is what I have so far, from a previous topic I found on the forum.
add_filter( 'gform_field_value_linkuser', 'link_username' );
<?php
add_filter( 'gform_field_value_linkuser', 'link_username' );
function link_username($user_login) {
return '$_COOKIE['utm_campaign']; < NO idea what to return here!
}
?>
I assume the return value should be something like <a href="URL.com/members/[USERNAME]">Username </a>, but I don’t know how to make that work in PHP!
Please help me out! BP is version 2.5.2, BBP Version is 2.5.9, WP version is most recent one, Gravity Forms 1.9.19, Gravity Forms Sticky List plugin 1.4.1.
Thank you!
Running version 4.5.2
Theme Geodirectory/ supremember directory.
Plugins: Akismet, auto terms of service and privacy policy, contact form 7, black studio tiny mce, f(x) private site, gd booster, gd business hours, geodirectory plugins (don’t have buddypress intergration active), Google analytics, jet pack, site origin, page builder, Yoast seo…
I need to output “Send Private Message” button on a custom profile page.
I’ve managed to add “Add Friend” button but this one is bugging me.
So far, I’ve managed to output only a link which actually works, but the problem is when I click on it, I need to type manually a user name to send message to.
I was hoping to get the functionality that when I click “Send Message”, the recipient is auto populated. Just like it’s on original buddypress profile page.
So far, I used this code..
if ( is_user_logged_in() ) echo '<a href="' . wp_nonce_url( bp_loggedin_user_domain() . bp_get_messages_slug() . '/compose/?r=' . get_the_author_meta('user_login') ) . '" title="Send a private message to this user" class="send-message">Private Message</a>';
The issue is somewhere inside the ajax.php from the theme. I’m using a custom theme (Not online) on a local version of wordpress. Tried using the functions.php from the legacy template but there is no live update so I skipped that. (Messages doesnt send at all)
Edit: I fixed the problem with combining ajax.php from the old buddypress template with the new functions.
also on the buddypress components, I can’t save options for “Friend Connections” and other components as well. Could this be a linked issue or isolated?
Go to your WP pages admin, and change your member page title to Staff instead of Members. Change the slug accordingly.
Ensure the name is unique and that you don’t have any page called members or staff in the trash. If it’s the case, clear it. Go to permalinks settings and click on save. Permalinks option should be whatever except “default”.
Return to BP’s page settings and verify that the Members component page is Staff. If not, select the new page and save.
For any other “member” wording, you have to use buddypress po/mo file, even if you use english on your site.
Customizing Labels, Messages, and URLs
You have to enable multiblog. Read here:
BP_ENABLE_MULTIBLOG
BuddyPress is member oriented and they’re some rating plugins out for profiles or groups. For pure content like posts or CPT’s, you have to search for some WP plugin on the plugin repository.
Another alternative could myCred, which is made for BP. Inconvenient (if ever), it does much more as only allowing rating.
This is not an issue, but how it works !
The’re only 3 pages to assign when you activate ALL components.
1) members
2) site activity
3) groups
If registering is allowed, you have 2 other pages:
– registering
– activation
Xprofile, Messages, Friends, etc are mostly sub parts of the mandatory Members component/page.
Configure BuddyPress
After installing/activating BuddyPress I noticed that with nearly all the components were enabled, but I was only seeing 3 in the section where you assign the component to a page. Did I miss something or is this a known issue? I deactivated the plugin until I could find a solution/alternative but can re-activate to capture screen shots if need be.
WP 4.5.2 (i-max theme), BP 2.5.2
(Site is not live – under construction)
@pandafoxxxx can you kindly list the disadvantages of polylang? polylang worked for bbpress as well as buddypress for me….