inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on May 24, 2016 8:53:37 GMT -8
Basically I'm trying to make it so that an additional profile option only shows if a person is sorted into a rp related group, or is staff. The easiest way to do this is to hide it from non-grouped members as the only other group I need to exclude it from is a group called "inactive" Is there anyway to do this? Brian
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on May 24, 2016 8:57:09 GMT -8
The permissions for custom fields are limited to Members & Staff or Staff Only. There's no way to securely hide the field otherwise. The Custom Field Modifier plugin is the closest available thing at the moment.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on May 24, 2016 8:58:39 GMT -8
The permissions for custom fields are limited to Members & Staff or Staff Only. There's no way to securely hide the field otherwise. The Custom Field Modifier plugin is the closest available thing at the moment. Its for an actual template basically I'm trying to make this <a class="open-modal">Additional Info</a>
Only show if a member is in a group
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on May 24, 2016 9:07:59 GMT -8
You can use if statements then, but keep in mind that $[user.group] and $[current_user.group] rely entirely on the user's current display group, not the list of groups they're a part of.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on May 24, 2016 9:24:07 GMT -8
What about if a user isn't in a group at all though (aka if they're just a groupless member, which are how we designate ooc accounts) - or is that what the 'if user group' statement checks
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on May 24, 2016 9:25:23 GMT -8
That's correct. The first if statement is to check for the presence of a group to begin with.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on May 24, 2016 9:50:13 GMT -8
Thank you xD
|
|