Skip to main content

Permissions

[MC] Forum Layouts adds one user permission group, Forum Layouts, with a single permission.

PermissionDefaultEffect
Toggle forum layoutsAllowLets 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

  1. The Allow layout toggle option must be on. If off, the switcher is hidden and the configured default layout is used for everyone.
  2. The visitor must hold the Toggle forum layouts permission. If revoked, the switcher is hidden for that user group.
  3. 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:

  1. Leave Allow layout toggle on.
  2. Set Toggle forum layouts to Never for that group at AdminCP > Groups & permissions > Permissions.