Home and forums
This page is for a streamer who wants to know what visitors see first on their site. After reading it you can write your Home welcome, choose which leaderboards Home shows, and know how the forums are set up for you.
Home is your site's front page. It is what a visitor sees first when you are offline: what is going on, what people are talking about and, for a signed-in viewer, their own profile card. For a signed-out visitor it doubles as the explanation of what your site is, so nobody lands on a dark player with no idea what they are looking at.
Forums is a Reddit-style board of posts and replies. It suits things that should last longer than a chat message: suggestions, guides, longer discussion.
Where Home sits
Home is always the first tab, and it cannot be closed, so a viewer can always get back to it.
- On a computer it is the first tab in the row under the player, followed by Forums, then News and VODs when they have something to show.
- On a phone it is the first tab in the chat bar, before Live and Matrix. Forums is in the + menu (Add a tab).
As the admin you also see a Stream tab, which shows whether each platform's chat is being read. Viewers never see it.
The page arranges itself around your stream:
- While you are offline, the player folds down to its bar, the chat folds away, and Home fills the page.
- When you go live, the player and chat open again by themselves, and on a phone the page switches to Live.
This happens fresh on every visit. If a viewer opens or folds something during a visit, their choice stands until your stream goes live or ends. A viewer who picked theatre or full-screen community view on a computer keeps it.
🖼 Image: Home on a computer while offline: the profile card on the left, widgets on the right
What Home shows
The right side is a grid of widgets, in this order:
| Widget | What it shows |
|---|---|
| What's going on | LIVE now with the viewer count, or Offline with when your last stream ended and how long it ran. If a streamer you feature is live, it says so with a Watch button |
| Latest VODs | Your newest past broadcasts. On a phone this is Last stream, one large picture. Click one to play it |
| Active threads | The busiest forum threads. Click one to open it in the Forums tab |
| Leaderboard | Top viewers, messages and emotes, see below |
| News | Headlines. Click one to read it in the News tab |
A widget with nothing to show says Nothing yet. One that could not load says Couldn't load right now., and the rest of Home keeps working.
On a computer the widgets sit three across when there is room and drop to one column when the chat is open beside them. They keep a fixed size, so Home fits on one screen.
What a new install shows
- Latest VODs appears only once you set a YouTube playlist for your past broadcasts (see below). Without one there is no VODs widget and no VODs tab.
- News and the News tab appear once a news feed has headlines. Adding a feed from your site is coming, so on a new install neither shows yet.
- Active threads lists your forum threads from the start (see Forums on a new install). With no posts yet it says Nothing yet.
To show your past broadcasts, set the VOD playlist value: a YouTube playlist id starting with PL. Connect to your server and run this, with your own playlist id:
sudo blackbranch set YOUTUBE_VOD_PLAYLIST PLxxxxxxxx
The site restarts with it, which takes a few seconds. More on YouTube.
The leaderboard
The leaderboard ranks people, messages or emotes over a window you pick: Stream, Week, Month or All. While you are live it starts on Stream, otherwise on Week. The chips along the top switch between boards, and the last one a viewer picked is remembered on that device.
| Board | What it ranks |
|---|---|
| Earned points | Points earned by taking part, never points bought |
| Karma | The total of upvotes minus downvotes on someone's messages |
| Karma / 100 | Karma per hundred messages, so a few good messages can beat many average ones |
| Streams | How many of your streams someone chatted in (no Stream window) |
| Top messages | The best-voted messages, shown as they looked in chat |
| Top emotes | The most-used emotes |
There is no leaderboard for money, by design: ranking people by how much they gave turns a community into a bidding war. A signed-in viewer who is on a board sees their own row too, marked You.
Karma / 100 only lists someone with enough messages in the window: 5 in Stream, 20 in the others. Without that floor, one lucky message would top the board.
The words "points" and "Karma" follow your site's own names for them, if you changed them during setup.
Choosing the boards
Admin Panel → Site → Leaderboard decides what Home offers:
- Hide the Leaderboard: On means Home has no Leaderboard widget at all.
- One switch per board, by the name Home shows it under: earned points, Karma, Karma / 100, Streams, Top messages and Top emotes. Switch a board off and its chip disappears from the widget. The last board still on stays on: the switch beside it is greyed out with "the last one on stays on".
Changes apply at once.
Signed out: Home is the welcome
A signed-out visitor sees your site's name and one line about it at the top. On the left is a Sign in or create an account button with a short list of what an account gives them. There is no separate tour or welcome popup.
The heading and the line under it are yours to write. They are the Home heading and Home intro values, shown in Admin Panel → Site → Site, card Site. They are set on the server, because the site reads them when it starts:
Connect to your server and run this for the heading, with your own words:
sudo blackbranch set SITE_HOME_HEADING "Welcome to Gadget's"
Then run this for the line under it:
sudo blackbranch set SITE_HOME_INTRO "Live most weeknights."
The site restarts with each change, which takes a few seconds.
A value can be up to 300 characters and cannot contain $, " or \. Left empty, the heading is your site's name and the line reads "A live stream and its community, backed by Matrix." See Your site's name and looks.
Signed in: your own card
For a signed-in viewer, the left column is their own profile card: banner, picture, name in their colour, badges, a status line, a short bio, and their numbers (messages, streams, karma). Below that, one Settings row folds open to the account options. While encryption is not set up on that device, the row says so, as a reminder.
The first time someone signs in, the card's place holds short setup steps instead:
- Link your platforms: connect Twitch, Kick and others, so their messages from there carry their name and colour on your site. See Linking your platforms. This step is left out when your site has no platform a viewer could link.
- Make it yours: name colour, picture, banner, bio (one line, up to 200 characters) and status.
- Secure your DMs: make the recovery key for their encrypted direct messages. See Encryption and your recovery key.
Every step has Next and Back, and Skip setup ends it in one tap. Each step can also be done later from the avatar menu. The steps show once. After that, the card's edit button brings back the profile step.
Forums
The Forums tab is a list of posts, each with a title, text, tags and votes. Open a post to read its thread of replies. On a wide screen the thread opens beside the list; on a phone it opens in its place, with Back to return.
- Chips across the top pick a forum, or All.
- Sort: Recently Active, Date Posted or Top Voted.
- Search posts looks through titles, tags and text.
- New post: a title, the text, and optional tags written as
#tagsanywhere in the text.
Everyone can read the forums without an account, so you can link to a forum from anywhere. Voting, posting and replying need an account; a signed-out visitor sees Sign in to vote, Sign in to post and Sign in to reply in those places. Admins can pin a post to the top with Pin post to top.
Because anyone can read them, forum posts are not encrypted, and files attached to a post are uploaded as they are. Do not switch encryption on for a forum room: the public view cannot read encrypted posts.
Forum posts are kept for 180 days, the server's default retention, and then removed.
How forums work
A forum is a room in your community that carries a forum marker. In the community view (the Matrix tab) such a room shows as a list of posts, with a forum icon in the channel list. Other Matrix apps show it as an ordinary room with threads.
The Forums tab and the Active threads widget are different: your server reads the forums on behalf of visitors, so they work for people who are not signed in. It does this through a separate read-only Matrix account that is a member of the forum rooms and never posts.
Forums on a new install
Setup makes one forum room, #forum, in your community space. Signed-in members can read and post in it from the Matrix tab.
The Forums tab and the Active threads widget work on a new install with no step of your own. The installer makes the read-only account @forum-reader:example.com (with your own domain), keeps its sign-in in /opt/blackbranch/.env with the other secrets, and has it join #forum when setup makes the room. The account has no powers and never posts.
Every start (sudo blackbranch up, which an update and a restore also run) checks that the account can still sign in, and signs it in again if not. If the account could not join #forum, setup says so, and the next sudo blackbranch up tries again. Until it is in, the Forums tab says Forums aren't available right now., with Try again. If an account named forum-reader already exists on your server and the server did not make it, the start says so and leaves that account alone: rename or remove it, then run sudo blackbranch up.