Back to feed

Default mini-profile template?

Korok · 5 months ago · 3 replies · 352

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>

3 replies
Striker · 5 months ago

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]

Korok OP · 5 months ago

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.

Cedric · 5 months ago

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

Create a free account to join the conversation.
Sign up free
ForumSpark © 2023 - 2026 · ForumSpark.net · Terms