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

Updated Edit Article: Enforce Category Option - Require Article Image

Bob

Developer
Staff member
As per title, when editing an Article, enforce the Category Option "Require article image".

Currently, you can edit articles in categories that require an article image (at least 1 uploaded image attachment) and save without that validation being checked (as it was designed as a CREATE only feature).

I've updated the Edit Service to add an additional validation check, that will now throw an error if trying to edit and save an article that does not have any existing image attachments or temp hash image attachments, in categories that require an Article Image. This is really how it should have been designed in the first place and is now enforced on both created and edit.

Additionally, the per category option "Require article image" is no longer a sub option of the "Allow articles to be created" option. This allows admins to set that independently, for use cases where you don't want articles CREATED in that Category, but you want to enforce the "Require article image" for articles that are moved into that Category (won't check during the move process, would apply the next time the article is edited).

Currently...

Selection_274.png


Updated to be an independent option (Phrasing has also changed to reflect that it pertains to both creating and editing).

Selection_275.png
 
Upvote 0
This suggestion has been implemented. Votes are no longer accepted.
Back
Top