Platform catalogue
The catalogue lives at AdminCP > [MC] Social Profiles > Platforms. It is the canonical list of every platform the board offers.
Default platforms
The install seeds the following:
PlayStation, Xbox, Steam, Nintendo, Epic Games, EA / Origin, Roblox, Discord, Twitch, YouTube, Kick, Reddit, Bluesky, Instagram, TikTok, Telegram, GitHub, GitLab, Facebook, Twitter / X.
Disable or remove any you do not want; the seed only runs on install.
Adding a platform
- Navigate to AdminCP > [MC] Social Profiles > Platforms.
- Click Add platform.
- Fill in the fields:
- Platform key: lowercase slug, unique. Used internally; do not change after profiles are saved.
- Platform name: the display name.
- Icon type / value: SVG markup, FA class (e.g.
fab fa-discord), or image URL. - Icon colours: optional light and dark theme tints.
- URL pattern: outbound link template. Use
{value}where the user's handle should appear. - Gamer-card URL pattern: optional image URL template. Use
{value}or{value_encoded}. Leave blank if the platform has no card image. - Validation regex: a PCRE pattern applied to incoming handles. Use anchors (
^...$) for full-string validation. - Placeholder: editor hint text.
- Edit/View group restrictions: optional group filters. Empty = all groups.
- Display order: integer; lower numbers sort first.
- Active: untick to hide without deleting.
- Click Save.
Editing a platform
Edit any platform from the same page. Changes take effect immediately. Existing profile rows are not touched: the user-entered handle stays as-is, and the new icon, URL, or validation regex applies on the next render or save.
Tightening the validation regex does not retroactively reject existing handles. To enforce a new regex on existing data, manually re-save affected rows from the AdminCP or query the database directly.
Disabling vs removing
| Action | Effect |
|---|---|
Disable (active = 0) | The platform disappears from the editor, member card, and gamer-cards page. Profile rows remain in xf_mc_social_profile. Re-enable at any time to restore visibility. |
| Delete | Removes the platform row and every corresponding profile row. Irreversible. |
Disable first, observe for a release cycle, then delete if no member complains.
Reordering
Set the Display order field. Lower numbers sort first. The order applies everywhere the platform list appears: the AdminCP table, the user editor, the icon strip on member cards, and the gamer-cards page.
Group restrictions
Two optional filters refine who interacts with each platform.
- Edit user group IDs: only members in these groups can add a profile for this platform from their account editor. Useful for restricting niche platforms (e.g. internal-only chat handles) to a subset of staff.
- View user group IDs: only viewers in these groups see this platform on other members' profiles. Combine with View social profile icons for two-layer gating.
Leaving either field empty means no restriction at this layer.