0ptima
Well-known member
Im looking for a developer to create an addon that will transfer the first post (which may have attachments) of an existing forum thread to the XenForo Resource Manager (RM). This addon will function as follows:
Thread transfers will only work in RM categories that do not have a file.
Thread transfers will only work in nodes that have an assigned RM category.
A new user group permission will enable this functionality.
If the above conditions are met, then when you are in a thread and select “Thread Tools”, the option to convert the tread to a resource will appear.
Once the option to convert a thread to resource is selected, the new resource will be created with all the information from the first post of the thread as follows:
Resource Title: Thread Title
Tag Line: Blank
Description: First post of thread
Additional Information URL: Blank
In addition, the original poster, creation date, the first post number of views, likes, attachment count, etc would be transferred from the first post to the resource entry.
The transferred thread would be updated so the discussion_type field in the xf_thread table would be updated to “resource”
The first post would be updated with a link to the resource.
If some sort of error is encountered during the conversion, the first post of the thread must not be affected.
Upon successful creation of the resource, the user will be taken to the newly created resource.
The resource must be created as if it was manually created by a user and must update any additional tables not mentioned above.
Please message me if you are interested in developing this addon or would like to help fund it. This addon will be released to the XF community if it gets created. Thank you.
Thread transfers will only work in RM categories that do not have a file.
Thread transfers will only work in nodes that have an assigned RM category.
A new user group permission will enable this functionality.
If the above conditions are met, then when you are in a thread and select “Thread Tools”, the option to convert the tread to a resource will appear.
Once the option to convert a thread to resource is selected, the new resource will be created with all the information from the first post of the thread as follows:
Resource Title: Thread Title
Tag Line: Blank
Description: First post of thread
Additional Information URL: Blank
In addition, the original poster, creation date, the first post number of views, likes, attachment count, etc would be transferred from the first post to the resource entry.
The transferred thread would be updated so the discussion_type field in the xf_thread table would be updated to “resource”
The first post would be updated with a link to the resource.
If some sort of error is encountered during the conversion, the first post of the thread must not be affected.
Upon successful creation of the resource, the user will be taken to the newly created resource.
The resource must be created as if it was manually created by a user and must update any additional tables not mentioned above.
Please message me if you are interested in developing this addon or would like to help fund it. This addon will be released to the XF community if it gets created. Thank you.