Repository source: docs/concepts/site_profile.md
Site profile
Purpose: Give one v3 codebase several sites, each with its own name, themes, copy, icons and per-site settings, chosen by FORUM_SITE_ID.
Scenario: A fresh clone with no FORUM_SITE_ID is plain: an unbranded board seeded from resources/local_seed/. zenmemes.com sets FORUM_SITE_ID=zenmemes and gets the ZenMemes name, Gloss themes, Zen strip, tour and "Z" icon; qdb.us sets qdb.
Sources: profiles (source unavailable), editorial copy (source unavailable), favicons (source unavailable), new-install seed (source unavailable), plain site test (source unavailable), board settings test (source unavailable).
Boundary: A profile changes presentation and per-site settings, not content: profiles share the instance's repository and read model. plain is the required fallback, so an unknown or unset ID in the environment shows plain; an unknown ID in the private file is an error. Each profile has its own browser namespace, so saved preferences and offline caches don't cross sites. Related: presentation slots pick a profile's layout and copy variants; deployment configuration is where a server names its profile.
Board settings: boardDefaultView (liked with the All fallback, or all), boardControls (view, sort and Tags links), listingQuery (View query footer) and composerPosition (top or bottom) and boardFullText (whole first post on each card instead of the one-line preview) shape a small site's board, online and offline; JetLAG HQ sets all four. The URLs they hide keep working.
Header and nav settings: themeMenu (the header theme picker; Preferences still lists permitted themes), navHidden (sections left out of the nav) and navFooter (sections moved to a link at the bottom of every page). A branded site with defaultTheme auto follows the device into its autoThemes. JetLAG HQ uses all three, plus the toolsNav slot.
Invite settings: inviteMaxRedemptions (people one Generate invite link admits, 1–1000, default 1) and inviteDays (validity, default 30); JetLAG HQ uses 25 and 360. See invitation lifecycle.