Default mini-profile template?

Korok's Avatar
Korok · in Support
3 replies 197 views

Hello!

I was wondering what the default mini-profile template was? I'd like to swap out user title for member group, and tweak the information area (posts, join date, etc) to show different info.

In that vein since I'd like different member groups to be reflected by different colours in the mini-profile, content, and main-profile areas (i.e. as opposed to their username link being coloured), is there a member group id variable? Like say, admin is group 1, global mod is group 2, so on and so forth, and this variable shows "1," "2," 3," etc. by member group? Would probably look something like {{ g_id }} or {{ group_id }}

Edit: here's a pic as reference for what I'm talking about. I'm talking about making the accents of the mini-profile, main profile, and posting area automatically reflect their assigned colours.

Example snippet:

:root {
  --member: #42ADC7;
  --memberRGB: 66,173,199;
  --armoury:#FF9D4F; /** this matches to **/
  --armouryRGB:255,157,79;
}

.g-6 {
  --accent:var(--member);
  --mainRGB:var(--memberRGB);
}

.g-7 {
  --accent:var(--armoury); /** this **/
  --mainRGB:var(--armouryRGB); 
}

<div class="profile g-<!-- |g_id| -->">
...
</div>

Last edited by Korok

0

On May 10, 2026, Korok said:

In that vein since I'd like different member groups to be reflected by different colours in the name area and posting area by more than just their username link, is there a member group id variable? Like say, admin is group 1, global mod is group 2, so on and so forth, and this variable shows "1," "2," 3," etc. by member group? Would probably look something like {{ g_id }} or {{ group_id }}

Admin CP > Users & Groups > Groups

Click the Edit button next to the group name, then add whatever colour you like to the Format space. The code below (without the ticks on either side) would make all the usernames in that group white, for example.

[color=#FFF]%s[/color]

Last edited by Striker

0

On May 10, 2026, Striker said:

Admin CP > Users & Groups > Groups

Click the Edit button next to the group name, then add whatever colour you like to the Format space. The code below (without the ticks on either side) would make all the usernames in that group white, for example.

[color=#FFF]%s[/color]

Thanks for posting. I know about that, but it's not what I'm talking about.

0

I’ll reply to this in the next few days.

👍 1
Theme: FS 2.0
Create Your Community with ForumSpark

ForumSpark is a modern community platform built on custom software. It combines the familiar feel of classic forums with a fast, simple experience designed for today’s communities.