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.

Disable location field

Discussion in 'AMS Support' started by CarpCharacin, Dec 13, 2016.

  1. CarpCharacin

    CarpCharacin Member AMS Showcase

    How do I disable the location field for a category?
  2. Bob

    Bob Developer Staff Member

    You can't as there is no category setting to disable the location field.

    The only thing you can do yourself is edit the Create and Edit article templates and remove the location field input (this obviously disables it for all categories) OR wrap the input with conditionals to not display the input if it matches specific categories IDs (Brogan has a RESOURCE on conditionals that explains how to do a conditional against multiple IDs).

    There is an existing suggestion to add the ability to enable/disable location on a per category basis, so you don't need to create another one.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.