Search Results for 'custom activity page'
-
Search Results
-
When I click the timestamp of a post, I am taken to the correct page:
Example: https://myurl.com/members/username/activity/72/
However, the page shows ALL of that users updates, not just the single post. This happens for group posts as well.
Any ideas what may be causing this? I have tested everything I can think of (disabled all plugins, reactivated only buddypress, removed all custom CSS, etc.) and the problem persists.
Hi,
I have a Custom Post Type ‘golfs’ created with CPT UI.
I try to get the golfs comments (activated) in the Activites feed of BuddyPress without success…I put the code i found here ( https://codex.buddypress.org/plugindev/post-types-activities/ ) in my bp-custom.php file :
function customize_page_tracking_args() { // Check if the Activity component is active before using it. if ( ! bp_is_active( 'activity' ) ) { return; } // Don't forget to add the 'buddypress-activity' support! add_post_type_support( 'golfs', 'buddypress-activity' ); /** * Also don't forget to allow comments from the WordPress Edit Page screen * see this screencap https://cldup.com/nsl4TxBV_j.png */ bp_activity_set_post_type_tracking_args( 'golfs', array( 'action_id' => 'new_blog_page', 'bp_activity_admin_filter' => __( 'Published a new page', 'custom-textdomain' ), 'bp_activity_front_filter' => __( 'Page', 'custom-textdomain' ), 'bp_activity_new_post' => __( '%1$s posted a new <a href="%2$s">page</a>', 'custom-textdomain' ), 'bp_activity_new_post_ms' => __( '%1$s posted a new <a href="%2$s">page</a>, on the site %3$s', 'custom-textdomain' ), 'contexts' => array( 'activity', 'member' ), 'comment_action_id' => 'new_blog_page_comment', 'bp_activity_comments_admin_filter' => __( 'Commented a page', 'custom-textdomain' ), 'bp_activity_comments_front_filter' => __( 'Pages Comments', 'custom-textdomain' ), 'bp_activity_new_comment' => __( '%1$s commented on the <a href="%2$s">page</a>', 'custom-textdomain' ), 'bp_activity_new_comment_ms' => __( '%1$s commented on the <a href="%2$s">page</a>, on the site %3$s', 'custom-textdomain' ), 'position' => 100, ) ); } add_action( 'bp_init', 'customize_page_tracking_args' );New golfs are displayed in the activities feed but not the new comment.
Can anybody tell me what’s wrong ?
WP 6.2.2
BuddyPress 11.2.0
PHP 7.4Thank’s in advance
GilHeads up ! BP is currently not compatible with PHP 8.2
Deprecated: Creation of dynamic property BP_Members_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299 Deprecated: Creation of dynamic property BP_Members_Component::$table_name_invitations is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Members_Component::$table_name_last_activity is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Members_Component::$table_name_optouts is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Members_Component::$table_name_signups is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Members_Component::$nav is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-component.php on line 213 Deprecated: Creation of dynamic property BP_Members_Component::$invitations is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-component.php on line 232 Deprecated: Creation of dynamic property BP_XProfile_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299 Deprecated: Creation of dynamic property BP_XProfile_Component::$table_name_data is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_XProfile_Component::$table_name_groups is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_XProfile_Component::$table_name_fields is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_XProfile_Component::$table_name_meta is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Activity_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299 Deprecated: Creation of dynamic property BP_Activity_Component::$table_name is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Activity_Component::$table_name_meta is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Friends_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299 Deprecated: Creation of dynamic property BP_Friends_Component::$table_name is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Friends_Component::$table_name_meta is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Groups_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299 Deprecated: Creation of dynamic property BP_Groups_Component::$table_name is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Groups_Component::$table_name_members is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Groups_Component::$table_name_groupmeta is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Messages_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299 Deprecated: Creation of dynamic property BP_Messages_Component::$table_name_notices is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Messages_Component::$table_name_messages is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Messages_Component::$table_name_recipients is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Messages_Component::$table_name_meta is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Notifications_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299 Deprecated: Creation of dynamic property BP_Notifications_Component::$table_name is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Notifications_Component::$table_name_meta is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718 Deprecated: Creation of dynamic property BP_Settings_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299 Deprecated: Creation of dynamic property BP_Course_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299 Deprecated: Creation of dynamic property BP_Activity_Component::$actions is deprecated in wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php on line 350 Deprecated: Creation of dynamic property MemberTypes_Custom_Field::$bp_get_member_type_tax_name is deprecated in wp-content/plugins/vibebp/includes/class.membertypes.from.fields.php on line 29 Deprecated: Creation of dynamic property BP_Members_Admin::$capability is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 109 Deprecated: Creation of dynamic property BP_Members_Admin::$user_profile is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 115 Deprecated: Creation of dynamic property BP_Members_Admin::$current_user_id is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 118 Deprecated: Creation of dynamic property BP_Members_Admin::$user_id is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 121 Deprecated: Creation of dynamic property BP_Members_Admin::$is_self_profile is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 124 Deprecated: Creation of dynamic property BP_Members_Admin::$screen_id is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 127 Deprecated: Creation of dynamic property BP_Members_Admin::$stats_metabox is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 130 Deprecated: Creation of dynamic property BP_Members_Admin::$edit_profile_args is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 133 Deprecated: Creation of dynamic property BP_Members_Admin::$edit_profile_url is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 134 Deprecated: Creation of dynamic property BP_Members_Admin::$edit_url is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 135 Deprecated: Creation of dynamic property BP_Members_Admin::$users_page is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 138 Deprecated: Creation of dynamic property BP_Members_Admin::$signups_page is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 139 Deprecated: Creation of dynamic property BP_Members_Admin::$users_url is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 140 Deprecated: Creation of dynamic property BP_Members_Admin::$users_screen is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 141 Deprecated: Creation of dynamic property BP_Members_Admin::$members_invites_page is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 143 Deprecated: Creation of dynamic property BP_Members_Admin::$subsite_activated is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 146 Deprecated: Creation of dynamic property BP_Members_Admin::$tools_parent is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 160 Deprecated: Creation of dynamic property BP_Members_Component::$admin is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 78 Deprecated: Creation of dynamic property BP_XProfile_Component::$admin is deprecated in wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-user-admin.php on line 38I am using the following:
WP Version: 6.1.1
Permalink: /%postname%/
Active Theme: BuddyX 4.4.5
Platform: Windows
Browser Name Chrome
PHP Version: 8.0.7
MySQL Version: 5.5.5
The plugins I have are these:Activity Plus Reloaded for BuddyPress 1.0.8
Akismet Anti-Spam 5.0.2
BP Friends Suggestions Widget 1.1.0
BP Profile Search 5.4.7
BuddyPress 11.0.0
BuddyPress Activity ShortCode 1.1.8
BuddyPress Extended Friendship Request 1.2.1
BuddyPress Global Search 1.2.1
BuddyPress Login Redirect to Profile 1.2.3
BuddyPress Profile Completion 1.0.8
BuddyPress Simple Terms And Conditions 1.3
BuddyPress Xprofile Custom Field Types 1.2.5
Classic Editor 1.6.2
Classic Widgets 0.3
Colorlib Login Customizer 1.3.1
CookieYes | GDPR Cookie Consent 3.0.8
Custom Font Uploader 2.0.0
Duplicator 1.5.1
Easy Registration Forms 2.1.1
Force Login 5.6.3
GEO my WP 3.7.2.1
Kirki Customizer Framework 4.0.24
Quick and Easy FAQs 1.3.6
Shared Counts 1.4.1
Verified Member for BuddyPress 1.2.6
Wbcom Designs – BuddyPress Member Reviews 2.8.3
WordPress Username Availability Checker 1.1.8I have configured a new Register page using ERForms. I’ve created just a wordpress page which has only a shortcode to the ERform.
I’ve set it at buddypress settings-> Pages -> register. Buddypress is redirecting to the wordpress regitration page instead of my page.
I’ve also changed the redirection at buddypress setting to whatever page (for example my FAQ page) and always redirects to the wordpress registration page.I’ve tried also deactivating all plugin but buddypress and ERforms and no, buddypress is always redriecting to the standard wordpress registration page instead of what I am setting.
Any hint / idea what to cope this problem?
Thnks in advance
Hi,
I’m trying to show a part of the activtiy feed (entries categorized as “tips” with feed meta category) on a different page than the standard activity page. Using the activity loop in a custom page template it’s easy to display the restricted activities on a standard WP page.
However, as the standard WordPress page is not a registered BuddyPress page none of the Buddypress CSS classes and Javascript is loaded, which means that the custom loop looks pretty bad and is largely non-functional.
So far I’ve come up with two ideas about how to solve this:
1) using different feed templates on the standard activity feed page and indicate which one to use by adding a variable in the URL – this approach runs into problems because the standard feed is loaded by Admin-Ajax and there’s no apparent way to add an additional URL induced context variable to the ajax query – or is there?
2) turning the standard WordPress page into a BuddyPress page (so the activity JS and CSS is loaded). I’ve been thinking about actually comparing loaded scripts and manually enqueuing them for the new page-template, but I wonder if there is not a much simpler solution.
I’ve tried ideas like this “prehistoric” one, but they don’t appear to work anymore – https://buddypress.org/support/topic/make-your-own-custom-buddypress-page/page/2/
Is there a modern equivalent to this?
Should I maybe approach this completely differently?
Thanks for any help!
Wordpress v5.9
Buddypress V10
Theme – Nouveau enabledI’m trying to put the contents of a single activity onto a custom wordpress template page.
e.g. https://www.mysite.com/members/myusername/activity/2/I looked at the \buddypress\bp-templates\bp-nouveau\buddypress\activity\activity-loop and \activity\single\home for code to put in my custom template:
<div class="entry-content" id="start-a-project"> <div id="buddypress" class="buddypress-wrap twentysixteen bp-dir-hori-nav"> <?php $prj_activity_args = array("include"=> 2 ); // only pull activity id=2 from WP_BP_ACTIVITY ?> <div class="activity" data-bp-single="2"> <!--hardcoding for testing--> <?php if ( bp_has_activities( $prj_activity_args ) ) : ?> <?php if ( empty( $_POST['page'] ) || 1 === (int) $_POST['page'] ) : ?> <ul id="activity-stream" class="activity-list item-list bp-list" data-bp-list="activity"> <ul class="activity-list item-list bp-list"> <?php endif; ?> <?php while ( bp_activities() ) : bp_the_activity(); ?> <?php bp_get_template_part( 'activity/entry' );?> <?php endwhile; ?> <?php if ( empty( $_POST['page'] ) || 1 === (int) $_POST['page'] ) : ?> </ul> <!-- .activity-list --> </ul> <!-- #activity-stream --> <?php endif; ?> <?php else : ?> <?php //bp_nouveau_user_feedback( 'activity-loop-none' ); ?> <?php endif; ?> <?php// bp_nouveau_after_loop(); ?> </div> </div>I only want to pull one activity – so I passed array(“include”=> 2 ) to bp_has_activities() ; However, when the page is loaded, the <ul id=”activity-stream”> loads ALL the activities.
Could someone help me figure out why this is happening? I switched to the legacy theme and the code works fine. I think it’s something to do with the data-bp-list=”activity” that is causing all the activities to get loaded.
Hi!
I am trying to create a shortcode to place the activity loop in a new page, so I can customize and highlight some activities. To start, I inserted the standard loop inside a shortcode function (code as below). But the standard loop failed to show. Just to ensure that my shortcode is ok, I just inserted a “testing 123” text to check.
FYI, I am using BuddyX theme (WordPress version 5.8.3). I test the code below in functions.php before place it into Code Snippets plugin. Currently, the code is still inside functions.php.
I placed the shortcode ([mkp_activity]) in a page (link to the page as below). I also try to place the shortcode in widget area. But the loop just did not appear.
function mkp_bp_activity_shortcode() { $message = 'testing 123'; return $message; if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : while ( bp_activities() ) : bp_the_activity(); locate_template( array( 'activity/entry.php' ), true, false ); endwhile; endif; } add_shortcode('mkp_activity', 'mkp_bp_activity_shortcode');I am new to this. I am not sure if I am doing this completely wrong. Appreciate any advice. Thanks!
Regards,
CKTopic: register just refreshes page
when filling out register form it just refreshes the page – seems to fail with no error message I can see.
How would I find out what is happening in the browser and on the server to debug?tried with turning off plugins and back to default theme,
also did the list of things to check from here:
(
– check the WordPress settings allows account to be created (Anyone can register checkbox needs to be active) See: wordpress.org/support/article/settings-general-screen/#membership
– check your permalink settings are using one of the pretty permalink options (not plain), see this documentation page wordpress.org/support/article/using-permalinks/#mod_rewrite-pretty-permalinks
– check the activate and register actions are associated with a public WordPress page. You can find some inputs about it from this documentation page : codex.buddypress.org/getting-started/configure-components/#settings-buddypress-pagesNB: the registration and activation pages are only displayed to users who are not logged in,
)site is https://www.chatyolo.com/register/ – it’s kind of NSFW
1. Which version of WordPress are you running?
5.8.3
2. Did you install WordPress as a directory or subdomain install?
main directory
6. Which version of BP are you running?
9.2
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
301 Redirects, All in One SEO, AdRotate, Error Log Monitor, Forminator Pro,
Slide Anything – Responsive Content / HTML Slider and Carousel, Wise Chat Pro, Wordfence Security,
WP Activity Log, Smush Pro, Query Monitor,
9. Are you using a standard WordPress theme or customized theme?
tried both -happens with 2021 theme, zakra, and astra13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
2.6.9 – it’s turned off through and still issue20. What BP Template Pack is activated in your installation? You will see that under Dashboard > Settings > BuddyPress – Options page.
was on legacy, switched to neavoxTried with firefox and chrome and different computers..
had a few other profile fields – then removed them from the base signup and it still fails –Help greatly appreciated
Greetings,
I have a CPT “events” that I want to display on the activity feed. I stumbled upon this page: https://codex.buddypress.org/plugindev/post-types-activities/ which tells you how to implement it.
I have added
add_post_type_support( 'page', 'buddypress-activity' );
to the custom-bp.php which works and indeed shows a post once I add a new event.However, the message it shows is a bit generic (Name wrote a new item) which I would like to change (including featured image).
In the above-mentioned link it does explain how to do this (changing the text) but for some reason, I can’t make it work. I added the following code as mentioned to my custom-bp.php but it just does not change the message:
function customize_page_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( 'events', array( 'component_id' => buddypress()->blogs->id, 'action_id' => 'new_blog_page', 'bp_activity_admin_filter' => __( 'Published a new page', 'custom-domain' ), 'bp_activity_front_filter' => __( 'Events', 'custom-domain' ), 'contexts' => array( 'activity', 'member' ), 'activity_comment' => true, 'bp_activity_new_post' => __( '%1$s posted a new <a href="%2$s">event</a>', 'custom-textdomain' ), 'bp_activity_new_post_ms' => __( '%1$s posted a new <a href="%2$s">event</a>, on the site %3$s', 'custom-textdomain' ), 'position' => 100, ) ); } add_action( 'bp_init', 'customize_page_tracking_args' );Also, in the best case I would like to add the featured image to it which is clickable (exactly how it does it for a normal blog entry).
Can somebody tell me what I do wrong?
Hello, I have created a custom notification for when a Moderator or Admin comments in a Buddypress Group.
It does two things:
1. it creates a notification and
2. sends out an email to the members.The email works fine with wp_mail() and the notification is also created fine in most cases, EXCEPT for when the last thing we do in the caption box is copy-paste text. In these scenarios the notification is created for the user (they see a +1), but clicking on the notification gives a “page not found” error.
One of my last tests proved that I can in fact copy-paste content with no character limit in the caption box. But I must make sure I type with my keyboard something before Posting the Update IF I want the notification to save properly in the DB.
I wonder if this is a bug and/or If anyone has experienced a similar problem when copying text into a form.
Best regards,
PabloFunctions and Hooks used:
bp_notifications_add_notification
bp_activity_add
bp_notifications_get_notifications_for_user
bp_notifications_get_registered_components
wp_mailHello!
Im working for 2 days now to solve my problem, but i dont know how anymore. My Problem is, that i dont know how to activate the Stream Sidebars. On my live page, i cant show the sidebars on the activity site, if i open the activity stream site what is linked in the buddypress options, the sidebars are visible, but there is still my old webdesign and there is missing all of the extensions from the youzify plugin. that are 2 different versions of activity, why? on live page there is a completley different activity page.
I am using the Hueman Pro Theme, but i tried also some other themes too. still the same problem.
for some reason i cant customize or link the working activity stream with youzify and the live page. And i also dont have the wall sidebar widget?!
Here are 2 images with working and non working stream and sidebars.


Hope anyone can help?! Im pretty bored at the moment. 🙂
Sorry for my bad english and thank you 🙂
Hi All,
Is there a way to override the rendered image for the avatar photo on the What’s New form in the Activity page?
I have applied the necessary custom values mentioned here – https://codex.buddypress.org/themes/guides/customizing-buddypress-avatars/
But that does not seem to apply to the What’s New avatar.I am using the “Nouveau” template and I look as its files and I cannot see anything to directly override the whats-new-avatar size.
I have set in my bp-custom.php the sizes to be 150, but the whats-new-avatar image being used still sticks to 50 and thus it becomes blurry.
I hope somebody can help me on this.
Thank you!
Comments on activity item of custom post type in feed appear blank (empty body) but appear correctly in the single post page and tracking otherwise works as expected.
I’ve got feed blog posts & comments enabled on BP back-end. Cannot figure out where the problem seems to be.
Any king of help would be appreciated.