BuddyDev

Search

[Resolved] Activity Shortcode PLugin – Group activity issue

  • Participant
    Level: Initiated
    Posts: 19
    Harry on #15516

    Hello everyone,

    I’m using the BuddyPress Activity Shortcode plugin and I find it amazing, as it gave me the ability to have multiple activity streams on my site. I created three main groups and corresponding pages, where I put the shortcode [activity-stream object=groups primary_id=2 allow_posting=groups primary_id=2]. So each page is essentially a separate activity stream and everything works fine.

    I have one issue though: It seems that the plugin treats each page with the embedded group activity as if it is the main activity, in the sense that it generates the “Post in” dropdown menu. I think this is useless and very confusing for users, because when somebody navigates to a group page, they obviously expect to post on that group’s activity. The embedded activity of a group might be on a different page, but it still is the activity stream of that particular group. Most users wouldn’t even imagine that they have to select where to post, they would assume that they’re posting on the group page they are at (happened to me while testing, at first I was wondering why my posts were disappearing). It should be the same as the activity on the group’s page, which has no dropdown menu. Could you tell me how I can accomplish this?

    My suggestion would be to change the plugin’s function as I described, I think it makes a lot more sense like that.

    Thank you in advance and congratulations for all your hard work. Looking forward to hearing from you.

    Wordpress 4.9.6
    BuddyPress 3.1.0
    BuddyPress Activity ShortCode 1.1.3

    Regards,
    Harry

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #15517

    Hi Harry,
    Thank you for using the plugin.

    The allow_posting=groups is not supported. The plugin does not understand where you want to post an update.

    Since we are using the post form supplied by currently active theme, I doubt that we can acocmodate this use case. The only way to have it will be to provide a custom post form and there lies the risk of breaking view of sites.

    I will explore this a little more and see if we can have something like this in our current setup and will let you know by next week.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 19
    Harry on #15522

    Hi Brajesh,

    Thank you for your answer.

    I hope I didn’t give you the wrong picture. The posts disappear from the activity stream when I leave the “Post in” dropdown menu to the default, Profile. So posts go to my profile’s activity. But when I choose the corresponding group from the menu, the posts appear normally. So the posting does work, it’s just awkward having to select the page from the menu.

    If this can’t be resolved, another solution would be to make the actual groups look like activity streams. I just would have to remove for all users except me, the admin, most group parts (cover image and photo boxes, the “public group” and subtitle, the group admins and the tabs Home, Members, Send Invites). Only the group title and the activity would be visible, so it would look to users like an activity stream and not a regular group. Do you think this is possible? I’ve searched for hours, but couldn’t find anything – it is too specific. Unfortunately I have no coding knowledge to do it myself.

    As I said, my goal is to have three separate activity steams. Initially I tried to accomplish it using WP Multisite (with subdirectories) and your BP Multi Network plugin and BP_ENABLE_MULTIBLOG as true. I created three subdomains with their own BuddyPress installation each, so I had three separate activity streams. They worked fine, but the problem was that profiles weren’t global. If a user navigated to his profile from the homepage, all was well. But if he navigated from any subdomain, then his profile appeared empty (no friends, notifications, messages etc). So I had to abandon that approach. Is there something I missed that resolves this? Maybe if I used subdomains?

    If you could help me with any of the above alternatives, it’d be great. Or if you can suggest any other way to have three separate activity streams. I’ve been struggling with this for three months, but there’s always a snag.

    I’m sorry for the long post and the several questions, but this is the most important part of my site. Until I fix it, I can’t go online and I’m running out of time fast. I appreciate your help very much. Have a nice weekend.

    Regards,
    Harry

  • Participant
    Level: Enlightened
    Posts: 53
    David Levi on #15606

    I would love to see this feature as well.

    Correct me if I’m wrong, but if we know what group to pull, don’t we know what group to update?

    Any way to auto set the dropdown field maybe?

    Thanks.

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #15614

    Hi David,
    The problem is not that we can not update, the problem is we have very limited control of the form. To make it work with any theme, we use the form from theme or fallback to the template pack.

    In other words, the posting is handled by the theme/BuddyPress and not this plugin. All the forms test for the location of current page and based on that the Post in dropdown is shown.

    The solution is to include the posting mechanism(js/form) with the plugin but I am not interested in that. It will have too many incompatibilities with so many themes around BuddyPress that it will be a support nightmare for us.

    I am exploring one more option, a js only solution where we do modify the form if it is included inside our wrappers and this may work. I will update you both in next 2 days about this.


    @harry74
    ,

    To make Group activity stream hide header, please modify yourtheme/buddypress/groups/single/group-header.php . You can use the function ‘bp_is_group_activity()’ to check for the activity page.

    If you can share the code on pastebin, I will gladly modify it for you.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 53
    David Levi on #15670
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #15673
    This reply has been marked as private.
  • Participant
    Level: Enlightened
    Posts: 53
    David Levi on #15675

    Not sure if you saw my last post or not but here it is:

    Do you guys have a bounty system in place for features that we would like to see? I would like to contribute a bounty for this feature.

    Thanks.

  • Participant
    Level: Initiated
    Posts: 19
    Harry on #15687
    This reply has been marked as private.
  • Participant
    Level: Enlightened
    Posts: 53
    David Levi on #15769

    Any update on this?

The topic ‘ [Resolved] Activity Shortcode PLugin – Group activity issue’ is closed to new replies.

This topic is: resolved