inherit
200100
0
Jun 14, 2019 17:37:50 GMT -8
Slendy
129
September 2013
slendy
|
Post by Slendy on May 20, 2017 8:41:16 GMT -8
Hi there I'm just wondering if I have certain custom mini-profile fields I want to appear in the mini-profile for certain groups is it possible to code that in to the mini-profile layout? I'm guessing it would be something like {if $[user.group.num_11]} or something like that? if I wanted a custom mini-profile for that group number specifically?
|
|
inherit
133146
0
Nov 16, 2024 15:51:08 GMT -8
Alanna 🥀🖤
3,564
November 2008
alannab
|
Post by Alanna 🥀🖤 on May 20, 2017 15:35:39 GMT -8
You have the right idea:
{if $[user.group.id] == "GroupID"} {foreach $[user.mini_custom_field]} {if $[user.mini_custom_field.name] == "Custom Field Name"} <span class="$[user.mini_custom_field.content_class]"> $[user.mini_custom_field.name]: $[user.mini_custom_field.value] </span> {/if} {/foreach} {/if}
|
|
inherit
200100
0
Jun 14, 2019 17:37:50 GMT -8
Slendy
129
September 2013
slendy
|
Post by Slendy on May 22, 2017 12:15:19 GMT -8
Ah nice. Thank you.
|
|
inherit
245803
0
Aug 9, 2017 6:17:52 GMT -8
agentmurder
2
June 2017
agentmurder
|
Post by agentmurder on Jun 19, 2017 7:40:07 GMT -8
and with something like this can you show stuff like minibars and so? or what kind of customizations can be done? I want to make mini bars like some kind of badges shown at their mini-profiles and this could make it way easier.
Sorry, I'm really newbie to the coding world lol
|
|