no no. i checked everything twice, sure abt that.
i really dont know wat has happened to register page.
i will backup my data, and detele the theme + buddypress plugin
then i will reinstall them again.
maybe that’ll work.
Hello.
I want add a new field in buddypress profile update with the field already existing. My question is: What is the file of the plugin that I will modify?
Today I know relatively PHP… It is too difficult?
Thanks to all answer me!
Hi @littlemisslanna,
Yep, but you have better to ask how to do that on Gravity Form support forum. We can help you here for BuddyPress usage, not for third party implementation. Sorry ! 😉
I am using the Buddypress activity anywhere plugin which allows users to post activites from anywhere on the screen from any page. It shows a textarea to type something. However there are no @mention suggestions. What can be done to enable them?
Thanks
hi.
i am using SocialChef Theme.
i checked signup page, befor the last update of buddypress, and it was working fine.
i haven’t checked it since then, until now.
it’s not working anymore. (show me a blank page)
the theme author is saying:
——-
“Hi,
If you are using WordPress only, then the Register page template is “Custom Signup Page”.
If you use WordPress and BuddyPress then you create a Register page using the Default page template and then you link to this page from the BuddyPress configuration screen /wp-admin/admin.php?page=bp-page-settings
Btw, the Login screen (or Register for that matter) will not appear if you are logged in. You have to log out to see them.”
——–
i do have a buddypress folder in my theme, to override some pages.
and in there i do have register page.
but it’s not working.
——–
FYI, i disabled all the plugins, deleted all the extra functions i’ve putted in theme functions and bp-custom,
and reset everything to it’s default.
but not working.
what should i do now?
The function tells gettext() to change a string to another. It use a switch called $original_string. If not explicit enough, this means the original phrase or words you want to modify. You see it near ‘case’. And right of return, you can put your words.
The present example use only one case. But you can add more. (See php switch)
function abcd_gettext( $translated, $original_text, $domain ) {
if ( 'buddypress' !== $domain )
return $translated;
switch ( $original_text ) {
case 'STING YOU WANT TO MODIFY':
return 'MODIFIED STRING';
default:
return $translated;
}
}
add_filter( 'gettext', 'abcd_gettext', 20, 3 );
IMPORTANT
Why to use po/mo if this kind of function can be used ?
– because po/mo is much faster as only loaded once.
– using this function force gettext to recalculate all strings one by one at each string load. Imagine what will happen on your server if you translate all 1970(BP2.6) BP’s string like this!
– this function can be handy only in case you need to change a few words. I wouldn’t use it for more as 10 strings.
– it’s also handy if you already use a mo file, but need temporary a different word/string.
So you’re warned. Best practice to change strings is to use po/mo files. See codex for details.
Hi Buddypress,
That is cool, I been wanted to change the sizes ,etc for the avatar for long time as well. Thanks much on this help!
However, my initial help I want is just to ADD an image above each member avatar, without touch any codes (see below link).
I only able to find the php to add this cherry image shown on the members page ONLY? Which I wanted globally on every members!
Here is the link I used for the members page, but also want to locate that (CLASS=AVATAR )for other files and directory that I can also paste the same link global for all avatar.
<div class=”search-item”>

<div class=”avatar”>
Please see before and after example for the cherry above. I needed to find that MAIN/GLOBAL area as well.
Please advise help, thanks

@dono12,
when the cover image option is enabled, BP use cover-image-header.php not member-header.
To get your idea to work, you need a function to calculate who is online and to add a class to the exiting div. Depending the result, we can then add an online or an offline class.
And of course, some css rules.
The function to add this class to the div with an action hook.
Add it to bp-custom.php
function check_connected(){
$last_activity = bp_get_user_last_activity( bp_displayed_user_id() );
$curr_time = time();
$diff = $curr_time - strtotime( $last_activity );
$time = 5 * 60; // = 3mn - time must be in seconds
if( $diff < $time ) {
echo 'online';
} else {
echo 'offline';
}
}
add_action( 'online_class', 'check_connected' );
Now you just have to add the hook to the template. Open from within child-theme, /buddypress/members/single/cover-image-header.php
Go to line 25, and change
<div id="item-header-avatar">
to
<div id="item-header-avatar" class="<?php do_action( 'online_class' ); ?>">
Open /child-theme/style.css and add:
div.online img {
border: solid 2px #008000!important;
background: rgba( 255, 255, 255, 0.8 )!important;
}
div.offline img {
border: solid 2px #be3631!important;
background: rgba( 255, 255, 255, 0.8 )!important;
}
And voila, you’re done !
Note: you can use the same hook in member-header.php, so you can enable/disable cover-image without loosing the on/offline layout on profile header avatar.
I created my cpt using a plugin called Custom Post Type UI.
In bp-custom.php file, I add this line: add_post_type_support( 'drawings', 'buddypress-activity' );
It’s works fine: a default message was created in my activity tab after I create a drawings post.
But when I try to change the message, nothing happens. The message keep the same:
function customize_drawings_tracking_args() {
if ( ! bp_is_active( 'activity' ) ) {
return;
}
bp_activity_set_post_type_tracking_args( 'drawings', array(
'component_id' => buddypress()->blogs->id,
'action_id' => 'new_drawings',
'bp_activity_admin_filter' => __( 'Published a new draw', 'custom-domain' ),
'bp_activity_front_filter' => __( 'Drawings', 'custom-domain' ),
'contexts' => array( 'activity', 'member' ),
'activity_comment' => true,
'bp_activity_new_post' => __( '%1$s posted a new <a href="%2$s">draw</a>', 'custom-textdomain' ),
'bp_activity_new_post_ms' => __( '%1$s posted a new <a href="%2$s">draw</a>, on the site %3$s', 'custom-textdomain' ),
'position' => 100,
) );
}
add_action( 'bp_init', 'customize_drawings_tracking_args' );
Wait it seems this was caused by me not setting friend connections and private message in buddypress settings..
Hmm so I did that and it didn’t work. I copied the .pot file into sublime text and saved it as buddypress-en_US.po, then saved it as buddypress-en_US.mo then moved both those files into the specified folder on my server.
That screen isn’t provided by BuddyPress. It’s something provided by another plugin, or perhaps within the theme. Can you identify which one?
Hi guys,
I have setup a BuddyPress site and all is going well so far.
However, the client has requested that we alter the default profile visibility to “Logged in Users – Visible to registered users”. I cannot for the life of me work out where to alter this setting for all new users. Screenshot – http://prntscr.com/bhkyf8
Any ideas?
Thanks,
Joe
Hi guys
This has been posted before but the solutions within those posts are not working for me. For the past week all was well until yesterday. I have tried these plugins, wp better emails, smtp mailer, mail smtp but nothing works, the test emails are going through though.
Please help, starting to lose hope.
Hello,
I am using latest WordPress and Buddypress softwares. Since i install buddypress, i have a problem. When someone writes a long comment in activity, “Read More” link doesn’t work. When clicked on it, its class changes to “loading” but nothing happens. The “Read More” button which located on activity content is working, but it is not working on activity comments.
My website is otopark.com My website is Turkish so you can see “Read More” button as a “Devamini Oku”
this should fix it for u
THEME UPDATE – VERSION 3.0.11 (June 7th 2016)
Updates and fixes.
Updated to Slider Revolution v5.2.5.3.
Fixed BuddyPress multi-field checkboxes being output twice.
Fixed some PHP notices.
@sjoerdlagraauw as r-a-y mentions test this version of bp
BuddyPress 2.6.0 Release Candidate 1 now available for testing
regarding @mention as danbp suggested its not a bp issue. i checked this myself. its working in default 2016 theme of wp. but NOT working for other paid themes i have.
mostly paid themes or custom themes use their own jss/css stuff in their own custom manner which creates an issue.
if you got jss/css issues best of be asked at the custom themes support
I have installed Buddypress in my site and it is displaying some awkward error “There was a problem posting your update. Please try again.” for some error while updating the activities.
I have multiple users in my site and only some of the users are getting this error while posting the activities(not all users).
I have debugged it and found that $activity_id = bp_activity_post_update( array( ‘content’ => $_POST[‘content’] ) ) is returning empty for some error.
While debugging the bp_activity_post_update function what I have found is ‘user_id’,’content’, ‘primary_link’, ‘component’, ‘type’ all the fields have values still bp_activity_add() function is returning the activity id as 0.
I am getting no idea why this is happening. Please help me.
Thanks,
Hi buddypress,
I want to locate that main line of code for the global avatar of each member. meaning that code I need it also link or tie to the member avatar globally. Any where if the member within the site. (i.e. member’s default avatar)
Can you tell me which file and directory I need to locate?
Please advise help, thanks
Just to make sure I understand. Is it a theme problem of will it be solved in the next update of Buddypress @sharmavishal, @r-a-y and @danbp? Cause there are some other issues with ajax in this theme as well.
I am in no hurrie so if it will be solved next week that would save me a lot of searching and debugging 😉
Thanks for all the help!