Skip to main content

Posts in the main feed require that they select a space

I recently bought FluentCommunity and I'm setting it up on a staging site. It's going well except that when members post in the main feed, instead of just having the posts appear in the main feed, they get an error message telling them they have to select a space. This adds quite a bit of friction and complaints because they're in the main feed, so they expect their posts to just appear in the main feed, like in any other community. I can't find a setting to fix this.

Jacob Windham

There is a setting to allow it in general settings but the user still needs to select to post it on their profile to post to the main feed.

1.00

Manuel MΓΌller

Tony RockliffΒ your users should be able to choose "post on my profile" (or whatever it is called in english), which means, it's basically posted right to the feed and not in a space

Tony Rockliff

Manuel MΓΌllerΒ Thanks Manuel, but test users are complaining about the fact that they have to make a choice here instead of having it just post to the feed that they're in, in the normal way like in any other community.

Manuel MΓΌller

Tony RockliffΒ i understand. But since the "main feed" is not a space, but just an overview of all posts in every space you are a part of, i think the post needs to "live" somewhere and thus you'd always have to choose either a space or you own profile.

This is how WPManageNinja describes the main feed: "Members can share text, images, videos, or polls directly to the spaces they’re part of or post them on their profile for everyone to view. All shared content appears in the Activity Feed, allowing for quick and easy access to updates."

Claudy Scoufy

Manuel MΓΌllerΒ Not really, because it's possible to post from the feed "on my profile". It's possible to do this via a custom script; on my community, groups are no longer visible, only "on my profile" is available. To post to a space, you have to do it from within that group.

Manuel MΓΌller

Claudy ScoufyΒ so do they still have to click on β€žon my Profileβ€œ or can they post to the Feed without clicking it?

Claudy Scoufy

Manuel MΓΌllerΒ Without having to click "on my profile", that's the whole advantage and what I was looking for.

Manuel MΓΌller

Claudy ScoufyΒ ah ok, makes sense

Tony Rockliff

Thanks Jacob. I'll check that out. - Just did, and that setting is enabled, but not working. It says that when enabled they won't have to select a space but unfortunately they do have to select a space.

Tony Rockliff

I've been working with Claude Code with NovaMira to try and fix this, but it's having a hard time. It's done some other great things for me in terms of making FluentCommunity look and work more like Skool. but it's still struggling with this one thing.

David Fore

I had this same issue on all of my Community sites. If you use a code snippet plugin, I prefer and recommend FluentSnippets, you can copy this code snippet here and paste it in a new snippet and this will solve the issue your having.

What this does is it sets the default posting space to the members profile, and stops them from having to choose a space to post in. They can still click on the words "On my profile" and select a different space if they want to, but with this code snippet, the default posting space is on the members profile.

Here is the link to the code snippet by TribeTools on their GitHub page.

https://github.com/tribeToolspro/tt-default-post-space

This is the one I used and it's working really good so far.

Jeff Brigman

David ForeΒ going to take a look at their code and see about implementing something similar into the free features of my plugin.

Claudy Scoufy

Jeff BrigmanΒ , if you wish, I can give you my homemade but working solution, you can improve it and include it on your "plus" addon.

Jeff Brigman

Claudy ScoufyΒ certainly, you can share here or there.

Tony Rockliff

Thank you, fantastic! David ForeΒ 

David Fore

Tony RockliffΒ Your Welcome! I don't know your skill set at working with code and such, but I just want to remind you to read his "READ ME" first before installing it, cause as he says there, it may break when an update for FC is released.

Tony Rockliff

Thanks David. I had Claude Code go to your github link and it read it, figured out what to do and did it in a few seconds, and it works beautifully. Thanks so much. :)

David Fore

Tony RockliffΒ That github actually belongs to @davinian. He shared it with me the other day. I have to give credit where it belongs, cause I know nothing about coding or github or anything like that yet. I'm learning, but I'm just an end user at the moment. πŸ˜€

Tony Rockliff

David ForeΒ Well, your timing was perfect to help save my day. :)

Lee Busch

Shahjahan JewelΒ  Since a key idea of FC is to be easier than a forum, can Fluent please remove this friction for users? We need the ability to set a default Space for posts (the user can override if they know enough). But users are not programmers, and they should not have to think about structure in order to make a post. My users are in their 60s and 70s, and they absolutely cannot understand such issues as"you posted wrong" and "choose a space". :-)

Filter hook for default post space selection has been added in v2.5.0

How to test:

  1. Add the filter in your theme'sΒ functions.php:

    add_filter('fluent_community/create_post_default_space', fn() => '__self__post__');
  2. Visit the main Feed page, click the Create Post area β€” "Posting in" should default to "On my profile"

  3. Visit your profile β†’ Posts tab, open Create Post β€” same default applies

  4. Visit a specific space page β€” no default applied (form is already scoped to that space)

  5. Pass an invalid slug β€” selector stays on "Select Space" (no broken UI)

  6. Disable global posting in settings, keepΒ __self__post__Β as default β€” selector stays on "Select Space" (validation rejects it)

Usage Examples:

Default to "On my profile"Β β€” for communities where profile posting is primary:

add_filter('fluent_community/create_post_default_space', fn() => '__self__post__');

Default to a specific space Β β€” reduces friction when most posts belong in one place (e.g. a general discussion space):

add_filter('fluent_community/create_post_default_space', fn() => 'general-discussion');

Dynamic default by user roleΒ β€” admins default to an announcements space, regular members to general:

add_filter('fluent_community/create_post_default_space', function() {
    return current_user_can('administrator') ? 'announcements' : 'general';
});

Onboarding flowΒ β€” guide new members to post in a "Introduce Yourself" space:

add_filter('fluent_community/create_post_default_space', function() {
    $user = wp_get_current_user();
    $joinedDaysAgo = (time() - strtotime($user->user_registered)) / DAY_IN_SECONDS;
    return $joinedDaysAgo < 7 ? 'introduce-yourself' : '';
});

Note: Default space selection is used by the space slug; you must know the slug of the default post space selection (the slug of the space can be known in the 'Space Settings' or network tab's get request of the space)

Lee Busch

Tawsif Ahmed RiyadΒ  thank you. And will this eventually be handled in the settings as regular features with WYSIWYG settings? Is this code-based implementation a stopgap, or the final solution? Thank you

Claudy Scoufy

For my part, I prefer to completely hide the space selector (including the "My Profile" option), so I added some CSS (to add in custom CSS):

/* Hide the space selector on the global feed */
.fcom_post_actions .el-select__wrapper,
.fcom_post_actions .el-select__suffix,
.fcom_post_actions .target_label {
    display: none !important;
}