• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

User Criteria for Custom Field

bloh

New Member
Showcase
I'm looking to limit certain custom fields to certain usergroup. Is there an easy way to achieve this?
 
The only easy way to do something like that would be to limit which groups could create items in specific categories since custom fields are assigned to categories. Other than that, you are looking at some rather complex coding and or some rather wicked template editing. Im also not sure if your focus is on preventing Item Owners from being able to add content to specific fields OR if you are wanting to prevent specific users from viewing specific fields because of a group they are in. That is two completely different sets of circumstances (both would require the same amount of code and or template editing).
 
You can use both Regular expression and PHP callback for Text fields. That should be all you need to do what you want. You should even be able to use the PHP Callback to prevent specific user groups from adding a URL
 
Back
Top