Permissions
[MC] Forum Layouts adds one user permission group, Forum Layouts, with a single permission.
| Permission | Default | Effect |
|---|---|---|
| Toggle forum layouts | Allow | Lets the visitor switch between the table, fluid, and card views via the layout switcher. Requires the corresponding alternate layout to be enabled in the AdminCP options. |
How toggling resolves
- The Allow layout toggle option must be on. If off, the switcher is hidden and the configured default layout is used for everyone.
- The visitor must hold the Toggle forum layouts permission. If revoked, the switcher is hidden for that user group.
- The target layout must be enabled in the options. If a layout is disabled (or only the default is enabled), its toggle button is removed.
When all three conditions are met, the visitor's choice is stored in xf_user_option.mcForumLayouts_preferredLayout (logged-in members) or in a cookie (guests).
Revoking access for a single group
To force a specific group to always see the default layout while still letting other groups switch:
- Leave Allow layout toggle on.
- Set Toggle forum layouts to Never for that group at AdminCP > Groups & permissions > Permissions.