View attachment 152376
ChatGPT
Yes, in XenForo you can set up a cron job (scheduled job) to automatically close threads that were opened a certain number of years ago. This can be done using the "Thread Auto Close" feature or by using a specific add-on designed for this feature.
Here's how you can do this in XenForo using the Thread Auto Close feature:
- Log in to the XenForo administration area.
- Navigate to "Options" in the admin menu.
- Select "Threads, Discussions and Conversations".
- Scroll until you find the setting for "Auto Close Threads After x Days."
- Set the desired number of days. For example, if you want to automatically close threads that were opened 3 years ago, you would set this value to the number of days in three years (approximately 1095 days).
However, if this functionality is not available in the basic XenForo settings, you can search for an add-on specially designed for this purpose in the XenForo Resource Manager or in the XenForo community forums. There may be an add-on that provides more flexibility and configuration options for automatically closing threads based on custom criteria.
Always remember to make a full backup of your forum before making major changes like this, to avoid data loss or unexpected problems.