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

Implemented Convert Article to Thread

Bob

Developer
Staff member
As per title, I've added a new feature that allows AMS Article Moderators (with the appropriate permissions), to convert an Article (one that was posted by mistake) into a Thread.

Important Note: This feature is to be considered BETA, so I would suggest testing before using.

THIS IS NOT AN EXPORTER! Article content such as Pages, Comments, Ratings, Reviews, Reactions etc are not converted into POSTS and will be HARD DELETED.

This feature is 100% designed for those occasions where members accidentally post an article, that really should have been posted as a Thread (and this tool allows AMS Moderators to quickly and easily convert those "mistake" articles into Discussion Threads).

There is a NEW permission that you will need to set. This new permission (PLUS the permission "Edit any article") is needed in order to use this new feature.

Selection_836.png


This feature handles articles that already have an existing associated thread and articles that do not have an existing associated thread.

Articles that have an existing associated thread:
  • Articles that have an existing associated thread will UPDATE the existing thread record and first post record.
  • The Thread's discussion_type field will be set to 'discussion' (that is a standard discussion thread).
  • The Thread's user_id and username fields will be set to the Article Owner (already should be that way, but set again nontheless).
  • The First Post message will be replaced with the Article message
  • If there are any attachments associated with the article, those will be added to the First Post
Here is an article that has an existing associated thread.

Selection_837.png

Clicking on the link launches an overlay. You can see at the very top in RED letters, a WARNING that explains clearly that the action is PERMANENT and IRREVERSIBLE.

When an article has an existing associated thread, the Destination forum chooser will be pre selected with the Forum that the Existing thread is currently located. You may want the thread to be in a different forum, so you can choose a different forum instead of converting, then moving.

Selection_838.png


Here you can see the above Article has been converted into the existing thread, that the thread owner and first post owner are the same (the Article owner) and that the attachments from the Article were added to the first post (which already had an existing attachment).

Selection_839.png


Articles that do not have an existing associated thread:
  • A new thread will be created using Article data (as if the user that created the article, is creating a new post).
  • If there are any attachments associated with the article, those will be added to the First Post as well.
  • Being that its a new thread, there is a "Tags" input that will be populated with any tags from the article, in which you can add or remove).
Example... here is an Article that does not have an existing associated thread. The viewing user (me) has permission to covert this article to a thread.

Selection_840.png


Clicking on the link launches an overlay. You can see at the very top in RED letters, a WARNING that explains clearly that the action is PERMANENT and IRREVERSIBLE.

Selection_841.png


And here you can see that the Article has been converted into a NEW thread. The thread is NEWLY CREATED (not the date that the article was created).

Note: This process will set the WATCH STATE for both the Moderator performing the action as well as the Owner of the thread (which you can see in the image, Mr Tester is watching this thread. The thread is also marked as "read" for both the Moderator performing the action as well as the New Thread Owner.

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