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
GilHello, I have this code snippet on my custom page.
<div id="buddypress" class="buddypress-wrap buddyx bp-dir-hori-nav alignwide"> <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&action=new_quote' ) ) : ?> <div id="activity-stream" class="activity" data-bp-list="activity" > <?php bp_get_template_part( 'activity/activity-loop' ); ?> </div> <?php endif; ?>
I want to display activity loop. Actually it is ok but activity meta class does not exist. it seem as
<div class=" -meta action">
it should be<div class=" activity-meta action">
If I remove data-bp-list=”activity” on activity-stream div css will be fine it will be activity-meta but click not work. If i use data-bp-list=”activity” click works but css does not work because of -meta (it should be activity-meta)
Can you help me?Heads 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 38
I 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
Using Youzify with a private BuddyPress site (i.e., everyone is a “member” and there is no public access), there is a profile privacy section at the bottom of the new post area on the activity feed that defaults to “Public”. On private communities this is likely to cause a fair amount of confusion because users will obviously not want anything they post to be truly “Public”, and there’s no need to force them to select “Members” before they post since it’s a private community.
In Youzify, the list of privacy options is called with apply_filters and a function name “youzify_wall_activity_privacy_option”. So in your bp_custom.php you can add something like this, where I moved the “Members” option to the top and commented out the public option:
add_filter('youzify_wall_activity_privacy_options', 'youzify_change_public_option' ); function youzify_change_public_option( $options ) { $options = array( //'public' => array( 'title' => __( 'Public', 'youzify' ), 'icon' => 'fas fa-globe-asia' ), 'members' => array( 'title' => __( 'Members', 'youzify' ), 'icon' => 'fas fa-users' ), 'onlyme' => array( 'title' => __( 'Only Me', 'youzify' ), 'icon' => 'fas fa-lock' ), 'friends' => array( 'title' => __( 'My Friends', 'youzify' ), 'icon' => 'fas fa-user-friends' ), ); return $options; }
The keys “public”.”onlyme”, “friends”, and “members” are hard coded into the privacy code so probably best not to change those. The default icon is still the globe when the page is first loaded with the members section at the top of the list, but I think that can be changed in a stylesheet or possibly a theme file override.
The reason I didn’t just rename “Public” and remove the members option is because if the community ever goes public, we don’t want those posts that were destined for the private community to be shown. This way they are still tagged as “members”.
Topic: Divi Builder and Buddypress
How can I customise individual buddypress pages with the Divi Builder?
I have already tried with the plugin “buddypress shortcodes”.
However, I notice that the automatically created Buddypress page “activity” has more content than my individual page and the shortcode [activity-listing].
Why is the whole page not displayed?
Is there no clever solution for Buddypress with shortcodes?
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.
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.