Version: 1.0.1, by DragonByte Tech
Developer Last Online: Mar 2023
Category: Mini Mods -
Version: 4.x.x
Rating:
Released: 12-31-2012
Last Update: 08-16-2017
Installs: 49
DB Changes Uses Plugins
Additional Files Translations
No support by the author.
What is Threads Auto Close?
Threads Auto Close is a professional forum management mod, allowing administrators to automatically close threads after X post or X replies.
Close Threads Automatically is the ideal product to eliminate the bumping of older threads.
Threads are not closed in the database, they appear as if they were closed. So, if you deactivate or uninstall the mod, threads appear as open again.
Note: Threads that are marked as closed by this mod via the Auto Close After X Replies setting, can not be reopened due to the fact that they have reached the max replies you set. Only way to re open them is to increase the reply limit or disable that feature.
If you like this mod please hit the button to the right ---->
Please remember to click the, button to the right if you installed the mod ---->
What does 'Marking As Installed' do ?
* It helps you to stay on top of updates - members who have installed modifications will be notified by us whenever new updates are available.
* For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.
* Marking a modification as installed also helps us know how many people are using our work, giving us extra incentive to provide more features and new modifications.
We appreciate the support!
-------------------------------------------------------------------------------------------
Major Features Close After X Posts: Administrators can set threads to auto close after a defined amount of days.
Close After X Replies: Administrators can set threads to auto close after a defined amount of replies.
Forum Settings: Administrators can set which forums threads to auto close after X days or X replies.
General Settings
Option to toggle plugin on or off.
Option to hide the version number in the footer.
Option to close thread after X days.
Option to close sticky threads or not.
Forum selector to choose which forums to auto close threads in.
Setting to close threads after X replies if so desired, overrides the close thread after X days setting.
Usergroup setting to select which usergoups will see the threads as closed.
Forum selector to choose which forums the threads do not auto close on, if you choose All Forums in the other setting.
Option to include sub forums if the parent forum is selected.
Option to enter forum id's of threads you want excluded from auto closing if it is in a forum you have threads auto closing.
Option to enter the id's of the users you want to see the threads as closed if they are in a forum you have threads auto closing. Useful if you only want certain users to see threads closed instead of usergroups.
Option to add a "Closed" prefix on forumdisplay to the thread title if the thread is closed via this mod.
DBTech Affiliate ID support.
Note: Threads that are marked as closed by this mod via the Auto Close After X Replies setting, can not be reopened due to the fact that they have reached the max replies you set. Only way to re open them is to increase the reply limit or disable that feature.
-------------------------------------------------------------------------------------------
This mod displays a copyright notification in the footer of Show Thread and product pages which includes:
1 Link to DragonByte Technologies homepage
1 Link to Product Description page of this modification
any chance that this or other plugins can have the ability to lock threads with db.
i want the threads to get normal close after x days. no neef for extra permissions. administrators will still be able to "ignore" the lock just like normal
I downloaded and installed this mod last night. And tonight members are complaining that current threads are showing up as closed. After researching this complaint I've realized that all threads show as closed when viewing the Subscribed Threads Quick Link. All other forum views work as expected.
The Subscribed Threads link is set up with a Target URL of subscription.php{session.sessionurl_q}.
Is there something I can add to this URL to fix the bug? I already tried adding contenttype=vBForum_Thread; but all displayed threads still showed up as Closed.
Edit: Looks like this bug exists on My Posts as well. This Target URL is search.php?do=finduser&userid={bbuserinfo.userid}& contenttype=vBForum_Post&showposts=1. When I change showposts=0 or remove it, this link then becomes My Threads, which works correctly. Something is missing when showing the given member's actual posts in a list.
So, there are 2 areas that appear to need updating.
Not sure if you're still looking for a solution but for the subscription.php page create a hook usersub_view_query name it whatever you want with the contents:
For the search result page you'll need to do a manual query in another hook to expose the custom field added by the module to your search results. The hook you have to create is threadbit_process, with execution order 4 (so it comes before the other process hook from the autoclose plugin) with the contents:
PHP Code:
if(!isset($thread['dbtech_act_lastpost'])) {
global $vbulletin;
$tresult = $vbulletin->db->query_first("
SELECT t.dbtech_act_lastpost
FROM ".TABLE_PREFIX."thread AS t
WHERE t.threadid = " . $thread['threadid'] . "
");