Search Results for 'Activity Feed for members only'
-
Search Results
-
Topic: Working on PC but not mobile
My Buddypress group only works on computers, it doesn’t work on mobile. Anytime I try to view my activity page or members page, I get this message:Post Update All Members 0 Mentions 0 RSS Feed Search Activity… Search Show: — Everything — New Members Profile Updates Updates Friendships New Groups Group Memberships Group Updates Posts Comments Loading the community updates. Please wait. Read more
But it works perfectly fine on my computer, what do I do?
Wordpress version- 6.7.1
Buddypress version- 14.3.3Hello and thank you for your work on this plugin!
I use Buddypress with a theme, Neve, which requires a few display settings, for example centering the values (Newest, Oldest, Alphabetical) in the filters (for directories of members, groups, in groups, etc. .). To do this, I take the element ID and apply text-align:center to it in Additional CSS and it works. When looking for the ID of one of these elements in a group, for the group member list, I realized that there was none. So, on the one hand I can’t center it, on the other hand, as mentioned in the post “Sort function in groups not working”, this filter does not work, maybe because of this missing ID.
In my configuration, I had not activated the Activity part, and by doing so, the ID appears (groups_members-order-by), it is only without the Activity feed (and therefore when the Home page of the group contains the members) that the ID is missing and therefore inoperative.
I just updated to 10.5.0 and it still does.
WordPress 6.0.3
Wish there is a way to fix this and keep Activity disabled 🙂PS: topic already posted but blocked/deleted because of links and images (?)
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”.
Hello, some informations about my installation :
– WAMP
– WP v.5.9
– BP 10.0.0
– Theme Buddy-x 4.3.1
– PHP 8.1.0There is no other plugin : I try to create a functionnality for a client that can let you be able to repost an activity from other members on your own member profile only.
The thing is, I actually can insert into the database via ajax method the ID of any activity and the date of reshare. Then I can display on the member profile an array with all the shared activity and informations about them (all columns from the database wp_bp_activity table).
Now, I want to implement them inside the feed. My idea is to intercept the result of the ajax (bp_has_activities( bp_ajax_querystring( ‘activity’ )) that – apparently – return a JSON data Object. Then insert the shared activities with the date of repost, reorder all these activities by dates and display the complete new feed.
Intercept -> insert the shared activities -> reorder by dates -> display.
But I don’t know how I can intercept this query. In fact, even if I delete the activity-loop.php file it’s still the same, I have no control on the feed.
Anyone has an idea about this ? How to add these shared activities to a member feed ?
Thanks
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.
My community content is only accessible to the members who are logged in. No other members can view it.
When a logged-in user shares any group activity or personal feed on Facebook, it does not show any preview or even text of that activity. Instead, of that, it only shows the log-in page link and privacy policy excerpt on that social media post.
I’m using BP Social share plugin.
Please help me.
Aabhishek SharmaHeyo. I am having a weird issue where the groups show group activity AND the personal activity of the groups members (this happens for subscribers only). So for example if user A and user B are subscribers and they are friends, their personal posts show in each others groups along with the group activity posts. For admins, the group activity feed behaves as expected and this issue does not happen. If I change user A’s role to a subscriber, they no longer see their friend’s personal posts inside their groups. Any idea what could be causing this? Here is a video I made of the issue: https://www.loom.com/share/a5b6c622c30341688223b9c584688a54
We only only want to allow our members to create hidden groups, and to allow all group members to invite others, to post to activity feed and to also send group messages.
I can see that group-settings.php sets up the form with these options but ideally we’d like to bypass the settings page in group creation as we aren’t allowing any choices here for the group creator.
For now I’ve simply removed the redundant radio button fields and set the resining radio button to be checked so the values are carried through the multipart form but ideally I’d skip the group-settings.php options.
Hello!
As the title says, I would like that only admins can post to the group activity feed. However I would still like for members to be able to comment on activity posts (just not create them).
Please help 😀
Thank You,
– DHi guys
I have the Aardvark theme which comes bundled with Paid Memberships Pro and BuddyPress/bbPress.
WP version 5.3.2, BP version 5.1.2
I’ve set the site so any non logged-in user goes to a set page, the site is essentially private.For some reason, the activity feed on the homepage wall only shows activities when logged in as admin. Any other user gets the message “Sorry, there was no activity found. Please try a different filter.” If they post a status, it’s visible when posted and goes into the database, but refreshing the homepage leads to an empty wall again.
I’ve only made one recommended tweak to the child theme – redirecting non-logged in users to a “public page”. I can provide the admin login if that helps.
function my_template_redirect_require_membership_access() { if(!is_admin()){ if ( function_exists( 'pmpro_has_membership_access' ) && ! pmpro_has_membership_access() ) { wp_redirect( pmpro_url( 'levels' ) ); exit; } } } add_action( 'template_redirect', 'my_template_redirect_require_membership_access' );
As I don’t know where the problem lies I’m not sure what settings to show you. I’ve tried disabling all of the additional plugins I’ve installed to no avail. Here are the plugins I have installed:
Aardvark Plugin
bbP private groups
This plugin adds private groups to the forums, allocating users to groups, and combinations of forums to those groups, creating multiple closed forums.bbPress
bbPress is forum software with a twist from the creators of WordPress.bbPress Notify (No-Spam)
Sends email notifications upon topic/reply creation, as long as it’s not flagged as spam. If you like this plugin, help share the trust and rate it!BP Profile Search
BuddyPress
BuddyPress Xprofile Custom Field Types
Classic Editor
Coming Soon Page, Under Construction & Maintenance Mode by SeedProd
Contact Form 7
Elementor
Envato Market
Events Manager
GD bbPress Attachments
LayerSlider WP
Paid Memberships Pro
Paid Memberships Pro – bbPress Add On
Paid Memberships Pro – BuddyPress Add On
Paid Memberships Pro – Mailchimp Add On
Passster
Plugin to password-protect portions of a Page or Post.Responsive for WPBakery Page Builder
rtMedia for WordPress, BuddyPress and bbPress
Sensei Certificates
Sensei LMS
Smash Balloon Instagram Feed
Display beautifully clean, customizable, and responsive Instagram feeds.Smush
Reduce image file sizes, improve performance and boost your SEO using the free WPMU DEV WordPress Smush API.Theia Sticky Sidebar
Transcoder
Ultimate Reviewer
UpdraftPlus – Backup/Restore
Backup and restore: take backups locally, or backup to Amazon S3, Dropbox, Google Drive, Rackspace, (S)FTP, WebDAV & email, on automatic schedules.WooCommerce
Wordfence Security
Wordfence Security – Anti-virus, Firewall and Malware Scan
WordPress Popular Posts
WP Google Review Slider
Allows you to easily display your Google Places business reviews in your Posts, Pages, and Widget areas!WP-Live Chat by 3CX
The easiest to use website live chat plugin. Let your visitors chat with you and increase sales conversion rates with WP-Live Chat by 3CX.WPBakery Page Builder
Youzer
I can send a link to a zip file of the settings of the various membership and theme plugins if that helps.
I understand the issue could be complex but I’m a PHP developer, so if you know of some places I can look in the code or starting points for investigation that would be really helpful 🙂
Cheers
Hi folks,
Could someone tell me if there is a delay or check system in posts to groups within Buddypress or what would cause intermittent delays.Scenario:
Posted group updates for the past hour from 3 accounts intermittently. For the first hour the only posts visible on each users group activity view was their own posts (and any historical from last month).Then after 45- 60 minutes all posts became visible (i.e. expected behaviour) and all new posts posted after that point were visible.
—–
I can’t see how there would be a delay and then no delay, the activity feed I used was the base code with all customizations removed. I’m at a loss to figure it out and it’s so strange I’m doubting myself but this isn’t the first time this has happened (hence the testing that revealed this anomoly).I did not develop, but help support, the http://www.EmbraceCreatives.com website. I have stumbled across three issues with the site, but I believe all are closely related.
Issue 1: The default settings for the News Feed are too inclusive and the News Feed gets clogged with uninteresting stuff. To address this issue, I received some help form this forum which resulted in my adding the following code to …/wp-content/themes/social-portfolio/functions.php. (Yes, this does belong in social-portfolio-child, but when I added it there, it did not function. It would require too much time and effort to address fix this problem, which just means that I have to be careful should we update the theme.)
function ec_filter_activity( $activity_object ) { $activity_object['action'] = array( 'item1', 'item2'); return $activity_object; } add_filter( 'bp_after_has_activities_parse_args', 'ec_filter_activity');
The good news is that this code does limit the items shown in the News Feed to those in the item list. However, the dropdown filter, which allows filtering by activity type, no longer functions. Selecting any value causes the page to refresh, but the items displayed are not changed. Also note that removing the code shown in Issue 2 below does not change this behavior.
Issue 2: Part of the customization is to allow site members to post portfolios of their work. This was implemented as a custom component called gallery and there are two activities associated with this component. The first thing I did was register these activities (as the developer had failed to do so). Next, I added the following code to …/wp-content/plugins/embrace-creatives/include/components/gallery/gallery-component.php
function setup_actions() { /*other lines from this function omitted for clarity */ add_action( 'bp_activity_filter_options', array( $this, 'display_activity_actions' ) ); /* added */ } public function display_activity_actions() { /* newly added function */ ?> <option value="<?php echo 'portfolio_published'; ?>"><?php _e('Portfolio Published'); ?></option> <option value="<?php echo 'project_published'; ?>"><?php _e('Project Published'); ?></option> <?php }
The good news is that these two actions are shown in the dropdown mentioned above. However, whereas the dropdown functions properly with regard to all other activities, it does not function for these two newly added ones (when this code is active and the code from Issue 1 is disabled).
Issue 3: The list of activities shown in the dropdown filter should match the list specified under Issue 1. While I think that I may have figured out how to add activities to this filter (see Issue 2), I do not know how to remove ones on the list, or better yet, simply specify only the ones that should be included.
We would truly appreciate any assistance you can provide. I would be more than willing to jump onto a phone call or even provide access to our clone site if someone wants to jump in.
Hi there,
I just started using BuddyPress for my membership site 2 weeks ago. Is there a way to have a page, kind of like the Home page of Facebook, where you see a news feed of everyone’s posts in the membership?I see that under each person’s Profile, there’s an Activity feed, but that only shows the activity of that person. I want members to be able to see the activity of everyone, all in one place.
Thanks!
Wordpress Version:4.9.2
BuddyPress Version: 2.9.2
Link in Question: https://www.flowtricks.net/members/alucard3933/activity/2716/#acomment-2745I am using buddypress and having an issue with responsiveness in the activity feed. As someone replies to a comment, it nests in. The first reply starts in the middle of the screen it seems to nest off the avatar image. (please see the link above and view it in mobile – if in firefox – you can control + shift + m to activate mobile view).
Ive researched for hours and came up with some style.css but this doesn’t fix the problem – as the first reply begins in the center and only takes up half the mobile screen.
.activity ul.item-list li .activity-comments ul { margin-left: 30px !important } /* subsequent comments accumulative indent */ .activity ul.item-list li .activity-comments ul ul { margin-left: 0px !important }
I’d just like to be able to detect mobile and then remove all extra indentions or nesting. From what I can see, the persons avatar graphic takes up half of the screen and so the first comment begins in the center – and each reply gets smaller after that. Maybe there’s a way to adjust how the avatar is interacting with the replies?
is there some php code I could plug in to remove this or anything I can change?
A screen shot shows what’s happening also.
https://scontent-dft4-2.xx.fbcdn.net/v/t34.0-12/27781017_1453624544765707_192881252_n.png?oh=c6f117526f2e0619a2d42d78324e3c3d&oe=5A7AF020Helloooooo everybody(I’m glad you’re taking the time to help me, and hey, we all start somewhere),
So I’ve been looking into BuddyPress for about a month now, and I still can’t decide if its what I need. I love it and I respect all its glory, So let me explain what I need.
1) The overview of my site
– I want users to come to my site, register, and log in. I would love to be able to customize the way these pages look!(background image, logo, and content inside them). With regard to my user experience, I need everything done from the front end because the backend is too confusing for members.2) What users can do on my site
– Okay, this is what I’m having trouble figuring out. I’m not looking for a full-blown social media site (yet). I want to build a site that where users can log in, create a “blog” excerpt with media and then post it.An example would be “Me and my dog” with photos, and a paragraph explaining. They should also be able to put a location tag on it. When they post it, the only people I want to see that are the people they added as friends or if they have their profile set to public. And when it shows up on their friend’s news feed it should just show a featured image, title, and the beginning of their text with a like counter.When their friends click on that post it brings them to the full blog post, not just the featured image. Their friends can favorite the content or comment on it. On a users profile, I would like to show their recent posts, and posts they’ve favorited. and that’s it. No excess information like a changed profile picture, etc. An extended bio profile would work great as well.– I’m not looking for messaging, groups, sitewide activity, or showcasing my own personal blog to the members. I would like this site to be customized solely for the user. I wouldn’t mind having a site homepage. Would I need to enable multi-site to allow this to happen?
3) I would like this to look simple, and clean; so that brings me up to my final hurdle. What theme should I use? I’ve been looking at X, Divi, and Soledad. Are any of these themes able to do what I’m looking for? I would love to just be able to customize how everything looks on my site.
Thanks & happy holidays
Hi,
Here’s a list of all style and script files that are included in the head section of very page on every site in a BuddyPress network:
<link rel='stylesheet' id='bp-admin-bar-css' href='.../wp-content/plugins/buddypress/bp-core/css/admin-bar.min.css?ver=2.9.1' type='text/css' media='all' /> <link rel='stylesheet' id='bp-legacy-css-css' href='.../wp-content/plugins/buddypress/bp-templates/bp-legacy/css/buddypress.min.css?ver=2.9.1' type='text/css' media='screen' /> <script type='text/javascript' src='.../wp-content/plugins/buddypress/bp-core/js/confirm.min.js?ver=2.9.1'></script> <script type='text/javascript' src='.../wp-content/plugins/buddypress/bp-core/js/widget-members.min.js?ver=2.9.1'></script> <script type='text/javascript' src='.../wp-content/plugins/buddypress/bp-core/js/jquery-query.min.js?ver=2.9.1'></script> <script type='text/javascript' src='.../wp-content/plugins/buddypress/bp-core/js/vendor/jquery-cookie.min.js?ver=2.9.1'></script> <script type='text/javascript' src='.../wp-content/plugins/buddypress/bp-core/js/vendor/jquery-scroll-to.min.js?ver=2.9.1'></script> <script type='text/javascript'> /* <![CDATA[ */ var BP_DTheme = {"accepted":"Accept\u00e9","close":"Fermer","comments":"commentaires","leave_group_confirm":"Voulez-vous vraiment quitter ce groupe ?","mark_as_fav":"Favori","my_favs":"Mes Favoris","rejected":"Rejet\u00e9","remove_fav":"Supprimer le favori","show_all":"Tout afficher","show_all_comments":"Afficher tous les commentaires de cette discussion","show_x_comments":"Afficher tous les commentaires (%d)","unsaved_changes":"Votre profil contient une ou plusieurs informations non sauvegard\u00e9es. Si vous quittez cette page sans les enregistrer, ellles seront perdues.","view":"Afficher"}; /* ]]> */ </script> <script type='text/javascript' src='.../wp-content/plugins/buddypress/bp-templates/bp-legacy/js/buddypress.min.js?ver=2.9.1'></script>
Now, needless to say this hurts page load times and so SEO results badly. Worse is that this applies to every page on every site in the network!
Now I could understand the buddypress admin bar related stuff, if the admin bar was actually activated. But it all seems to be loaded whether it’s actually needed on that page or not … and whether the related module or options is even activated or not :S
Apart from the performance impact, I see it actually hurt theme scripts on sites in the network. Like the jquery smooth scroll that is used by Genesis / Agency Pro theme, it just gets overruled and rendered useless by the activity feed / scrollto scripts.
IMHO these should ONLY be loaded on the activity page or other BP pages, or if any of the BP widgets (do any of them need extra assets?) are used… And even then, not way up in the header if at all possible.
Why is it implemented as it is now? Convenience or actual necessity?
Thanks for any clarification or thoughts 🙂
Topic: BuddyPress News Feed Display
WP Version: 4.8
BP Version: 2.8.2
nutribabenation.lovechard.comOur membership site’s news feed is displaying weird. Currently, when you click on the news feed [activity stream] menu button, it displays every comment as a post with an arrow that says “View Conversation” when hovering over. By clicking on the arrow, it takes you to the original post just fine… but we don’t want them all clogging our news feed. Only when you click on the “All Members” button at the top does the news feed display regularly.
How do we get the News Feed to just show normal with the correct Post > Comments down the page instead of all of the comments shown as posts?
Thank you!
After much research through many old threads, using the combination of a few, I figured out how to remove the “All Members” view of the Activity feed.
I originally tried a solution posted by paulhastings0 on the page https://buddypress.org/support/topic/change-the-default-activity-tab/
However, as a member in that thread posted a few comments later, this only changes the default selection of the tab, it does not in fact change the feed that is loaded. So the tab said “My Friends” (or whatever tab you set as selected), but the feed that loaded was still the “All Members” feed.
The second option I found (which I can’t find again to link to while writing this) only removed the “All Members” tab option, but simply left the tab as a blank space, while still loading the “All Members” feed.
If you combine the two solutions however, it works like a charm!
So, here’s the solution:
You should be working in the BP Child theme.
1) Copy the index.php file from ../wp-content/themes/boss/buddypress/activity
2) Paste the index.php into your ../wp-content/themes/boss-child/buddypress/activity directory (it doesn’t exist, so you’ll have to create it)
3) Use the first solution by paulhastings0 in the old thread to change which tab is default selected by removingclass="selected"
from the<li class="selected" id="activity-all"><a href="<?php bp_activity_directory_permalink(); ?>" title="<?php esc_attr_e( 'The public activity for everyone on this site.', 'boss' ); ?>"><?php printf( __( 'All Members <span>%s</span>', 'boss' ), bp_get_total_member_count() ); ?></a></li>
line (on line 24) and addclass="selected"
to the new tab you want selected (I chose the “My Friends” tab, so for me it was<li id="activity-friends"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_friends_slug() . '/'; ?>" title="<?php esc_attr_e( 'The activity of my friends only.', 'boss' ); ?>"><?php printf( __( 'My Friends <span>%s</span>', 'boss' ), bp_get_total_friend_count( bp_loggedin_user_id() ) ); ?></a></li>
on line 34.
4) Now, delete the<li id="activity-all"><a href="<?php bp_activity_directory_permalink(); ?>" title="<?php esc_attr_e( 'The public activity for everyone on this site.', 'boss' ); ?>"><?php printf( __( 'All Members <span>%s</span>', 'boss' ), bp_get_total_member_count() ); ?></a></li>
code from line 24.Hope this saves someone from hours of searching like I did!
Hi, I already found a code to restrict post commenting based on WordPress roles. I am now trying to find a code to restrict commenting on the BuddyPress activity feed.
My site has paid member roles and one role is the default role for free members that sign up. Then there are just guests with no role at all.
I would like a code that will restrict free members to be restricted from commenting in the activity feed. I already have a PHP code in functions that keeps them from commenting on posts. I only want commenting to be allowed in paid member roles. Guests and free users blocked.
Is there a code I can use for this?
Thanks in advance!