vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - [DBTech] Threads Auto Close v1 (vB4) (https://vborg.vbsupport.ru/showthread.php?t=293488)

DragonByte Tech 12-31-2012 11:00 PM

[DBTech] Threads Auto Close v1 (vB4)
 
1 Attachment(s)
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 https://vborg.vbsupport.ru/external/2015/08/1.png button to the right ---->

Please remember to click the, https://vborg.vbsupport.ru/external/2015/08/2.png 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

kapii 01-06-2013 12:25 PM

This is working like a charm, thanks for sharing.

dwx 01-07-2013 12:59 PM

Any chance you could add an option for closing the thread after X days of inactivity?

Having an fixed number of days doesn't really solve our thread bumping problem, since it could close off active threads that are in use...

-dw

DefiantComplex 01-12-2013 12:42 PM

Hey if you could add a sorta "bump down" feature to this i may consider buying it.

For example if a thread has so many - likes it closes.

RedTurtle 01-12-2013 10:16 PM

Quote:

Originally Posted by dwx (Post 2395263)
Any chance you could add an option for closing the thread after X days of inactivity?

Having an fixed number of days doesn't really solve our thread bumping problem, since it could close off active threads that are in use...

-dw

Would love this feature as well.

irishblacknight 01-15-2013 12:07 PM

Quote:

Originally Posted by dwx (Post 2395263)
Any chance you could add an option for closing the thread after X days of inactivity?

Having an fixed number of days doesn't really solve our thread bumping problem, since it could close off active threads that are in use...

-dw

+1

There was a mod that did this, but I'm having issues finding it at the moment

DragonByte Tech 01-19-2013 11:13 AM

Quote:

Originally Posted by dwx (Post 2395263)
Any chance you could add an option for closing the thread after X days of inactivity?

Having an fixed number of days doesn't really solve our thread bumping problem, since it could close off active threads that are in use...

-dw

Quote:

Originally Posted by RedTurtle (Post 2396525)
Would love this feature as well.

Quote:

Originally Posted by irishblacknight (Post 2397025)
+1

There was a mod that did this, but I'm having issues finding it at the moment

Sorry about the delay in responding, I did not get ant notification about new posts being made. The mod already does that, it auto closes the thread after X days of the last post, not the first post. Looking at the way I wrote the description I see it is confusing and will re word that shortly.

Quote:

Originally Posted by DefiantComplex (Post 2396432)
Hey if you could add a sorta "bump down" feature to this i may consider buying it.

For example if a thread has so many - likes it closes.

I assume you mean likes as in from the Advanced Post Thanks / Like mod we have?

Chris

Big-Pete 01-30-2013 01:13 PM

Any chance you could add an option to delete threads after x days in certain forums aswell, or move them to another forum? this would be ideal for us to set up a classified forum.. :D

DragonByte Tech 01-30-2013 08:27 PM

It may be possible, but kinda goes beyond the scope of the mod, I will look into it when the mod undergoes future feature updates though.

Chris

Snowhog 03-17-2013 09:18 PM

Downloaded and 'tagged'. This could be a very useful addition to our forum. I've asked our other administrators to comment (on our forum) on this MOD. If the consensus is 'yes', I'll install it. Great MOD regardless. Thank you for your work.

Snowhog

DragonByte Tech 04-02-2013 12:29 AM

Updated to v1.0.1

Feature: Added DBTech Affiliate ID support.

Chris

TheSupportForum 04-22-2013 09:59 AM

Hi Developer

i see that this mod is the same thing as of https://vborg.vbsupport.ru/showthread.php?t=255589

apart from the additional updates you have used to make it your own whats the differents between yours and his

DragonByte Tech 04-22-2013 11:00 AM

I did not even know that one was around when I wrote this one. I have not tried it so I don't know what the exact differences are but this one is supported, where that one is not.

Chris

TheSupportForum 04-22-2013 01:52 PM

Quote:

Originally Posted by DragonByte Tech (Post 2417832)
I did not even know that one was around when I wrote this one. I have not tried it so I don't know what the exact differences are but this one is supported, where that one is not.

Chris


i love the idea of this mod, its a little confusing to me, i will have to test this out as i only need tis feature for 1 forum section

DragonByte Tech 04-22-2013 07:31 PM

It does come in handy for some things, if you have any questions lust let me know.

Chris

quachvu 04-24-2013 11:30 PM

hi, im using 4.2.1 and this mod works only when i choose "Enable on all Forums" in Auto Close In Forums. When i choose only a specific forums it doenst work out.

I choose None in Don't Auto Close In Forums

By the way, it works only with "Close Thread After X Days" and doesnt work with "Auto Close After X Replies"

Thangvip9x 05-25-2013 04:40 AM

Quote:

Originally Posted by quachvu (Post 2418376)
hi, im using 4.2.1 and this mod works only when i choose "Enable on all Forums" in Auto Close In Forums. When i choose only a specific forums it doenst work out.

I choose None in Don't Auto Close In Forums

By the way, it works only with "Close Thread After X Days" and doesnt work with "Auto Close After X Replies"

Please wait fix
I not use this mod

Gripi 05-27-2013 04:15 AM

Hello...

Is it possible to add the "Option to close thread after X days" based on the 1st post time, not the last post time?

Really need this.. thanks alot.

DragonByte Tech 05-27-2013 09:20 AM

Not at this time, but it is something that can be look into for future versions.

Chris

albibak 06-02-2013 08:58 AM

Hello,

I search a mod to auto close thread after X days for a specifical prefixe.
Is it possible to add this option in this mod?

ozzy47 06-02-2013 09:13 AM

removed.

DragonByte Tech 06-02-2013 09:14 AM

Quote:

Originally Posted by albibak (Post 2425329)
Hello,

I search a mod to auto close thread after X days for a specifical prefixe.
Is it possible to add this option in this mod?

It will be taken into consideration for future versions.

Chris

albibak 06-02-2013 09:15 AM

Any idea about the date of this future version? (more or less)

DragonByte Tech 06-02-2013 09:26 AM

No, unfortunately we don't give our times, due to the fact that it can change to much.

Chris

OrlyHason 07-12-2013 09:20 PM

can you do it like this : set time for each thread to auto close

Pocket Aces 10-07-2013 09:13 AM

Is this mod able to set desired number of replies to trigger auto-close per forum?
I mean, can we set different numbers of reply per forum? Let's say forum1 will auto close after 5000 replies and forum2 will auto close after 50 replies. A setting like that maybe in the ACP > Forum Manager > Edit Forum

ozzy47 10-07-2013 09:24 AM

No there is no such setting in the mod to do that.

Unfolded90 11-29-2013 06:08 AM

The auto close feature isn't working.
I have it set to auto close forums after 60 replies in all forums, However nothing happens

DragonByte Tech 12-04-2013 01:25 PM

Can you please show me a screenshot of your configuration & a screenshot of the thread list showing some threads that should be closed, so I can try to replicate it locally?

Also, have you tried disabling all other mods in case there's a conflict?

Fillip

catsma_97504 02-06-2014 06:09 AM

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&showp osts=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.

iraqiboy90 07-01-2014 05:33 PM

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

Tracker_Techie 08-06-2014 08:51 PM

Is there a same mod like this but for Vbulleitn 3.8.x version instead of Vbulleitn 4??

ozzy47 08-06-2014 09:00 PM

Quote:

Originally Posted by Tracker_Techie (Post 2510075)
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

Tracker_Techie 08-06-2014 09:39 PM

Quote:

Originally Posted by ozzy47 (Post 2510076)
Not from this developer, but this one should work for you, https://vborg.vbsupport.ru/showthread.php?t=130738

Thanks so much. :)

ozzy47 08-06-2014 09:42 PM

Not a problem, glad to help. :)

Cadellin 09-06-2014 09:46 PM

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

Code Geass 05-07-2015 04:56 PM

Quote:

Originally Posted by Cadellin (Post 2513986)
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:

moonstorm 10-12-2015 05:50 AM

Quote:

Originally Posted by catsma_97504 (Post 2479303)
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'];
  } 


kevius 04-24-2017 07:56 AM

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 ?


All times are GMT. The time now is 05:50 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01410 seconds
  • Memory Usage 1,838KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (39)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete