You have to use the language file to change BP wordings.
You said you had no result with buddypress.pot. That’s normal, as this file is not the language file, but only the catalog which contains all strings you could translate or modify to your need.
Read here how to do this correctly
Customizing Labels, Messages, and URLs
Anonymous UserInactive
@aaronkin
First ‘text-domain’ or ‘custom-domain’. When you build a plugin, to make it an “international” plugin so that it can be translated in any language, you choose a text domain. See: https://codex.wordpress.org/I18n_for_WordPress_Developers#Text_Domains
Then Using post type activities. You were actually missing one of the functions i’ve shared in this thread. So here’s a gist that will work for the WP Job Manager plugin, you’ll have to observe, learn some WordPress/BuddyPress developing stuff (such as the Plugin API) by yourself to understand it and be able to apply for any post types.
Okay now i have try to make a complete mirror on my site it gives me this error with dedub on
Strict Standards: Declaration of BBP_Forums_Group_Extension::display() should be compatible with BP_Group_Extension::display($group_id = NULL) in /home/www/area51.playstationforum.dk/wp-content/plugins/bbpress/includes/extend/buddypress/groups.php on line 28
Notice: bbp_setup_current_user er kaldt forkert. The current user is being initialized without using $wp->init(). Se Fejlsøgning i WordPress for at finde flere oplysninger. (Denne meddelelse blev tilføjet i version 2.3). in /home/www/area51.playstationforum.dk/wp-includes/functions.php on line 3547
Notice: bp_setup_current_user er kaldt forkert. The current user is being initialized without using $wp->init(). Se Fejlsøgning i WordPress for at finde flere oplysninger. (Denne meddelelse blev tilføjet i version 1.7). in /home/www/area51.playstationforum.dk/wp-includes/functions.php on line 3547
Yes there are about 50 register.php pages in buddypress. But I think the one you need to edit is found in this path.
root\wp-content\plugins\buddypress\bp-templates\bp-legacy\buddypress\members\register.php
WP+BP Versions= Latest.
urban-fix.co.uk
I would like to hide a plugin generated buddypress tab, so after looking around I found this code and modified it a little:
<?php
function bp_remove_nav_item() {
if(current_user_cannot(“access_s2member_level2″))
global $bp;
bp_core_remove_subnav_item( $bp->profile->slug, ‘change-avatar’ );
}
add_action( ‘wp’, ‘bp_remove_nav_item’ );
?>
This worked perfectly well so i edited the following line:
bp_core_remove_subnav_item( $bp->profile->slug, ‘change-avatar’ );
to
bp_core_remove_nav_item('listings');
And now the full code looks like this;
function bp_remove_nav_item() {
if(is_user_logged_in("true") )
if(current_user_cannot("access_s2member_level2"))
global $bp;
bp_core_remove_nav_item('listings');
}
add_action( 'wp', 'bp_remove_nav_item' );
However this removes the ‘listings’ tab for all, any idea what im doing wrong?
Thanks in advance,
‘Activity’ is the default tab.
If you want to remove it, you need to change the default tab.
Change Default Members Profile Landing Tab
define('BP_DEFAULT_COMPONENT', 'profile' );
function klosurdo_remove_member_nav($nav_array) {
if( !is_user_logged_in() )
$nav_array = '';
return $nav_array;
}
add_filter('bp_get_displayed_user_nav_activity', 'klosurdo_remove_member_nav', 15, 1 );
Hi,
I want to remove the activity stream from my profile nav bar, but only to the non member public. I have tried the following unsuccessfully, however it removed all the other icons no problem.
Thanks
Ken
function bpfr_hide_top_nav() {
if( !is_user_logged_in() ) {
// bp topnav items to hide
// bp_core_remove_nav_item( ‘activity’ );
bp_core_remove_nav_item( ‘friends’ );
bp_core_remove_nav_item( ‘groups’ );
bp_core_remove_nav_item( ‘forums’ );
bp_core_remove_nav_item( ‘following’ );
bp_core_remove_nav_item( ‘followers’ );
The Theme I am using is KLEO by Seventh Queen
Buddy Press version Version 2.2.1
Website:http://www.cmpg-annex.org/
Other Plugins
Akismet
bbPress
BuddyPress Cover Photo
K Elements
MOJO Marketplace
Paid Memberships Pro
PMPro MailChimp Integration
PMPro Register Helper
PMPro Set Expiration Dates
Register Helper Example
Revolution Slider
rtMedia Pro for WordPress, BuddyPress and bbPress
The Events Calendar
WPBakery Visual Composer
Hi. Using latest wordpress and buddypress release.
What I’m trying to do seems easy enough, but no matter what I try, nothing changes. I just want to change the standard text on the registration page. “Registering for this site is easy…” etc, etc. I tried copying the folders and files to my child theme and editing them there; nothing. I tried editing the budddypress.pot file; nothing. I even tried editing every single file I found that referenced that text within the buddypress plugin files; nothing changed at all on my site.
Yes, I cleared cache and reloaded the page many times to make sure. I feel like I’m missing something obvious here, or I’m making it more difficult than it is. Can someone point me in the right direction please.
Thanks!
updated buddypress today. Received the same error as above.
I did the patch (so I thought) but ended up having to reinstall wordpress all over again.
I deleted my database and reinstalled a saved copy. Everything is working now, except the error still appears in the menubar.
Wordpress Version 4.1.1
Buddypress Version 2.2.2.1
install WordPress as a directory
Wordpress & Plugins were working fine before the Buddypress Upgrade
Using Customized Theme- powermag
Operating System – linux
errorlog: 13-Apr-2015 03:36:19 UTC] PHP Warning: strstr(): Empty needle in /…./wp-content/plugins/buddypress/bp-core/bp-core-filters.php on line 641
is this site already active with users? You might need to reinstall everything fresh.
Read this thread, its probably the same issue, has some suggestions. https://buddypress.org/support/topic/new-user-registration-problem-invalid-activation-key/
Yes @modemlooper I deactivated everything except buddyPress and changed the theme to default
Kleo Theme.
— WordPress Active Plugins
bbPress: 2.5.6
BP Group Organizer: 1.0.8
BuddyPress: 2.2.1
BuddyPress Activity Shortcode: 1.0.2
BuddyPress Cover Photo: 1.0.5
BuddyPress Edit Activity: 1.0.4
BuddyPress Like: 0.2.0
Buddypress Messages Spam Blocker: 1.1
BuddyPress Toolbar: 1.6.0
CodeStyling Localization: 1.99.30
GD bbPress Attachments: 2.2
iThemes Security: 4.6.12
K Elements: 2.4
NextScripts: Social Networks Auto-Poster: 3.4.16
Paid Memberships Pro: 1.8.2.2
Peter’s Login Redirect: 2.8.2
Revolution Slider: 4.6.5
rtMedia for WordPress, BuddyPress and bbPress: 3.7.35
Social Articles: 1.8
Taxonomy Metadata: 0.4
WangGuard: 1.6.2
WooCommerce: 2.3.7
WordPress Importer: 0.6.1
WordPress SEO: 2.0.1
WPBakery Visual Composer: 4.4.2
WP Super Cache: 1.4.4
YITH WooCommerce Wishlist: 2.0.5
PHP Version: 5.2.17
MySQL Version: 50617
Webserver Info: Apache/2.4.9-0-beget (Unix)
### End System Info ###
@henrywright… thinking about it further, I think my best approach would be to modify the (BuddyPress) Log in: Log in/out widget so that when a non-logged in user selected Register it linked to my own page. This would leave the real Register page unaffected and available for me to include as a link on my information page.
I have now found the widget code in the bp-core-widgets.php file. I took a copy into the bp-custom.php file, but I get the error message Fatal error: Cannot redeclare class BP_Core_Login_Widget.
I assume this original code is not checking if it has already been loaded. Not sure how I can modify this in a way that does not get lost on a BuddyPress update.
Can I trouble SKS for further guidance? thanks
You said first:
I would like to create a page for user registration and another page for editing the profile with more options.
This is a resume of how BP already works.
The registration page can be extended (BP xprofile component) and user can fill out these additionnal fields from within their profile page.
Please take a look on Codex, before reinventing the wheel.
Configure BuddyPress
User Extended Profiles
seems to be related to this:
https://buddypress.trac.wordpress.org/ticket/6226
@nyroka,
please read above link given by @shanebp
Have you set-up a custom redirection or do you use a plugin which do that ?
Maybe a custom function in the theme ?
https://buddypress.org/support/topic/when-asking-for-support-2/
The best way to change multiple strings is to edit the BP language file:
Customizing Labels, Messages, and URLs
These strings are in the language file. You can change them easily by using a custom language file.
Customizing Labels, Messages, and URLs
The generic text is the page title.
Go to dashboard > Pages and change the title. Ensure this pages shows up in BP settings and assign it (the new title) to groups. Save.
Other wordings in BP can be changed by using the language file, even if you use english.
See here:
Customizing Labels, Messages, and URLs
or search the forum, as they are many topics asking similar question.
Hi Shane, I previously deactivated all other plugins except buddypress and had the same warning on my header. I then tried to change themes with the same problem. I have updated all plugins including woocommerce and wp.
any idea where I would be able to find this issue and remove this warning? I’m really stuck.
Thanks
I am having the same issue. My theme is not broken. This happened when I saw an update for buddypress in my notification and I updated. how do I fix this? I run an active social site and my members are seeing this.