inherit
186864
0
Jul 12, 2013 13:07:52 GMT -8
triplew64
78
December 2012
triplew64
|
Post by triplew64 on Apr 6, 2013 10:13:33 GMT -8
It seems that if I assign a member to a group, then the group name appears in the Mini-profile but the member Ranking is removed. Any way to do the opposite? Remove the Group name but show the Ranking? I'm sure there is probably something in the mini-profile but I don't want to "break" anything.
TIAhttp://support.proboards.com/thread/new/44http://support.proboards.com/thread/new/44
|
|
inherit
186864
0
Jul 12, 2013 13:07:52 GMT -8
triplew64
78
December 2012
triplew64
|
Post by triplew64 on Apr 6, 2013 10:15:49 GMT -8
Disregard. I was able to figure it out.
|
|
inherit
(??_?)
181912
RIP RIP RIP Almost RIP - Why does this social section still exist?
0
1
Jul 6, 2015 20:35:17 GMT -8
CheatAreZee
56,804
March 2005
zyvoloski
Ricky's Mini-Profile
|
Post by CheatAreZee on Apr 6, 2013 10:26:15 GMT -8
Glad to see you were able to get it sorted, triplew64. If you have any other questions though, feel free to let us know
|
|
inherit
186864
0
Jul 12, 2013 13:07:52 GMT -8
triplew64
78
December 2012
triplew64
|
Post by triplew64 on Apr 8, 2013 22:33:52 GMT -8
Glad to see you were able to get it sorted, triplew64. If you have any other questions though, feel free to let us know I thought I had it but as always, "stuff" rears its ugly head. Ideally, I only want the "Moderators" or "Administrators" group to be shown in the Profile or Mini-profile. I originally removed the Group.name code but that removed the above two groups also. Currently the code looks like {if $[user.rank]} $[user.rank.name]<br /> {if $[user.rank.stars]} $[user.rank.stars]<br /> {if $[user.group]} $[user.group.name]<br />$[user.group.stars]<br /> {/if} {/if} Is it possible to insert a statement that will allow for only the "Moderators" or "Administrators" groups to be shown in the mini-profile. TIA
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Apr 9, 2013 13:02:06 GMT -8
Hi, triplew64. Try replacing the code you posted with the following: Replace the text in green with the name of the groups.
|
|
inherit
186864
0
Jul 12, 2013 13:07:52 GMT -8
triplew64
78
December 2012
triplew64
|
Post by triplew64 on Apr 9, 2013 15:19:30 GMT -8
Brian absolutely perfect. Works just as I wanted it to work. Thank you so much for your assistance as always.
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Apr 9, 2013 16:04:44 GMT -8
Sure thing.
|
|
admj
New Member
Posts: 8
inherit
192608
0
May 10, 2013 10:42:12 GMT -8
admj
8
April 2013
admj
|
Post by admj on May 8, 2013 7:14:01 GMT -8
I'm trying something similar as well. I have a single custom group (Accountant; though maybe more in the future), but I also have some other custom code you helped me with in the mini-profile.
<div class="$[miniprofile_class]"> $[user]<br /> {if $[user.is_guest]}Guest<br />{/if} {if $[user.group]} {if $[user.custom_title]}$[user.custom_title] {else} $[user.group.name]{/if}<br />$[user.group.stars]<br /> {elseif $[user.rank]} {if $[user.custom_title]}$[user.custom_title] {else}$[user.rank.name]{/if}<br /> {if $[user.rank.stars]} $[user.rank.stars]<br /> {/if} {/if}
|
|