inherit
194230
0
Nov 21, 2015 5:56:42 GMT -8
Alan Vende
4,215
May 2013
l1o2u3i4s5
|
Post by Alan Vende on Aug 16, 2015 8:32:17 GMT -8
Forum URL: psychic-psyghtings.proboards.comI noticed that on David's mini profile, it shows "Admin" at the top and in his rank/group it shows ProBoards Admin. Is there a way that I can get something like that to show on my mini profile -- say, for example, my rank is Head Administrator. Could I get Admin or Head Admin to show on mine and Admin to show on my Administrator's mini profiles? Thanks so much!
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Aug 16, 2015 8:42:30 GMT -8
|
|
inherit
194230
0
Nov 21, 2015 5:56:42 GMT -8
Alan Vende
4,215
May 2013
l1o2u3i4s5
|
Post by Alan Vende on Aug 16, 2015 8:59:28 GMT -8
Got it! Thanks so much, Brian! I assume, since I want to do that for my staff, too, would I put: {if $[user.group]} <div class="mp-group"> {if $[user.group.name] == "Administrator" || $[user.group.name] == "Global Moderator" || $[user.group.name] == "Moderator" || $[user.group.name] == "Graphics Guru"} Admin || G-Mod || Mod || Guru {else} $[user.group.name] {/if} </div> {/if} Is that remotely close if it's not correct? PS: I'm horrible at "lining up" the code. Will the editor do it for me somehow?
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Aug 16, 2015 9:23:55 GMT -8
Highlighting your code and pressing Shift+Tab will automatically tab it with the exception of if statements.
The way you have it set up now will make it show all of those names for every group you included in the if statement. It should look like this:
|
|
inherit
194230
0
Nov 21, 2015 5:56:42 GMT -8
Alan Vende
4,215
May 2013
l1o2u3i4s5
|
Post by Alan Vende on Aug 16, 2015 9:25:29 GMT -8
Oops, my bad. Thanks so much!
|
|