XF 2.2 custom_fields

Robert9

Well-known member
I have a forum, where all people are in group "boys" or "girls".
Now i have some custom_fields that makes sense only for one group, not for both.
I dont want to install XONs addon to have permissions for custom_fields.
So i ask here:

What is the best idea to show a cusom_field only for group_x?
The last time, if i remember right, was something like:

if field_id == "this_one" and visitor_value ="that one"
=> show the field

Or should i extend the class that cares for the fields and kill the ones, i dont want, there?
 
Top Bottom