• 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.

Fixed It is currently possible configure categories to allow ads to be created without any ad types being

Status
Not open for further replies.

Bob

Developer
Staff member
XenForo Version: XF 2.2.x
CAS Version: CAS 2.2.27 and older
As per title, it is currently possible to configure categories to allow ads to be created without any ad types being set.

I've added a conditional to the _preSave() function in the Category Entity to throw an error when the "Allow ads to be created" option is enabled and no Allowed Ad Types have been set.

Selection_999(250).png
 
Status
Not open for further replies.
Back
Top