Skip to main content

Make feed behave as a standalone space

Is it possible for the feed to serve as a space so users can post directly in the feed their posts without having to select a space?

David Churchill

Enable "Global Post Status" in Settings. Members can then select "On my profile" which will be shown in the Feed.

David Fore

David ChurchillΒ The setting "Global Post Status" should be configured that when turned on the member doesn't have to manually choose from a drop-down menu if they are currently in the Feed. It should be that if they are currently in the Feed then the system will see this and automatically set where they are posting as "On my profile", and if they choose, or decide they would want to make that specific post post to a specific space then they should be able to click the words "On my profile" that would open a drop-down menu from which they can choose what space to post in from there.

I understand the way I described here is not how it actually works, but this is the way that it should work. I actually made a post here the other day about this very thing and the developers are looking into this, was the last I seen on that post.

David Churchill

David ForeΒ wondering if there’s a hook to set β€œOn my profile” … will investigate.

Barnabas Chris

David ForeΒ This is how I would have liked it to function as well. It's useless to have to select a space group if you simply want to have the feed that anyone can simply post something.

That's how it should work and I hope they make it work like this.

David Fore

David ChurchillΒ Cool. I haven't worked with any "hooks" or "web hooks" yet on anything, so I don't know how they work actually, but I am interested in what you find out about this.

Barnabas Chris

David ChurchillΒ Please let us know if there's a hook πŸ™

David Churchill

Barnabas ChrisΒ David ForeΒ as far as I can tell there is no official hooks for this, but after some experimentation I have come up with the following, which works with FC v2.3.0 but I cannot guarantee it will work with future updates.

What this does
When a member clicks into the compose box on the Feed page, the snippet automatically sets the dropdown to "On my profile". Members can still change it to any Space they have posting rights in β€” this just sets the initial default.

It does nothing when:

  • Global Post Status is disabled
  • The member is already inside a specific Space page
  • The member is editing an existing post

See https://github.com/tribeToolspro/tt-default-post-space for full details.
Download, install and activate like a normal plugin, let me know if you have any questions.

Barnabas Chris

David Churchill Thank you so much for taking the time to dig into this!!! ❀️

David Fore

David ChurchillΒ Thanks for this! It works like a charm! I am not at all familiar with Github at all, so I just copied the PHP Code Snippet and added a new code snippet using FluentSnippets and it just works.

Thanks again. Hopefully it will keep working when WPMN rolls out future updates. πŸ˜€

David Churchill

David ForeΒ great, glad it worked. Let me know if any issues arise πŸ‘