Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'Activity Feed for members only'

Viewing 25 results - 26 through 50 (of 101 total)
  • Author
    Search Results
  • #263935
    livingflame
    Participant

    Hi there!

    I have this code —-> But this code does not work anymore with BuddyPress 2.8

    // Hide admin's activities from all activity feeds
    function bpfr_hide_admin_activity( $a, $activities ) {	
    	
    	// ... but allow admin to see his activities!
    	if ( is_site_admin() )	
    		return $activities;	
    	
    	foreach ( $activities->activities as $key => $activity ) {	
    		// ID's to exclude, separated by commas. ID 1 is always the superadmin
    		if ( $activity->user_id == 1  ) {			
    			
    			unset( $activities->activities[$key] );			
    			
    			$activities->activity_count = $activities->activity_count-1;			
    			$activities->total_activity_count = $activities->total_activity_count-1;			
    					$activities->pag_num = $activities->pag_num -1;				
    		}		
    	}
    	
    	// Renumber the array keys to account for missing items 	
    	$activities_new = array_values( $activities->activities );		
    	$activities->activities = $activities_new;	
    	
    	return $activities;
    	
    }
    add_action( 'bp_has_activities', 'bpfr_hide_admin_activity', 10, 2 );

    And, I have other code, but this only hide admin from Directories and Bp Widgets.

    // Exclude Admins from Directories and BP Widgets 
    add_filter( 'bp_after_has_members_parse_args', 'buddydev_exclude_users' );
     
    function buddydev_exclude_users( $args ) {
        //do not exclude in admin
        if( is_admin() && ! defined( 'DOING_AJAX' ) ) {
            return $args;
        }
        $excluded = isset( $args['exclude'] )? $args['exclude'] : array();
        if( !is_array( $excluded ) ) {
            $excluded = explode(',', $excluded );
        }
        $user_ids = array( 1, ); // enter user ids here
        $excluded = array_merge( $excluded, $user_ids );
        $args['exclude'] = $excluded;
        return $args;
    }
    #263534
    djsteveb
    Participant

    with my default bp installs just about everything IS public.. it’s actually not easy to make the bp pages like activity and groups and such private.

    I think most of those things are fine to be public – and people can choose to make groups members only, logged in only, or public viewable.. default is all public I think..

    Most profile fields the user can choose similar privacy settings for certain fields if you allow..

    Sometimes I make a group non-pulbic viewable as super admin..

    I also choose a lot of things to be blocked by the robot search engine spiders – as there is no need for them to go pulling 100 pages of activity feed and such – so even though most of my BP site is publicly viewable, only about half of it is (supposed to be) crawled by the big engines – most follow the robots.txt directive – but not all..

    #262757
    danbp
    Participant

    If you mean the text: “Good people […] (Plato)”- you can remove this update from the site activity, wwhen you’re logged-in, by using:

    – dashboard > activities – from here only, as site admin, you can modify the text – normal user can’t modify the text, only delete it.
    or
    – click on “view” below the quote (actually http://medicinalplantclub.com/activity/p/182/) on members directory or profile header
    or
    – click on “delete” under the activity in the front-end SWA feed

    #262296
    livingflame
    Participant

    @danbp
    Hi!
    Can you help me?
    How I can hide super admin’s vcard from BuddyPress Widgets??

    Your code only hide super admin from members and activity…

    // Deny access to admins profile. User is redirected to the homepage
    
    function bpfr_hide_admins_profile() {
    
    global $bp;
    
    if(bp_is_profile && $bp->displayed_user->id == 1 && $bp->loggedin_user->id != 1) :
    
    wp_redirect( home_url() );
    
    exit;
    
    endif;
    
    }
    
    add_action( ‘wp’, ‘bpfr_hide_admins_profile’, 1 );
    
     
    
     
    
    // Hide admin’s activities from all activity feeds
    
    function bpfr_hide_admin_activity( $a, $activities ) {
    
     
    
    // … but allow admin to see his activities!
    
    if ( is_site_admin() )
    
    return $activities;
    
     
    
    foreach ( $activities->activities as $key => $activity ) {
    
    // ID’s to exclude, separated by commas. ID 1 is always the superadmin
    
    if ( $activity->user_id == 1  ) {
    
     
    
    unset( $activities->activities[$key] );
    
     
    
    $activities->activity_count = $activities->activity_count-1;
    
    $activities->total_activity_count = $activities->total_activity_count-1;
    
    $activities->pag_num = $activities->pag_num -1;
    
    }
    
    }
    
    // Renumber the array keys to account for missing items
    
    $activities_new = array_values( $activities->activities );
    
    $activities->activities = $activities_new;
    
     
    
    return $activities;
    
     
    
    }
    
    add_action( ‘bp_has_activities’, ‘bpfr_hide_admin_activity’, 10, 2 );
    
     
    
     
    
    // Remove admin from the member directory
    
    function bpdev_exclude_users($qs=false,$object=false){
    
     
    
    $excluded_user=’1′; // Id’s to remove, separated by comma
    
     
    
    if($object != ‘members’ && $object != ‘friends’)// hide admin to members & friends
    
    return $qs;
    
     
    
    $args=wp_parse_args($qs);
    
     
    
    if(!empty($args[‘user_id’]))
    
    return $qs;
    
     
    
    if(!empty($args[‘exclude’]))
    
    $args[‘exclude’] = $args[‘exclude’].’,’.$excluded_user;
    
    else
    
    $args[‘exclude’] = $excluded_user;
    
     
    
    $qs = build_query($args);
    
     
    
    return $qs;
    
     
    
    }
    
    add_action(‘bp_ajax_querystring’,’bpdev_exclude_users’,20,2);
    
     
    
    // once admin is removed, we must recount the members !
    
    function bpfr_hide_get_total_filter($count){
    
    return $count-1;
    
    }
    
    add_filter(‘bp_get_total_member_count’,’bpfr_hide_get_total_filter’);
    
     
    
     
    403laura
    Participant

    I have wordpress version 4.6.1. I have buddypress version 2.2.2 (child theme in use). I also have bbpress 2.5.10. My website is http://getjobhelp.ca

    I am having issues with the activity stream…I am unable to see any activity posted by other people in my forum, regardless of what dropdown menu I use. I am able to only see my own activity. I hope the following example is specific enough, asI don’t really know how else to describe this.

    ***Example 1: when I am logged in as the “adminsitrator/keyholder”, I am able to see what I have posted in the activity stream but I cannot see anyone elses posts, no matter what dropdown menu I use i.e.; everything, updates, friendship, group updates, group memberships, posts, comments topics, replies, new docs, doc edits, doc comments.***

    ***Example 2: when I am logged in as a “User” I can see my own activity but I cannot see what anyone else has posted, regardless of which dropdown menu I use. (Same as above example but as a user) So in other words, the posts I made as the “administrator/keyholder” do not show up on my activity stream as a “user.”***

    After reading through this help section to get help with seeing the activity feed, someone suggested to deactivate the “buddyboss wall” plugin…I did that and was finally able to see my own activity stream but still having the above issues.

    I then installed the buddypress activity plus” plugin so users could interact through comments, videos and links…which appears and seems to work just fine. But When you cant see what anyone other than yourself posts in the forum, what use does it really serve? I would like for the members to be able to interact with each other but they wont know if someone else posted in the forum if the activity stream doesn’t work. (When I say forum, I do mean the whole site…not an individual forum)

    Lastly, I really do not know anything about code or where to put it or how to find where to insert it into the css or php or whatever, as I am not a developer, I am just a networking forum owner looking for some help please. 🙂 Thank you.

    #259231
    shivangiprasad
    Participant

    Hi,

    i have 26 members registered on my website. in the activity feed, i am getting an update that new members are joining in. however, the list of members is constantly only displaying 18 members and not showing any new members. i am using a free theme and a couple of plugins including woocommerce.

    what exactly is the problem? can somebody please help me?

    Thanks in advance,
    Shivangi

    #258998
    bikerwp000
    Participant

    Hi Paul,

    I just copy/paste my original inquiry to pastebin.com. I’m not sure how that works, but I assume just by posting it there, people will potentially respond, right?

    Anyway, this whole afternoon I’ve been testing the 3 paragraphs rule you graciously advised me and found it a true statement.

    My conclusion is I need to have
    at least 4 paragraphs separated by [Enter],
    there must be at least one blank line in between paragraphs, and
    each paragraph needs to have at least 1 character, either letter or numeral,

    when I got all those covered, and when I have both feature image and embed video in the post, the feature image will appear in the member’s Activity feed, not the video, which is what I want.

    And there can be more than one embed video.

    What wasted me a lot of time was after successfully achieving the result I want (4 paragraphs and all those other above requirements), I experimentally deleted 1 paragraph at a time to test what makes it fail and what makes it work. After all was done, when I restored it back to the way it originally worked, suddenly either the featured image wouldn’t show up like it did the first time on Activity feed or the embed video only show the URL link but not the video itself in the post.

    I kept tweaking it every possible way hoping to find out what went wrong or if the 3 paragraphs rule was in effect incorrect.

    In the end, I realized it would work again if I simply abandoned the messed-up post and started a new post by following all the above requirements.

    So that’s what you should try if something were to go wrong and you’re at a loss of what’s going on.

    I may also need to point out that all the posts in this upcoming website of mine will be contributed by frontend members via WP User Frontend plugin, which was what I used testing this 3 paragraph rule. But I think the conclusion I came up above should remain the same if you post via backend admin.

    @ Paul, thanks again for your help. Not sure if you’d care to help me out on my the other thread “How to add self-created category to member Activity filter dropdown box?”

    How to add self-created category to member Activity filter dropdown box?

    I’d really appreciate if you, or anybody, could help me out on that one.

    I had another quickie inquiry appended at the end of that thread. That one is not as important, so please don’t worry about if if you’re not interested.

    Thank you.

    Apokh
    Participant

    – checked- theres only one Activity page
    – resaved permalink structure
    – i dont use custom code, but activity+ plugin
    – i use quiet a bunch of additional plugins:
    –BoweCodes
    –Buddypress
    –DisableFeeds
    –DownloadManager
    –DynamicWidgets
    –EventsManager
    –GoogleAnalyticsDashboard
    –GoogleFonts for WP
    –HungryFEED
    –LayerSliderWP
    –Mediapress
    –Members
    –Metaslider+Pro
    –myCred
    –myCredHookBP
    –PageBuilder Siteorigin
    –PaypalDonations
    –Peters Login Redirect
    –PHP Text Widget
    –SimplePress
    –Siteorigins Masonry
    –SpamProtect by Cleantalk
    –TablePress
    –Wordpress VideoGalery
    –WP FullCalendar
    –WP Lastlogin
    –WP TwitterFeeds
    –WP ULike
    –WP touchmobile

    brettdarnesh
    Participant

    Hi,

    I have searched and searched for a solution. I have an existing private bbpress forum up and running for subscribers using Memberpress. I have installed Buddypress hoping to use ‘mentions’ and the activity feed to try to make it more social and a little bit like facebook.

    I have tried all sorts of settings with using all the components and with partial. I only want the bbpress forum, Activity feed and notifications/mentions. I don’t want the friends feature, but have tried it with this component switched on. I have no friends obviously to start with but there are no members anywhere to request to at least test that. If this is needed to see the activity of others in the bbpress forum, I need to find a simple way so all members are friends as a default with no additional notifications or emails.

    Are their any issues with installing buddypress with an existing bbpress forum. In every integration tut, there seems to be an order of installing Buddypress first.

    Does having Memberpress protecting the bbpress forums affect buddypress so I only see my own activity in the bbpress forum?

    can I do away with groups, and just have a global bbpess forum?

    The more troubleshooting I do, the more solutions I rad the more I am getting confused.

    Some help would be greatly appreciated

    thanks

    #251295
    ds123
    Participant

    does anyone know how we can prevent members from over promoting themselves by posting the same thing over and over in our community? for example we have some guys that post the same youtube video over and over in multiple locations on groups ..activity feed …etc…..on Twitter it has the function where it says “you already posted that” …so my dream would be wherever they try to post it they can only post it at most 3 times …thanks in advance for any help this is really hurting our community

    #247264
    jimme595
    Participant

    Hi, thanks for the heads up, have got fetch avatar no grav disabled now and my filter on bp_core_default_avatar_user is now working! However it is only working for things like members list and and ‘who’s online’ widget. In the activity feed the avatar is always my admin avatar… is there a different filter for avatars fetched during activity feeds?

    BEst, James

    #246705
    scoobs2000
    Participant

    Hi
    in short everything you have asked can be done.

    But I’m a little bias as I honestly believe regarding technology there is nothing that can’t be achieved it just comes down to how much time and budget you have to invest… 🙂

    Below is a bit of a ramble…. But might provide insight. after you organize your coffee and come back.

    I have nearly completed a project that sounds similar in nature (few weeks from launch in final beta testing), however it was a highly customised solution (private membership site) .
    With nearly 70 plugins, 100’s hours coding integration code (lots of trial and error) between the plugins and also compatibility tests with multiples of plugins to ensure no issues, because of slow load times the project requires deploying from CDN,fast servers and customised caching solutions.
    most of work load appeasr to be bbpress – so an near out of the box solution, you prob don’t need to go that far.

    But not to scare you. Here are some pointers that might answer your questions, based on my understanding of the OP.

    In my case I spent many months researching solutions with many platforms (open source / paid / managed premium) – buddy press was selected simply because is built on WordPress that’s already has the core abilities you need, you just need to “hook in to’em” and take advantage of this concept – you can keep working on bettering and adding separate components / features as time goes by, great for client, works out a bit cheaper in the startup phase and great for developer – land ya self a permanent support / ongoing development contract……

    Is it possible to update profile content/meta? : In general yes, buddy press allows this out of the box

    Either the user or the admin can update, you can have admin only fields (the user doesn’t access them – but the admin can)
    if you use a membership plugin eg, s2member – you can extend this idea much further eg, only require email on signup, then all other fields are accessible from profile and can set fields on a per membership level,

    In your case, you might have different profile fields for students, teachers, Parents and only require a couple of basic fields to be completed on signup and all other fields can still be “required” when they reach their profile page.
    For profile field management I recommend the s2membership pro plugin (free version available) http://s2member.com/

    My project has a “todo list” for each and every member – however I’m still to this day unable to find a plugin that interacts with a completed wp/bbp/buddypress site. So I had to code one. The todo list was designed / engineered in a way that interacts with “wordpress” in general, by storing a completely unique data feed much like the activity feed with time stamps and can be programmed to be linked to any site link, media download, page view, forum post, reply any activity on the site can be logged and applied to the feed which the to-do-list interacts with and auto completing (crossing of the item) each item also has dependencies, so you rattle off a list of activities before the task is crossed off and each to-do-list also has dependencies so it is not seen by a user until certain tasks are completed, eg, purchase a course from the store, or complete a previous to-do-list.

    In short: Yes it can be done, however I’m not aware of any 3rd party plugin that does this successfully.

    In my case I have the to-do-list shown in the sidebar so as a member goes through the tasks the list is also available to them no matter what page they are on. But possible to publish it in the profile page if required.

    Regarding email notices, I recommend looking into the woo commerce sensei http://www.woothemes.com/products/sensei/ plugin for your courses that way you have management of email notices, in fact prob most of the things you require will be available via sensei – note this is a premium paid plugin with yearly ongoing licence costs.
    Without a free trial version to try before you buy.

    But maybe gravity forms developer licence might be fine in your case as it has, gateway plugins, qiz and survey plugins – it would be possible to build certain simple courses on the gravity framework including delivery of custom emails – if building a form based system than certainly worth a look into – but would require a developers licence to get all the plugins you would prob require.

    In fact what I do is use gravity forms email chimp plugin to send the members email address to an email list (automation campaign) in mail chimp (paid account) that auto sends a welcome emails that I have customize to suit the activity they have completed, this way I can send pretty html + marketing emails + scheduled follow up emails and take the work load off WordPress other than a quick API connect on demand.

    Regarding: is it possible to have multiple logins or users access the same account/profile?
    In simple: Yes, but it all comes to context of the profile, will each member be able to see other members profiles or will parents be able to edit a child profile etc.

    Although my project does not require the need for 2 or more members to edit a single profile, I do have multiple levels of context (horizontal and vertical memberships) all with their own set of rules who profiles they can see and what buddypress features are available to them – some members don’t have activity feeds or messages, But I needed to ensure that members that do have access to these features can’t access the features of cross membership and so on.

    This is 100% custom code (no plugin) but while coding this up I recall thinking I’m 100% confident it is possible to add another level of check “if current user can edit displayed user” and go from there, all you would need is a profile field / meta that links multiple accounts together –
    Eg, a parent account has a profiled field “child user name” – they just enter the child username / user ID – and now we would add the profile check if a parent is viewing the child’s profile.

    Regarding paying a deposit, and payment, this is my findings.

    There was no single one membership / payment plugin that integrated perfectly into what I wished to achieve – I have tested many. please note I’m suggesting there are no plugins that do this stuff just none that achieved the outcomes I needed for my project.

    – Tips: – start the project design based on the payment systems / gateway (the complete project and direction of development is 100% dependent on this) because the simple reason every feature you implement needs to check “is a paid member and what level (cap / role) ” – including free membership with paid features “is not a paid member” but has paid for… this includes recurring and non-recurring subscriptions with consideration of what you intend to do if a subscription expires.

    Eg, a recurring subscription will either just auto subscribe and pay for the next time frame (or fail)
    A non-reoccurring subscription will auto expire after a given time frame (or X cycles)

    The difference between to the two –
    Is generally on a recurring subscription when it expires it also linked to a member account to “do something” eg downgrade membership

    A non-recurring subscription is generally used for a onetime payment you have access forever feature- eg, a course and resources, you pay once on a deposit, subscription over several weeks when the subscription expires the member still has access to the course as long as they remain at minimum a free member on the site. (anyhow that’s how I have implemented things)

    These two concepts are completely different in the way they interact with the member as well at many levels although on the surface appear to be almost the same, add in a deposit feature you are also opening another level of context to play with, mostly limiting the available options regarding the payment gateway service you will need to use or more so which services have this feature on offer.

    As mentioned – my suggestion is start with the gateway solutions first and reverse the design back to the front end. – this is the big lesson I took away with this project (4 rewrites in total) as it was always a block relating to the gateway limitations (and laws relating to online subscriptions in my country).

    My project:
    Woo commerce (free) for shopping cart system including purchase of courses, subscription to site and deposit/ subscription to courses, plus all other products, deliverable products, workshops, webinars, one on one sessions, resource downloads from pdf to videos. Anything you can think off can be sold through woo

    Woo commerce quick cart – plugin (paid)– now I can add a buy now button on any page for any product including subscriptions – the membership info page has a standard 3 column price comparison chart with nothing more than a “sign up now” button – clicking the button auto adds the subscription to cart and opens the checkout popup with one click and without leaving the page (no need to send to store)

    Sensei (paid)– for courses and fits well into woo commerce system (but requires a couple more plugins and custom integration code if implementing paid / subscription based courses )

    Groups plugin (free) to easily manage roles and caps (as I have to teach client staff how to do this and manage the site) WordPress has this capability built in if your a coding ninja (I’m not)

    Groups Woo commerce (paid plugin) to link groups to a purchase – apply a role / cap or groups of, to a user based on the purchase.

    Then some custom code is required – to perform a check and if a user has a particular role or cap than apply the s2membership level – this check is done at the store level so if a member cancels or defaults on a payment – the membership level is auto adjusted depending on what role or cap is supplied to the user from the groups woo commerce automation. groups plugin manages non-recurring subscriptions so a expired subscription does not remove the users caps and roles (but a default on payment does)

    S2member pro – for membership level management including profile fields management and most importantly complete site access management – I can apply access to each and every competent of the site this includes , forums, topics, replies, posts, pages, media, courses, and content within pages eg, home page displays different content based on the membership level / logged in or general public. s2member pro is also used to override default bbpress / buddy visibility settings eg, hidden forums only available to certain member levels – but requires custom code to apply or traverse access levels on submitting topics / replies to ensure widgets and other snippets don’t display private areas to members that don’t have access. (it allows you to write custom queries with zero concern or consideration to access levels)

    For subscriptions (paid)– I use woo commerce Subscriptions plugin – this manages on its own site access based on paid recurring subscriptions (or in simple turns on or off user account based on payment) – pay x amount monthly to access certain site features, courses and resources, forums, pages, blog articles etc.

    However – woo commerce subscriptions does not manage deposit / time based subscriptions (non-recurring subscriptions) eg, pay a deposit for a course and gain instant access then pay off on a subscription for x amount of weeks / months –
    I was not able to find any plugin (free or paid) that does this, so I had to write a plugin currently under experimental concept stage.

    Other tips: often it’s better to find compatible, well supported and pay for premium plugins that have overlapping features and disengage these features you don’t want to achieve your goals and do as little integration code as possible, but anything you do needs to be well planned and though out as to not to touch core code in any platform, framework or plugin.
    At the end of the day you want the ability to upgrade all systems as time go by.

    Eg, s2member plugin has its build in membership system that is “required to be active” for the plugin to work. – all I did was setup a single paid (never to be used membership) on a paypal sandbox store this includes setting up all the s2membership registration pages etc – then put a simple redirect in the .htaccess on any of these pages. Now to purchase membership you must go to the store (woo commerce) and purchase a subscription via woo – s2member has now has nothing to do with membership registration / payment systems.

    And of course I have “force account creation” turned on at the store – you cannot make a purchase without signup at a minimum free site membership.
    by disengaging the buddy, bbp, Wp, and all other means of registering (by redirect) but only leaving the woo commerce customer account registration available – The pop up registration form I use for free members is just a woocommerce customer account registration form (with no products attached) with a fallback to the s2membership cut down reg form (in case ajax / jquery etc not working on client side)

    And now all purchases, subscriptions, shop account, courses etc are now available from the buddy press profile page also via a “woo to buddypress” plugin (or in my case built into the theme)

    May sound complicated but as mentioned I would really suggest starting with payment solutions and nut out this part of the project first as this will most likely force development direction,

    one of my project goals was a solution that can cater for anything…. so,

    Regarding variable deposit / costs amounts based on user input – if using similar approach as I did – you would just setup woo commerce discount codes per variable outcome / result and would just reveal the correct coupon code to the user on the checkout page. they just cut and paste this code into the discount field and click apply.

    or setup up multi products – one product per price base. – have the user input their details first and the result would be – apply a groups cap / role then only offer the courses products in the store with the associated price base based on user caps / role –

    woo discount coupons can be setup on multiple bases – eg, deposit amount / on going subscription amount or total amount or per product or per cart total etc.

    for me was plenty of research into this including concept builds of other community platforms and as above is only a bit of a sample of features used relating to the OP.
    I was under very strict key point goals and achievements requiring very specific outcomes many of these affected development direction how / why I implemented the above.

    There may be better simpler ways to suit your specific project, but thought it might be worth a mention for some direction. or at least insight into some of the plugins I use / ideas and concepts.

    my usual disclaimer – if there is something in there for you, that’s great! if not that’s fine too!

    enjoy!

    #243538
    coffeywebdev
    Participant

    Take a look at this code, I think it may be helpful for you…

    I created a function vp_add_group_activity_comments() that hooks to the ‘post_comment’ action, so when a user posts a comment an activity stream item is created and added to their group’s feed.. (on my site users can only be in one group at a time)

    It’s all about what you set for the $args array….

    
    function vp_add_group_activity_comments($comment_id){
    
    $comment = get_comment( $comment_id );
    GLOBAL $wpdb;
    $user_id = get_current_user_id();
    $user_info = get_userdata( $user_id );
    
    $current_user_group_id = $wpdb->get_var("SELECT group_id FROM ".$wpdb->prefix."bp_groups_members WHERE user_id = '".(int)$user_id."'");
    
    $comment_action = "<a href='".site_url()."/members/".$user_info->user_login."'>".$user_info->first_name." ".$user_info->last_name."</a> posted a comment on <a href='".get_permalink($comment->comment_post_ID )."'>".get_the_title($comment->comment_post_ID)."</a>";
    
    // arguments to pass to the bp_activity_add() function
    $args = array(
    'action'            => $comment_action,                     // The activity action - e.g. "Jon Doe posted an update"
    'content'           => $comment->comment_content,                     // Optional: The content of the activity item e.g. "BuddyPress is awesome guys!"
    'component'         => 'groups',                  // The name/ID of the component e.g. groups, profile, mycomponent
    'type'              => 'activity_update',                  // The activity type e.g. activity_update, profile_updated
    'primary_link'      => get_permalink($comment->comment_post_ID ),                     // Optional: The primary URL for this item in RSS feeds (defaults to activity permalink)
    'user_id'           => $user_id,  // Optional: The user to record the activity for, can be false if this activity is not for a user.
    'item_id'           => $current_user_group_id,                  // Optional: The ID of the specific item being recorded, e.g. a blog_id
    'secondary_item_id' => $comment->comment_ID,                  // Optional: A second ID used to further filter e.g. a comment_id
    'recorded_time'     => bp_core_current_time(), // The GMT time that this activity was recorded
    'hide_sitewide'     => 0,                  // Should this be hidden on the sitewide activity stream?
    'is_spam'           => 0,                  // Is this activity item to be marked as spam?
    );
    
    $add_activity = bp_activity_add($args);
    
    // Update the group's last activity
    groups_update_last_activity( $current_user_group_id );
    
    return true;
    }  
    add_action('comment_post', 'vp_add_group_activity_comments' );
    
    #234099
    danbp
    Participant

    Activity feed for Members only or Friends only ?

    Activity Loop


    and pay attention to scope. As of BP 2.2.0, you can now use multiple scope.

    if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&scope=friends,groups' ) ) :

    You could also use bp_parse_args in a custom function or
    search on forum for similar to your question, like this one.

    #227769

    In reply to: Facebook-esk Features

    Julia_B
    Participant

    Thanks @danbp, some wise words there!

    You’re right, I do need to sort of let things settle for a while and maybe think along the lines of how to make my site the best it can be rather than trying to replicate Facebook.

    In a way though, I was just using Facebook as example of something with great community functions, there are certainly several ways which my site could be improved especially in making the activity easier for members to follow and more of a Facebook-style feed would help with that. The site is a lot less easy to use on phones and some people have said they use it less than the FB group because they find it fiddly. So I don’t just mean that it has be Facebook really, just that I’d like to make it easy to use as I can.

    I had a look at the Nextgen Facebook plugin, looks good but it seems like it’s more for sharing site content to social media which is not really what I need as most of what is on my site is either confidential member activity or member-only content.

    I’ll keep looking around for more ways to make it more user-friendly and I will try to think out of the Facebook-box, you are right about that! 🙂

    #207683
    Julia_B
    Participant

    I’ve ironed out most of the kinks on my website now and most of the members have made the transition from the old Facebook group without too many problems – although, I won’t lie, there have been complaints from a fair few!

    The main thing a lot of them miss is ease of access/use on mobile phones. The biggest factor seems to be that they could access the Facebook group via the app rather than needing to use a browser and the instant notifications of mentions to their phones helped keep them feeling involved. I’m not a developer, so there’s only so much I can do, but is it possible to have buddypress site (with busy bbpress forums) running as a mobile app at the same time?

    Or is there some other solution I can offer? I’ve explained about email notifications, but members don’t feel like that’s the same.

    The other issue is that members are saying it’s difficult to follow threads because on Facebook the original post will appear at the top with replies below and it gets bumped up the page each time anyone replies. I know Buddypress activity posts work a bit like that, but most of the activity appearing on my homepage activity feed is from the forums. Any suggestions?

    Thanks guys. 🙂

    #187235

    In reply to: Members Profile Page

    Venutius
    Moderator

    I think I’ve nearly done it! It’s taken hours of searching and a lot of lateral thinking but I’ve sorted on of my asks, and that is for a home page that summarises the various activity streams. I’ve got a test system up at http://www.sacredvale.org and I’ve been able to set it up with a posts feed, and activity feed, and forum feed and also a popular groups list.

    I’m not happy with the forum feed though it will do, and the groups feed is just weird and won’t.

    I’ve also found an app that allows me to say exactly where a widget will display, so I can customise the sidebars for every page view I care to.

    There’s a lot of bugs here and there, mainly to do with the look and feel of the overall system and I’m still working on the members profile pages but an awful lot of what I’ve been looking for I’ve been able to deliver, for very little money.

    Now, if only we can get wordpress turbocharged lol

    Plugin count so far? a cool 100….but my feature list beats any off the shelf social network site I know.

    #187082
    danbp
    Participant

    My Questions:
    1. Has anyone experienced a similar issue?
    > probably, with 2,208,785 downloads !

    2. Does it appear to be a bug or am I mis-interpreting a functionality?
    > probably 2 nd option

    3. Any workarounds?
    > next tree 3 steps back, enter the forest and run 500 yards and check under the oak.

    When a group is setup, you choose to make it public, private or hidden. Depending on this status, the activity will be shown or not. Details of this are explained on the group creation page.

    • For a public group, all activities are public. Group is listed on group directory.
    • For a private group, all activities are private and only be visible to members of the group. Group is listed on group directory.
    • For a hidden group, any thing is masked except for the group members. Group is not listed on group directory.

    If you create a private group the 3 of may 2014, his activities are registered to the bp-activities tab from this date with a status of “private”.

    The 17 august 2014 you decide to modify the group status from private to public.
    From now on, the group is considered as public and any activity generated in the group after this date will be considered as public.

    In a few words, private activities are/and stay always private and public activities are always public, independantly of the group status.
    And the activity feeds don’t look back in the past.

    Hope to be clear. 😉

    dugfunny
    Participant

    heres my code….

    <?php do_action( 'bp_before_directory_activity' ); ?>
    
    <div id="buddypress">
    
    	<?php do_action( 'bp_before_directory_activity_content' ); ?>
    
    	<?php if ( is_user_logged_in() ) : ?>
    
    		<?php bp_get_template_part( 'activity/post-form' ); ?>
    
    	<?php endif; ?>
    
    	<?php do_action( 'template_notices' ); ?>
    
    	<div class="item-list-tabs activity-type-tabs" role="navigation">
    		<ul>
    			<?php do_action( 'bp_before_activity_type_tab_all' ); ?>
    
    			<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.', 'buddypress' ); ?>"><?php printf( __( 'All Members <span>%s</span>', 'buddypress' ), bp_get_total_member_count() ); ?></a></li>
    
    			<?php if ( is_user_logged_in() ) : ?>
    
    				<?php do_action( 'bp_before_activity_type_tab_friends' ); ?>
    
    				<?php if ( bp_is_active( 'friends' ) ) : ?>
    
    					<?php if ( bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?>
    
    						<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.', 'buddypress' ); ?>"><?php printf( __( 'My Friends <span>%s</span>', 'buddypress' ), bp_get_total_friend_count( bp_loggedin_user_id() ) ); ?></a></li>
    
    					<?php endif; ?>
    
    				<?php endif; ?>
    
    				<?php do_action( 'bp_before_activity_type_tab_groups' ); ?>
    
    				<?php if ( bp_is_active( 'groups' ) ) : ?>
    
    					<?php if ( bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) : ?>
    
    						<li id="activity-groups"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_groups_slug() . '/'; ?>" title="<?php esc_attr_e( 'The activity of groups I am a member of.', 'buddypress' ); ?>"><?php printf( __( 'My Groups <span>%s</span>', 'buddypress' ), bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ); ?></a></li>
    
    					<?php endif; ?>
    
    				<?php endif; ?>
    
    				<?php do_action( 'bp_before_activity_type_tab_favorites' ); ?>
    
    				<?php if ( bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ) : ?>
    
    					<li id="activity-favorites"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/favorites/'; ?>" title="<?php esc_attr_e( "The activity I've marked as a favorite.", 'buddypress' ); ?>"><?php printf( __( 'My Favorites <span>%s</span>', 'buddypress' ), bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ); ?></a></li>
    
    				<?php endif; ?>
    
    				<?php if ( bp_activity_do_mentions() ) : ?>
    
    					<?php do_action( 'bp_before_activity_type_tab_mentions' ); ?>
    
    					<li id="activity-mentions"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/mentions/'; ?>" title="<?php esc_attr_e( 'Activity that I have been mentioned in.', 'buddypress' ); ?>"><?php _e( 'Mentions', 'buddypress' ); ?><?php if ( bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ) : ?> <strong><span><?php printf( _nx( '%s new', '%s new', bp_get_total_mention_count_for_user( bp_loggedin_user_id() ), 'Number of new activity mentions', 'buddypress' ), bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ); ?></span></strong><?php endif; ?></a></li>
    
    				<?php endif; ?>
    
    			<?php endif; ?>
    
    			<?php do_action( 'bp_activity_type_tabs' ); ?>
    		</ul>
    	</div><!-- .item-list-tabs -->
    
    	<div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    		<ul>
    			<li class="feed"><a href="<?php bp_sitewide_activity_feed_link(); ?>" title="<?php esc_attr_e( 'RSS Feed', 'buddypress' ); ?>"><?php _e( 'RSS', 'buddypress' ); ?></a></li>
    
    			<?php do_action( 'bp_activity_syndication_options' ); ?>
    
    			<li id="activity-filter-select" class="last">
    				<label for="activity-filter-by"><?php _e( 'Show:', 'buddypress' ); ?></label>
    				<select id="activity-filter-by">
    					<option value="-1"><?php _e( 'Everything', 'buddypress' ); ?></option>
    					<option value="activity_update"><?php _e( 'Updates', 'buddypress' ); ?></option>
    
    					<?php if ( bp_is_active( 'blogs' ) ) : ?>
    
    						<option value="new_blog_post"><?php _e( 'Posts', 'buddypress' ); ?></option>
    						<option value="new_blog_comment"><?php _e( 'Comments', 'buddypress' ); ?></option>
    
    					<?php endif; ?>
    
    					<?php if ( bp_is_active( 'forums' ) ) : ?>
    
    						<option value="new_forum_topic"><?php _e( 'Forum Topics', 'buddypress' ); ?></option>
    						<option value="new_forum_post"><?php _e( 'Forum Replies', 'buddypress' ); ?></option>
    
    					<?php endif; ?>
    
    					<?php if ( bp_is_active( 'groups' ) ) : ?>
    
    						<option value="created_group"><?php _e( 'New Groups', 'buddypress' ); ?></option>
    						<option value="joined_group"><?php _e( 'Group Memberships', 'buddypress' ); ?></option>
    
    					<?php endif; ?>
    
    					<?php if ( bp_is_active( 'friends' ) ) : ?>
    
    						<option value="friendship_accepted,friendship_created"><?php _e( 'Friendships', 'buddypress' ); ?></option>
    
    					<?php endif; ?>
    
    					<option value="new_member"><?php _e( 'New Members', 'buddypress' ); ?></option>
    
    					<?php do_action( 'bp_activity_filter_options' ); ?>
    
    				</select>
    			</li>
    		</ul>
    	</div><!-- .item-list-tabs -->
    
    	<?php do_action( 'bp_before_directory_activity_list' ); ?>
    
    	<div class="activity" role="main">
    
    		<?php bp_get_template_part( 'activity/activity-loop' ); ?>
    
    	</div><!-- .activity -->
    
    	<?php do_action( 'bp_after_directory_activity_list' ); ?>
    
    	<?php do_action( 'bp_directory_activity_content' ); ?>
    
    	<?php do_action( 'bp_after_directory_activity_content' ); ?>
    
    	<?php do_action( 'bp_after_directory_activity' ); ?>
    
    </div>
    
    #182726
    Jen
    Participant

    – Can you see the groups in question in the Dashboard? Dashboard > Groups
    Yes I can

    – Are you logged in as an administrator or a normal user?
    Administrator

    – Is the logged-in user a member of the groups in question?
    Yes I am

    – Can you see the groups when you go to example.com/members/yourmembername/groups?
    No

    But I can see on my activity feed that I joined the hidden group and can access the group link from there. eg. example.com/groups/hiddengroupname, but that’s the only way I can access it.

    #182070
    billzy
    Participant

    Hi @suysal @mileskimberley & @macpresss

    We have accomplished a similar task, and what a pain in the ass of a task it was…. We made it so that it’s not possible to see all members posts, you must first be friends with them. We also made ours so that you would only see the feed of groups if you joined the group as well, just like fb and all other mainstream networks, it just makes sense to do it this way, more personalised feed, less junk. Its a detailed code of a few hundred lines that we include in our functions.php file.

    We paid for the solution to be custom developed via external teams because it was slightly outside of our inhouse development skillset… If you want to chip in for the code I am more than happy to send it to you. If I coded this myself and it costed me nothing to create I would just paste the code here but it’s not the case in this scenario.

    Alternatively (and our preferred option), if Buddypress core developers want to build it into BP and create a setting for it in the core plugin backend to allow this option then I am happy to send it to them for free so that we don’t need to support this custom piece of code through the upgrades (which we have been supporting this custom code for a year now). I know this setting/option is not for everyone using BP but there are many out there who would love this feature included and it could be as simple as a checkbox in the backend saying should users only see friends activity, maybe a second one as well should users only see groups activity they have previously joined. We haven’t built such a setting because we use this by default.

    Anyways feel free to drop me a line here or at info@fem-productions.com

    Cheers

    #180607
    valuser
    Participant

    Aside from this, it’s unfortunately the sort of thing that can only be fixed if it can be reproduced

    Yes – i can reproduce this though fully accept that blame probably lies with my customisations either with plugins or functions though these live happily with bp 1.9.2

    So i have put this up on an online test site – (slow)
    at test site http://ballynagran.isourplace.ie/ – (slow) wp 3.8 bp trunk 8227
    login username ben4 password ben4
    And i believe i’ve reproduced the errors reported.

    Very much appreciate any feedback when time permits.

    1) see http://ballynagran.isourplace.ie/members/ben4/friends/requests/ where a friendship request from ben8 has been repeated over 50 times

    2) the item-meta in activity “active 3 months ago” is not being updated – login as anne anne or nils nils to reproduce

    3) a very recent comment in the blog http://bep.ballyngran.isourplace.ie (at http://bep.ballynagran.isourplace.ie/2013/08/29/solid-fuel-heating-resources/) is not replicated in activity of http://ballyngran.isourplace.ie/activity

    If bp 2 beta is replaced by 1.9.2 normal service is returned.

    bp 1.9.2 can also be seen on a dot com version of this test site on a different server

    Have installed a debug plugin – results can be seen on http://isourplace.ie/wp-content/debug.log

    On a local install tried deactivating cat / tag plugin — no change.

    #168727
    javiercenteno
    Participant

    Problem solved. There was a conflict with other js libraries so I removed them and used only the ones that come with the default BuddyPress theme.

    Now I have a separate issue where the Activity feed is not filtering when I select a filter. It works well in the Groups or Members page but not in the main “activity” page (or in my case “Newsfeed”). I’m going through each page in my custom theme and comparing it to the default theme to make sure I didn’t forget to include something. Hopefully I’ll figure it out soon!

    #168449
    bp-help
    Participant

    @tduschei
    That really is not what the unlbocked pages are meant to display. It is not meant for pages that need to generate the unique id of a a logged in user. That would defeat the purpose of the plugin. You can allow logged out visitors to view the members though by entering: members
    in one of the unblocked page fields. I hope you understand that is the logic behind the plugin. It would not make sense to use a plugin for privacy only to divulge the most sensitive content on the site which is users profiles to logged out visitors. Its not a bug, it was developed this way purposely. Good luck!

    #165182
    OC2PS
    Participant

    Sending friend requests to folks you don’t know is an issue that all social networks, be they Facebook, Orkut, MySpace, Hi5, or even LinkedIn, have to contend with.

    That said, I wouldn’t call it the bane of social networking. What really does a purported “spammer” gain by sending friend requests? Annoyance for certain people that they have received a friend request? Unlikely – the text is preset…the spammer cant even include his/her fake links. Also, most folks are now pretty adept at ignoring such messages. And even if somebody accepts the friend request, what does the spammer gain? What does a “friendship” accomplish?

    Comments (WP), forums (bbP) and activity feeds do really really need spam protection. I’m not so sure about the necessity for friend requests.

    That being said, how do the big boys manage friend requests?
    1. LinkedIn: You can only friend people who are 2 degrees away from you OR whose email address you know. Plus, recipients can mark it as spam.
    2. Facebook: Members can control whether they want to receive friend requests at all. Plus recipients can mark requests as spam. Finally, temporary & permanent bans – based on proportion of requests marked as spam.

    Throttling is neat, cool and easily done – perhaps like bbP, site admin can define the throttling parameters for BP friend requests throttling.

    Much more importantly, an Akismet-like solution for activity spam would be nice. I would look for a 2 stage process on the manual “mark as spam” side of things:
    1. Member marks another member’s activity as spam (this is really a flag that puts the activity in a basket for admin to see)
    2. Admin looks through the basket and marks either as spam (in which case Akismet is notified) or not spam.

Viewing 25 results - 26 through 50 (of 101 total)
Skip to toolbar