Search Results for 'buddypress'
-
Search Results
-
I’ve been attempting to customize the feed item generated for my custom post type on my buddypress/multisite installation. I’m really just trying to change the default text.
I’ve found what SHOULD be the correct code and I’ve set it up for my site, but… the changes never take. I’m not caching anything so that’s one potential complication excluded.
This is my current code (placed in bp_custom.php in my /plugins folder) :
add_post_type_support( 'webcomic', 'buddypress-activity' ); function customize_webcomic_tracking_args() { // Check if the Activity component is active before using it. if ( ! bp_is_active( 'activity' ) ) { return; } bp_activity_set_post_type_tracking_args( 'webcomic', array( 'component_id' => buddypress()->blogs->id, 'action_id' => 'new_webcomic_update', 'bp_activity_admin_filter' => __( 'Updated the Comic', 'custom-domain' ), 'bp_activity_front_filter' => __( 'Webcomic', 'custom-domain' ), 'contexts' => array( 'activity', 'member' ), 'activity_comment' => true, 'bp_activity_new_post' => __( '%1$s posted a new <a href="%2$s">comic page</a>', 'custom-textdomain' ), 'bp_activity_new_post_ms' => __( '%1$s posted a new <a href="%2$s">comic page</a>, on the site %3$s', 'custom-textdomain' ), 'position' => 100, ) ); } add_action( 'bp_init', 'customize_webcomic_tracking_args' );So the custom post type “webcomic” is generated via a plugin (called Webcomic), it’s not something I’m registering in my functions.php file. I’ve tried every “fix” I can find, and none of the changes can make this code stick! (this includes changing bp_init to just init).
I’m running buddypress 2.6. I would really appreciate it if someone could help me troubleshoot this. Even just confirming that the above code is correct would be a big help!
Thank you very much!
Hello, I could not find a way to find a solution on your buddy press website as everyone is looking for an answer.
I am using BuddyPres and could not find a way to fix this:
Fatal error: Call to undefined function bp_get_current_group_id() in /home/content/22/6457922/html/ozrobotics/marketplace/wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php on line 484
All I did was within the wp backend in buddy press uncheck some group related stuff that I do not need. Then all of a sudden give this error and now I have no access to the wp backend.
Can you please tell me how to fix this?
If I delete entire buddy press plugin will it ruin my site! Because the buddy boss theme I am using requires buddy press plugin.
Thanks
Oz
I have a buddyPress ‘recent activity’ listing on my home page, but I want to add a What’s New textbox (with the Post Update button) right there so that users don’t have to go to the dedicated Activity page to post news and updates. I get that the updates will just be general updates as opposed to being posted within a forum or group, but that is fine so that it is easy for members to log in and quickly post an update on their feed stream.
Is there a plugin that will give me a new shortcode for that which I can add to my home page? What buddypress code would I have to modify to take do it manually? the shortcode currently on my home page for the activity loop is: [template_part slug=”template-bp” name=”activity-loop”]
I am using buddyPress Version 2.5.3
Topic: A question about messages?
So Buddypress has a messaging system so that uses can communicate privately. This is a great feature but what if users want to have a quick conversation? Chat is the only option. There are a few third party plugins available but it would be better if this was built in feature. It is one of the most requested features see https://mercime.github.io/BuddyPress-2015-survey-results/feature-requests-table.html I know it requires hard work but a question to Budypress developers – do you have any plans of adding a built in chat system?
Just curiousHi, I am working with this code I found to show a CPT of fb_url_submit links. It works great but I would like to add other CPT’s to display in the same way on the Buddypress activity feeds, but with a different link of course.
When I try it says I cannot duplicate one of the CPT activity actions, and I am not a coder, so could someone please help me figure how to add the CPT’s of “news” and “images” while also showing them in the activity stream, and able to change the link that is displayed?
Thank you in advance!
<?php
function inspired_record_more_types( $types ) {
$types[] = 'fb_url_submit';
return $types;
}
add_filter( 'bp_blogs_record_post_post_types', 'inspired_record_more_types');
?><?php
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 == 'fb_url_submit' ) {
if ( is_multisite() )
$activity_action = sprintf( __( '%1$s added a new Facebook Page', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '' . $post->post_title . '', '' . get_blog_option( $blog_id, 'blogname' ) . '' );else
$activity_action = sprintf( __( '%1$s added a new Facebook Page', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '' . $post->post_title . '' );}
return $activity_action;
}
Hi,
I have a Facebook-style wall set up as the default tab for activity on users’ BuddyPress profiles. This makes some of the other subnavs redundant, so I’ve hidden them. However, when a user gets mentioned, the notification sends them to the Mentions tab (which I’ve also hidden). How can I redirect them to their wall (/members/%username%/activity/)? BuddyPress’ dynamic URLs make this much less straightforward than usual.
Hey guys,
I’m using the latest Buddypress and Theme Kleo and still trying to remove the featured thumbnails that appears in every single blog post. I would like to remove that but to no avail. Initially I thought it was a theme problem but now I realize that this must be something related with Buddypress.Any idea how to remove the featured thumbnail within a blog post?
Thanks!