Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
[DBTech] Threads Auto Close v1 (vB4) Details »»
[DBTech] Threads Auto Close v1 (vB4)
Version: 1.0.1, by DragonByte Tech DragonByte Tech is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

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!
-------------------------------------------------------------------------------------------

Other addons available @ www.DragonByte-Tech.com/forum


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

Download Now

File Type: zip [DBTech] Threads Auto Close v1.0.1.zip (17.1 KB, 39 views)

Screenshots

File Type: jpg act1.jpg (95.8 KB, 0 views)
File Type: jpg act2.jpg (95.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 07-01-2014, 05:33 PM
iraqiboy90 iraqiboy90 is offline
 
Join Date: Sep 2012
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #33  
Old 08-06-2014, 08:51 PM
Tracker_Techie Tracker_Techie is offline
 
Join Date: Jun 2014
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a same mod like this but for Vbulleitn 3.8.x version instead of Vbulleitn 4??
Reply With Quote
  #34  
Old 08-06-2014, 09:00 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tracker_Techie View Post
Is there a same mod like this but for Vbulleitn 3.8.x version instead of Vbulleitn 4??
Not from this developer, but this one should work for you, https://vborg.vbsupport.ru/showthread.php?t=130738
Reply With Quote
  #35  
Old 08-06-2014, 09:39 PM
Tracker_Techie Tracker_Techie is offline
 
Join Date: Jun 2014
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
Not from this developer, but this one should work for you, https://vborg.vbsupport.ru/showthread.php?t=130738
Thanks so much.
Reply With Quote
  #36  
Old 08-06-2014, 09:42 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not a problem, glad to help.
Reply With Quote
  #37  
Old 09-06-2014, 09:46 PM
Cadellin's Avatar
Cadellin Cadellin is offline
 
Join Date: Jan 2009
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the next version could we have the option to display a message at the end of the thread explaining it's closed because of X..
Reply With Quote
  #38  
Old 05-07-2015, 04:56 PM
Code Geass Code Geass is offline
 
Join Date: Jul 2011
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cadellin View Post
In the next version could we have the option to display a message at the end of the thread explaining it's closed because of X..
I agree with you

it will be better :up:
Reply With Quote
  #39  
Old 10-12-2015, 05:50 AM
moonstorm moonstorm is offline
 
Join Date: Apr 2015
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by catsma_97504 View Post
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:
PHP Code:
require(DIR '/dbtech/auto_close_threads/hooks/fetch_threadinfo_query.php'); 
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'] . "
      "
);

      
$thread['dbtech_act_lastpost'] = $tresult['dbtech_act_lastpost'];
  } 
Reply With Quote
  #40  
Old 04-24-2017, 07:56 AM
kevius kevius is offline
 
Join Date: Oct 2009
Location: France
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

with vb 4.2.4

This mod works only when i choose "Enable on all Forums" in Auto Close In Forums.

When i choose only a specific forums it does'nt work out.

Is it a bug ?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:12 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05700 seconds
  • Memory Usage 2,332KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete