> I want to set up an activity stream page which will be the only public interface to a group
Each group has is own activity stream.
Activity Streams
> I want people to be able to post updates to that group from the activity stream
Each group member has access to the group update. (what’s new form)
That’s default behave for any group / group member !
I don’t really understand your question. Do you mean perhaps the site activity page ?
– How many groups do you have ?
– Can members access to only one group or have they the ability to subscribe to more ?
I’m using bp_activity_set_post_type_tracking_args to add entries in user Activity tab every time he publish a post.
But how can I add the same entry on his friends activity tabs?
Here is my code:
add_post_type_support( 'stories', 'buddypress-activity' );
add_action( 'init', function() {
if ( ! bp_is_active( 'activity' ) ) {
return;
}
bp_activity_set_post_type_tracking_args( 'stories', array(
'bp_activity_admin_filter' => __( 'Published a new story', 'buddypress' ),
'bp_activity_front_filter' => __( 'Stories', 'buddypress' ),
'contexts' => array( 'activity', 'member' ),
'activity_comment' => true,
'bp_activity_new_post' => __( '%1$s posted a new <a href="%2$s">story/chapter</a>', 'buddypress' ),
'bp_activity_new_post_ms' => __( '%1$s posted a new <a href="%2$s">story/chapter</a>', 'buddypress' ),
'position' => 100,
) );
});
Wow, fantastic response danbp!
It’s 2:30AM here now so I’ll have to try this tomorrow, but thankyou so much for your help anyway – that’s quite a lot of code to come up with!
Now all I have to do is figure out this one: https://buddypress.org/support/topic/post-group-update-directly-in-activity-stream-page/
How do I do this?
You have to bake 5 894 pizza and search the forum ! Or experiment the following…
First you remove the counter. This can be done by using the language file.
Original string is Friends <span class="%s">%s</span> to replace by eg. Friends
or using this function (add to bp-custom.php)
function bpfr_remove_friends_count( $translated, $original_text, $domain ) {
if ( 'buddypress' !== $domain )
return $translated;
switch ( $original_text ) {
case 'Friends <span class="%s">%s</span>':
return 'Friends';
default:
return $translated;
}
}
add_filter( 'gettext', 'bpfr_remove_friends_count', 10, 3 );
The Friends subnav has only two elements: friendships and request.
Friendships is the default one and can’t be removed. So we have to hide it with css. Add this to your child-theme style.css
#friends-my-friends-personal-li {display:none;}
This is default css, and you have to check it as it can vary depending your theme.
Finally add a new subnav item with counter in replaciement of the one you’ve just hiden (add to bp-custom.php).
function bpfr_custom_profile_sub_nav() {
global $bp;
if( bp_is_active( 'friends' ) )
$count = friends_get_total_friend_count();
$class = ( 0 === $count ) ? 'no-count' : 'count';
//Add subnav item
bp_core_new_subnav_item( array(
'name' => sprintf( __( 'Friendships <span class="%s">%s</span>', 'buddypress' ), esc_attr( $class ), bp_core_number_format( $count ) ),
'slug' => 'friends',
'parent_url' => $bp->loggedin_user->domain,
'parent_slug' => $bp->friends->slug,
'screen_function' => 'friends_screen_my_friends',
'position' => 10
)
);
}
add_action( 'bp_setup_nav', 'bpfr_custom_profile_sub_nav' );
Did you cheched the field settings ?
User Extended Profiles
Hey, it’s monday ! Site url ? Theme name ? Give details please.
See also the codex, as there is plenty of documentation about how BuddyPress can be setup and used.
User Extended Profiles
Hi @lemantico,
please use the correct publishing tool when you insert links to post. You can add a screenshot here, but it must be stored on a external site. For that, use <img> button and insert the URL of the picture.
Also, don’t use Google’s search result URL witch is stripped, but the canonical one.
1) Installing a network locally is a bit more complex as a regular install. It depends first on how you setup your local server and the OS you use.
You tell about bbPress, are you sure of this ? It’s only a forum plugin and has nothing to do with network setup. And you’re here on the BuddyPress forum!
If the codex didn’t helped you, maybe this tutorial can.
Sorry to not help more, but it’s not possible to rewrite here what is already written on WordPress & BuddyPress codex.
oooh, a forum with no option to upload screenshots – that’s a new challenge for me! Anyway, I’ll try my best to make myself clear; Since I’m not that long with wordpress yet, I already got stucked on point “A”on site:
https://codex.buddypress.org/getting-started/installation-in-wordpress-multisite/.
Because somehow I cannot find the “Network Admin” – icon! (I can’t send you a link to my site, because I’m building offline on my localhost). I just found a screenshot, where that option should be located , but … it’s not on my site!
I’m running the newest WordPress 4.5.2 version, and just installed buddypress 2.5.3! But in the bbpress – documentation is missing the step, how to get this additional option displayed at the left bar in the menu section. I also followed the “regular installation”- documentation, but it ends with the options. So, I’m totally lost here 🙁 !
How we can make two activity stream in buddypress. Example I have create a new custom post that custom post type will automatically have the “buddypress-activity” feature enable. Comments about this post type will also generate activities or, if you chose to “allow the activity stream commenting on .
Hi,
template action hook bp_after_profile_field_content is located in bp-templates/bp-legacy/buddypress/members/single/profile/profile-loop.php:60
Add a function to bp-custom.php. Eg.
function queensplace() {
// your sutff here
echo 'outside the container, below the profile tab';
}
add_action( 'bp_after_profile_field_content', 'queensplace' );
Hi Buddypress,
I want to locate the code where I can insert image/text below (outside) the profile tab. If I can insert to show below ALL buddypress tabs is good as well.
Can you tell me which file and directory I need to do this from?

Please advise help, thanks
@c02capo get the answer directly on plugin forum !
Hallo,
enhancement demand should be made on Trac. Use same login credentials as here.
There is a TOS plugin which you could use:
https://wordpress.org/plugins/simple-terms-and-conditions-for-buddypress/
Another solution can be reached here:
Terms & Conditions Checkbox
@danbp
I know its a prototype plugin and i installed it on a test website. Thanks for the link but it doesn’t work.
I added the code to bp-custom.php and then edited buddypress/activity/members/single/messages/compose.php. I replaced <textarea name="content" id="message_content" rows="15" cols="40"> with <?php do_action( 'whats_new_textarea' ); ?>. It actually shows the visual editor but when the send message button is clicked it gives error Your message was not sent. Please enter some content. I am not much familiar with coding so maybe I am doing a mistake.
thanks
I am trying to remove the groups portion of BuddyPress’ email notifications screen. I tried the following code in bp-custom.php, but it doesn’t work:
function remove_groups_screen_notification_settings() {
remove_action( 'bp_notification_settings', 'groups_screen_notification_settings' );
}
add_action( 'bp_notification_settings', 'remove_groups_screen_notification_settings' );
Where am I going wrong?
Also, is there some way to change the text of the labels in the email notifications screen?
You should read before installing a prototype plugin !
This is a work in progress to illustrate what i have in mind for a next BuddyPress Template Pack. DO NOT USE on a live website! I repeat: DO NOT USE on a live website!
If you want a visual editor, here’s a bit old solution. Give it a try, maybe it’s still working !
Updates are added via an ajax handled text-area field type. But I never heard about a nested text-area. The only way to add something is to edit the update.
The form is in bp-legacy/buddypress/activities/post-form.php
A list of all BuddyPress “update” or “updates” related functions can be found here.
you want to add a new buddypress profile field?
re installed my theme + buddypress plugin solved my problem.
i dont know wat caused this problem. because everything is just like before, and now it’s working.
thanks for your help @danbp and @sharmavishal
I actually tried next template pack https://github.com/buddypress/next-template-packs and it works but as soon as i use the next template pack other plugins start creating errors (like buddypress media). So is there a way I can enable it on the legacy theme?
thanks
Hello,
I am using BuddyPress Version 2.5.3. I was wondering if there is a way to add a “lock comments” button.
I’ve used a plugin to lock them; however, that disabled the ability to delete posts for some reason.
Thank you in advance!
howdy,
Website is https://mobile.foodiechats.com
WP Version is 4.5.2
BuddyPress is 2.5.3
is there an easy way to control how many are shown in each section?
Ask GF for the hook re a form submission.
Then use that hook to call a function that uses bp_activity_add()