Hello all,
I have a problem on the profile page of my buddypress site. The following stray line of code is showing on the upper left hand corner of the page – “username” />. I am a noob to buddypress and have no idea how to begin fixing this. Can you help?
Here is a link to the image 
Thanks
I have now done this by adding:
if( $post->post_type == 'post' ) {
$activity_action = sprintf( __( '%1$s added the post, %2$s in the categories %3$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '<a href="' . $post_permalink . '">' . $post->post_title . '</a>', get_the_category_list( ', ', '', $post->ID ) );
}
Into my filter for recording posts and custom post types
Using buddypress 1.9.2 the old plugin BP Group Management doesn’t work anymore.
That plugin provided a practical way to mange the members of a group: it displayed a list of all users to add that coud be selected.
That was definitely more practical than the standard way in bp 1.9.2, that is to write the name of each user to add to a goup.
Is there any other plugin or method to do this?
TIA
Antonello
For the record, I’ve narrowed it down to the ‘Activity Streams’ component of BuddyPress. When this is disabled, the problem does not occur.
Hi
I have the following problem. I have buddypress translation (po/mo) but three words will not be translated. Everything is translated but these three words remain in English.
test environment:
See URL: http://www.pascald94.ninetyfour.axc.nl/testomgeving-sp/
I have created a temporary login:
Usernaam: marc
Password: marc123
If you are logged in go to:
Profiel > instellingen
They are the words: notoficaties ( must be: mededelingen ), Friends ( must be: Vrienden ), Groups ( must be: Groepen )
I hope someone can help me
Cheers Pascal
I am using twenty fourteen theme for my BP mobile site and I use a child theme for BP desktop site, I want to remove all member tab in activity directory of twenty fourteen theme. I know how we do in child theme, but twenty fourteen does nt have activity.php so I moved activity.php in twenty fourteen, but it doesnt work, any suggestion, or idea please
@alnasirkarim,
it seems the error is from activity privacy plugin. if you have access, login to your cpanel and rename : buddypress-activity-privacy To buddypress-activity-priv
that will deactive the plugin and you can take it further from there.
Naijaping
My website is down because of buddypress, please help.
I am getting the following message.
Fatal error: Call to undefined function bp_activity_do_mentions() in /home/content/92/7143392/html/reunion/wp-content/plugins/buddypress-activity-privacy/includes/bp-activity-privacy-loader.php on line 47
Please help!!!!!!
I just did something like this for cpt “business” and “event”, but removed mention of multisite:
// add custom post type business to the activity stream
add_filter ( 'bp_blogs_record_post_post_types', 'activity_publish_custom_post_types',1,1 );
function activity_publish_custom_post_types( $post_types ) {
$post_types[] = 'business';
$post_types[] = 'event';
return $post_types;
}
add_filter('bp_blogs_activity_new_post_action', 'record_cpt_activity_action', 1, 3);
function record_cpt_activity_action( $activity_action, $post, $post_permalink ) {
global $bp;
if( $post->post_type == 'business' ) {
$activity_action = sprintf( __( '%1$s created a new business listing, %2$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '' . $post->post_title . '' );
}
if( $post->post_type == 'event' ) {
$activity_action = sprintf( __( '%1$s created a new event, %2$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '' . $post->post_title . '' );
}
return $activity_action;
}
I’m 99.87% sure the change-avatar URL (slug) is hard coded. See this ticket for more info:
https://buddypress.trac.wordpress.org/ticket/2086
hi again… hoping for a tiny bit of direction…
i have an editor working… sort of… it doesn’t save… and i know it’s one little tiny bit i’m missing here… just not sure what.
here’s what i’ve got in my theme file in theme>buddypress>members>single>profile>edit.php
<?php if ( 'textarea' == bp_get_the_profile_field_type() ) : ?>
<label for="<?php bp_the_profile_field_input_name(); ?>"><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ); ?><?php endif; ?></label>
<?php wp_editor( $listing->bp_the_profile_field_input_name, 'listingeditor', $settings = array('textarea_name' => post_content) ); ?>
<textarea rows="5" cols="40" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required="true"<?php endif; ?>><?php bp_the_profile_field_edit_value(); ?></textarea>
<?php endif; ?>
i realize it’s duplicating… that’s fine… what i need to know is…
what do i need to fix in
<?php wp_editor( $listing->bp_the_profile_field_input_name, 'listingeditor', $settings = array('textarea_name' => post_content) ); ?>
to make it SAVE that data into my xprofile field which by default is this
<textarea rows="5" cols="40" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required="true"<?php endif; ?>><?php bp_the_profile_field_edit_value(); ?></textarea>
i will comment out the latter (or delete it entirely once i have it all working)
it has all stopped making sense…
many thanks in advance…
All,
First of all thanks for reading this, i am having a weird issue with my buddypress site, only when i access it from my phone, and only when i access it from an android device over wifi ONLY, so just to recap:
the site works fine on pc
the site works fine when access from browser in iphone devices, over network connection and wifi
now the problem when i access the site from my android device from a browser or an android app i created that calls a browser, it only works over mobile network connection, if you connect to wifi the site wont load.
I have tried all kinds of stuff played with the plugins, disable caching all together, and i have full ssh access to the server.
i am running latest word and buddypress
the site name is ckaster.com and the android app is called city kaster in the market
Any help would be appreciated..
Thanks in advance.
I tried to find posts on how to get rid of the sub headers in login-2, register and lost password pages. Can I do that in custom.css? Or is that a stupid question? Works great with Enfold issues.
Regards,
David
Hi there,
Just installed Buddypress and am learning how it alls works. Looks great, but logging off redirects to http://www.wineengratisvakantie.nl/redline/ instead of staying at the same page where you logged off. Is there a setting I can adjust?
This is the website: http://www.cadeaugolf.nl
Regards,
David
Hi I’m wanting to just hide member profile pages, but keep all other BuddyPress pages public. I tried this code in my bp-custom.php, but it doesn’t work. Any ideas?
/* Prevent logged out users from accessing bp profile pages */
function nonreg_visitor_redirect() {
global $bp;
if ( bp_is_profile_component() {
if(!is_user_logged_in()) { //just a visitor and not logged in
wp_redirect( get_option('siteurl') . '/register' );
}
}
}
add_filter('get_header','nonreg_visitor_redirect',1);
I want to put a link on my registration page under Profile Fields like this
<!–
< a href=”http://www.websitehere.com” target=”_blank”>Rules
I tested the html I know it works fine but when I click save and come back the html lookes like this
< a href=”http://www.websitehere.com”>Rules
What is causing this? I am using “Buddypress Xprofile Custom Fields” but it does it even if I don’t chose and Xprofile field type. Thanks for the help! I am new here!
Hi!
I’ve been trying to display the total number of buddypress notifications in front end of my website. I’ve been using code from a topic that addressed a few of my concerns. It uses the code from the buddypress admin bar:
http://wordpress.stackexchange.com/questions/84072/show-buddypress-notification-in-the-frontend
It works fine, except that it only displays the total amount of notifications in 2 groups for messages, and friend request. So it doesn’t display any number greater then 2.
https://dl.dropboxusercontent.com/u/8411723/front-end.png
What I want is a way to display the notification count number shown in the member’s profile menu that shows the total amount of notifications individually:
https://dl.dropboxusercontent.com/u/8411723/notifications.png
If someone knows a way to display this specific number count outside the profile, I’d greatly appreciate any advice.
Thank you in advance!
I install in my site budypress 1.9.2 but i change the name of my user admin and my activity stream page disappear, is totally in blank. Somebody can help me?
http://buscarmen.com/activity/
At the firsts days i can see my activity page, but with some changes, this activity page disappear. Why is that?
*Custom Header – End –>
*
* </header><!– #masthead –>
*
* <div id=”main” class=”wrapper”>
* <div id=”primary” class=”site-content”>
* <div id=”content” role=”main”>
*
*
* <article id=”post-0″ class=”post-0 bp_members type-bp_members status-publish hentry” *itemscope itemtype=”http://schema.org/Article”>
* <header class=”entry-header”>
* *<h1 class=”entry-title” itemprop=”headline”>Susan</h1>
* </header>
*
* <div class=”entry-content” itemprop=”articleBody”>
* <div id=”buddypress”>
*
*
* <div id=”item-header” role=”complementary”>
More information: in the source code, the faulty link appears here–
//Custom Header – End –>
//
// </header><!– #masthead –>
//
// <div id=”main” class=”wrapper”>
// <div id=”primary” class=”site-content”>
// <div id=”content” role=”main”>
//
//
// <article id=”post-0″ class=”post-0 bp_members type-bp_members status-publish hentry” //itemscope itemtype=”http://schema.org/Article”>
// <header class=”entry-header”>
// //<h1 class=”entry-title” itemprop=”headline”>Susan</h1>
// </header>
//
// <div class=”entry-content” itemprop=”articleBody”>
// <div id=”buddypress”>
//
//
// <div id=”item-header” role=”complementary”>
My site is at http://www.partnersimple.com. This is new build using BuddyPress Version 1.9.2, WordPress 3.8.1 running Tiny Forge (Twenty Twelve child) theme on an Apache server hosted by ASmallOrange.com.
I am getting this weird hyperlink HTML at the top of my BuddyPress member pages. It includes the following: “a href=”https://partnersimple.com/members/myusername/”>mydisplayname</a.”
So,
–Where is this code coming from? and
–How can I modify it to make the actual hyperlink appear instead of the HTML for the hyperlink?
Please help.
My details.
Running the latest version of WP multisite subdomain set install (3.8.1) and BP (1.9.2).
I have a users site subdomain where I DO NOT want the users to be registering for Buddypress at all as this site is ‘separate’ from the main site.
Is it possible to turn buddypress registrations OFF for a subdomain site in a network install of Buddypress?
Thanks
Aquapan
So, are the minimum system requirements changing for BuddyPress 2.0 to support “Giving WordPress Its Own Directory”?
Next guess is some plugin conflict.
Best way to figure that out is to systematically disable one plugin at a time, until the issue corrects itself.
We definitely strive to keep both BuddyPress and bbPress compatible with as many plugins and themes as possible, so if anything needs fixing on our end, we’ll make sure it happens.
Hi @jf_trumpet,
the plugin you’re speaking about is intented for load your BuddyPress with translations provided by translate.wordpress.org
This means that if you’re site is in swedish, the plugin will automatically upload the swedish BP translation. Or similar if you’re site is in italian.
If you need some multilingual settings you have to use another plugin, like WPML for example.
More about BuddyPress translation and internalization here.
Normally you declare the site language from within the wp-config.php file.
For ex. define (‘WPLANG’, ‘it-IT’);
If you just want to test ONE other language, simply change this define to another language.
Be also aware that you can only define one language in wp-config.