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.
BuddyPress Activity ShortCode 1.1.3
- Brajesh Singh on June 7, 2018 at 3:48 am #15517
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 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.
- David Levi on June 11, 2018 at 4:18 am #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?
- Brajesh Singh on June 11, 2018 at 1:39 pm #15614
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.
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.
- David Levi on June 13, 2018 at 4:16 pm #15670This reply has been marked as private.
- Brajesh Singh on June 13, 2018 at 5:24 pm #15673This reply has been marked as private.
- David Levi on June 14, 2018 at 4:41 am #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.
- David Levi on June 19, 2018 at 12:01 am #15769
Any update on this?
The topic ‘ [Resolved] Activity Shortcode PLugin – Group activity issue’ is closed to new replies.