Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Threads Auto Close (by Usergroup) Details »
Threads Auto Close (by Usergroup)
Mod Version: 0.4, by aileron79 (Member) aileron79 is offline
Developer Last Online: Apr 2014 I like it Show Printable Version Email this Page

vB Version: 4.1.0 Rating: (5 votes - 4.80 average) Installs: 48
Released: 20 Dec 2010 Last Update: 22 Dec 2010 Downloads: 284
Not Supported Uses Plugins Re-usable Code Translations  

Hi everybody,

User Vitaly allowed me to modify his Threads Auto Close Add-on. I found it quite useful as new members to our forums quite often dig up very old threads. With Vitaly's add-on, threads appeared as closed to all users after a certain period of time. With this modified version it further is possible to set user groups to which threads appear as closed. Further, it is possible to apply this mod to certain forums (by providing forum IDs).

NEW: Auto close threads when reaching a certain amount of posts
This feature was requested below, so now threads appear as closed either if they are older than X days or if there are more than Y replies.

When installing this mod please consider the following facts:
- Threads are not closed automatically, they appear as if they were closed. Thus, when deactivating or uninstalling this mod, threads are open again.
- This is my first mod. I am just getting familiar with vB4's plugin system. I am a PHP developer but I've never been coding anything for vb. This seemed to be an easy mod to start with, like my personal Hello World vB mod.
- I have tested this mod successfully with vb4.1.0 PL2. I guess it works with v4.0.* as well but I have not verified that.
- I am not (yet) really into this vB4 hacking stuff. I have taken some piece of code from the community, I have modified it according to my needs, now I am giving my modifications back to the community hoping that somebody may find it useful. Therefore, please do not ask me to support this code. If you have any questions, feel free to post them here but please make sure you have checked the original thread as well, you may find an answer there.
- If I did anything wrong, please be assured I did not do it on purpose. As mentioned before, this is my first vb mod ever. However, you are welcome to provide feedback or to suggest how to improve this add-on.

Hope you find this as useful as I do, thanks again to Vitaly for the original code.

Make sure to download the 0.5 version as this is the latest one!

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
New Posting Features Threads Auto Close Vitaly vBulletin 4.x Add-ons 53 07 Mar 2017 06:48
Expired Threads (Auto Close Threads) Logikos Modification Graveyard 78 20 May 2006 09:53

Comments
  #2  
Old 20 Dec 2010, 22:52
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Thanks.. I have great use for this
Reply With Quote
  #3  
Old 21 Dec 2010, 13:13
dontpanic dontpanic is offline
 
Join Date: Jun 2003
Thumbs up

Excellent, installed!
Reply With Quote
  #4  
Old 21 Dec 2010, 16:13
dracon00 dracon00 is offline
 
Join Date: Jul 2009
Can you make a option to close thread after a certain amount of post?
Reply With Quote
  #5  
Old 21 Dec 2010, 16:57
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Originally Posted by dracon00 View Post
Can you make a option to close thread after a certain amount of post?
and to make it work per Forum ID?
Good mod thanks
Rated and tagged
Reply With Quote
  #6  
Old 21 Dec 2010, 18:02
aileron79 aileron79 is offline
 
Join Date: Apr 2009
Originally Posted by El Intocable View Post
and to make it work per Forum ID?
That is already possible, that was also possible in Vitaly's original mod. Added that to the description.
Reply With Quote
  #7  
Old 21 Dec 2010, 18:05
aileron79 aileron79 is offline
 
Join Date: Apr 2009
Originally Posted by dracon00 View Post
Can you make a option to close thread after a certain amount of post?
Would be a good exercise... I'll try, but no promises
Reply With Quote
  #8  
Old 22 Dec 2010, 11:08
aileron79 aileron79 is offline
 
Join Date: Apr 2009
Now close threads when reaching maximum post count

As requested, Threads may now automatically be closed when reaching a certain amount of replies. (Note that it is the replies, this excludes the first post in a thread.) This means that threads now appear as closed if one of the following conditions - or both - occur:

- thread has reached the maximum amount of replies
- thread is older than X days

additionally, this behavior may be restricted to certain user groups and/or particular forums.

(Personally, I have no idea why one would only allow a certain amount of posts but as mentioned before, this was requested and it was quite an easy but good exercise)

Hope you like it though. Be sure do download V 0.5 which is the new one. Feedback is appreciated
Reply With Quote
  #9  
Old 22 Dec 2010, 18:10
dracon00 dracon00 is offline
 
Join Date: Jul 2009
Thanks !!!!

installed and nominated
Reply With Quote
  #10  
Old 22 Dec 2010, 21:49
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Originally Posted by aileron79 View Post
That is already possible, that was also possible in Vitaly's original mod. Added that to the description.
Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Reply With Quote
  #11  
Old 28 Feb 2011, 14:41
Janmaat Janmaat is offline
 
Join Date: Mar 2008
Will it work with 4.1.2?


==> Answer: Yes!

Last edited by Janmaat; 28 Feb 2011 at 19:08.
Reply With Quote
  #12  
Old 22 Mar 2011, 00:02
DaninMS DaninMS is offline
 
Join Date: May 2008
Thanks!
Reply With Quote
  #13  
Old 14 Apr 2011, 17:30
Sforums Sforums is offline
 
Join Date: Dec 2010
There is a conflict with "BBR - Welcome Thread Upon Registration".
I've setup automatic welcoming for new members but also decided to close those threads after 90 days with this hack. Now, welcoming feature no longer works. Had to uninstall this.

Using 4.1.0 PL2
Reply With Quote
  #14  
Old 28 May 2011, 15:13
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
I installed this and selected a forum to close the threads, but it still allows posts to be made in the thread.
v4.1.3
Reply With Quote
  #15  
Old 09 Mar 2012, 15:20
talkgraphics talkgraphics is offline
 
Join Date: Nov 2008
Does anyone have this working with newer versions of VB?
We're on 4.1.10 - will this work with that version? Thx.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 01:31.

Layout Options | Width: Wide Color: