I would like a way to give individual users the ability to have any page as their home page.
Background
Currently, we can set the default homepage to be one of several views, and users can personalise this:
Using a plugin by @syl, the default home page can be any page within the Discourse instance:
Alternatively, using a theme component by @pfaffman can allow you to use any page:
My use-case
In our login-only instances, we have groups that almost exclusively use the instance for their own private category. I’d like to make that category their homepage. There are a whole bunch of potential groups like this, each with their own category. This is an alternative to having an unmanageable number of instances, and will still allow access to the wider forum when needed.
The way forwards
What would be the best way to get this done on a per-user basis, combining the existing per-user functionality with the ability to use alternate pages?
elaborate on your requirement detailing the exact desired functional behaviour for all use cases and any additional UI (the examples are useful but you need to be specific about what you want). I have an idea but you’d need to state it in black and white.
Then:
persuade Discourse team to include it OR
get a freelance developer to build it for you. They might also help you develop your requirement.
So what you want is if someone is a member of a group you’ll change home to the category associated with that group? The theme component that I developed is a good start for doing that, however, it appears that it’s broken. Right now, I’m the only one using it (I mean, I am the only user, so not even more users than me are using it on my site), so it’s not been a priority to fix it.
If it worked, it would apply the home url override only for members of a group, so it should be reasonably easy to modify it to support multiple groups and home pages, given that it’s easy to resolve whatever the problem is.
If you’ve got a budget, feel free to contact me or post in #marketplace.
Just in case anyone is interested, I built this plugin that uses your Primary Group to set your homepage to be the Category that’s set up for that Primary Group, resulting in a “User-specific” (aka Group specific) homepage.
It’s not battle tested and I’m not sure if I will support it unless someone wants to fund the work, but feel free to install it and try it out :). If you like it, at least it