Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Phillip,
    Please upgrade to Group Activities notifier 1.0.5 and you can put this in your bp-custom.php

    
    
    /**
     * Filter notification permalink to group activity.
     *
     * @param string $permalink permalink.
     * @param int    $group_id group id.
     *
     * @return string
     */
    function buddydev_custom_group_notification_permalink( $permalink, $group_id ) {
    	$group = groups_get_group( array( 'group_id' => $group_id ) );
    
    	return bp_get_group_permalink( $group );
    }
    
    add_filter( 'bp_local_group_notifier_notification_activity_permalink', 'buddydev_custom_group_notification_permalink', 10, 2 );
    
    

    That will work.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Philip,
    Thank you.

    I am sorry, there are no filters currently. I will add one and push an update in next 2-3 hours(or early) and post here. That will allow to redirect to group activities.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Nic,
    Thank you for the question.
    Yes, It will work for your own custom post types.

    The Geodirectory is a special case as it filter pre_get_posts and causes issue with our query for hiding. The normal post types don’t have any issue like this.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Vivek,
    Thank you.

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Thank you 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Thank you Sam.
    I am sorry, I could not assist you with your originally planned workflow. I am happy that the current work flow works though.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: Buddypress Registration /login #22104

    Hi Vivek,
    Thank you for the question.

    1. The ajax registration and Social registration are two different methods of registration and are not interconnected.

    Yes, we may show the social buttons(it should be visible on the form) but if your user goes with social login, ajax registration does not get involved with the process.

    2. You will need to contact the social login plugin developers and ask them for how to enable adding email from the user.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Phil,
    Thank you.
    I do understand that your expectations are right but BuddyPress treats single item this way. You can check this by visiting a group and posting an activity and then clicking on the view link of that activity.

    For single activity, group does not have an end point and it goes to user specific single page.

    We do bring people to a group if there are more than 1 notifications from a group(we simply point them to groups activity stream).
    In case of single activity, pointing to permalink seems reasonable to me.

    If you want, I can point to the group activity stream.

    Please do note that unlike Facebook, BuddyPress groups does not have single activity end point(does not handle single activity permalink).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Phillip,
    Thank you for the reply.

    1. For member types, I was able to fix the updating of profile fields when a non included member type changes.
    2. I still need to work on a strategy to do the member type update when field changes. We do not want the field change to affect user’s member type(which are not governed by this field). I am working on a strategy for this and hopefully will have a release today.

    3. For Group Activities notifier, I could not reproduce it. Can you please tell me how to reproduce it? Visiting a group and posting activity, the notification takes to single activity screen. This is the correct behaviour.
    What you are seeing here is not the personal feed, It should be single activity permalink page. Please recheck.

    Thank you
    Brajesh