vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Administrative and Maintenance Tools - Automatically Close Old Threads After X Days (https://vborg.vbsupport.ru/showthread.php?t=130738)

echamberlain 11-03-2006 10:00 PM

Automatically Close Old Threads After X Days
 
1 Attachment(s)
This product will automatically close threads. Administrators have the option of setting the number of days until a thread closes, including or excluding sticky threads, and including or excluding forums by ID.

Threads can be closed X days after the thread was created or X days after the last post.

See this product in action on the Voxilla Forums.

Installation

Close Old Threads installs from a single XML file, no other file uploads are necessary.

The installation process automatically creates a php file in the cron folder, therefor the cron folder must be writeable by vBulletin.

You may need to chmod the includes/cron folder to 777 before installation and back (note your settings) after installation is complete.

The installer then creates a daily cron job.

Close Old Threads is inactive upon installation and must be configured and enabled from the vBulletin Options menu. See the attached screen shot for a sample.


Update

1.1 Administrators can now select all forums, or a subset of forums for inclusion or exclusion. The previous version only had options for all forums and an exclusion list.

CompuJonathan 11-04-2006 06:26 AM

When trying to install, all I get is:

Error opening file to writing

Also, will this work with 3.6.1?

CompuJonathan 11-04-2006 06:32 AM

I was able to fix the error by CHMOD includes/cron/ to 777 - I am testing it with 3.6.1 now. :)

redstaing.net 11-04-2006 06:35 AM

hi i have installa it but ican not found it under my admincp ?

CompuJonathan 11-04-2006 06:35 AM

*Update: Seems to be working fine with 3.6.1

Thanks!

redstaing.net 11-04-2006 06:42 AM

i have installa it and change many style in the my vb helleo man

echamberlain 11-04-2006 07:15 AM

It should work on 3.6.1. I'm using 3.6.2, so I didn't want to make any claims without knowing it would work.

Nobi 11-04-2006 08:06 AM

can we let it work only for certain forums ?

EasyTarget 11-04-2006 09:38 AM

/me installs

TheComputerGuy 11-04-2006 02:02 PM

Nobi...awesome idea!

I like this in general too!

radarhunter 11-04-2006 02:02 PM

can u please add sumthing else to it

like posts in a particular section being closed

not every section`s posts

echamberlain 11-04-2006 03:03 PM

What do you mean by section?

If you want to limit Close Old Threads to a subset of forums, enter the forum ID's to exclude in the control panel settings page.

radarhunter 11-04-2006 03:05 PM

i mean for people who have around 20 sections and in one section around 2-4 sub-sections
for them it`s hard to exclude everything

lazyseller 11-04-2006 03:58 PM

if u have 100 forums and u only want to close 1. You have to input 9 forumid's

radarhunter 11-04-2006 04:07 PM

1 Attachment(s)
heh heh not 9 , 99

so it`s kindda though can`t we have sumthin` like in choosing wtever we want and whatever we don`t want to close that

i have attached a pic of what i mean .........

echamberlain 11-04-2006 04:23 PM

Good point.

I've got some other work to do today, but if I get some time tonight or tomorrow, I will modify the hack to: include the listed forum IDs, exclude the listed forum IDs, or All forums.

radarhunter 11-04-2006 04:26 PM

thanks in advance

nasser71 11-05-2006 05:18 AM

gr8 jop m8
thanks alot

echamberlain 11-05-2006 05:29 AM

I released version 1.1 with support for including a subset of forums.

PIKenPIK 11-05-2006 08:30 PM

Quote:

Originally Posted by echamberlain
I released version 1.1 with support for including a subset of forums.

TY .. was really waiting for this one ..

but with importing from my C-drive i get in 3.6.2 the message

Quote:

Error opening file to writing

echamberlain 11-05-2006 08:49 PM

vBulletin needs to be able to write the close_old_threads.php file to the includes/cron directory.

ymy 11-05-2006 10:39 PM

if I change cron permission directory.

There is any problem with Vb secure?

thanks

transitbus 11-06-2006 02:29 AM

This is a great mod.

I would suggest to include in the documentation the need to chmod the cron folder to 777 before installation and back (755) after. This will avoid confusion.

I would also like to suggest a listing like what radarhunter suggested. Certain CMPS modules have this for example. You have a list of forums and can ctrl click to select multiple ones. Would make it a lot easier than having to find forum id's.

ymy 11-06-2006 10:35 AM

Quote:

Originally Posted by transitbus
This is a great mod.

I would suggest to include in the documentation the need to chmod the cron folder to 777 before installation and back (755) after. This will avoid confusion.

Thanks transitbus :knockedout:

Greek Wizard 11-06-2006 10:39 AM

Strange not to see this as a feature already built into vB.

The RSS function allows for those posts to be locked after a time set by an Admin so i can't understand why it was not expanded to regular posts.

I will try this out later I guess.

thanks.

radarhunter 11-06-2006 12:42 PM

thanks a lot man

Capper5016 11-10-2006 07:49 AM

Working on 3.6.3

aquariumpros 11-14-2006 02:49 AM

Installed and working great on security patched 3.6.2

Thanks - really needed this!! :)

redstaing.net 11-15-2006 08:56 PM

working with 3.6.3.
????????????????????????????

eclectica 11-16-2006 07:40 AM

Maybe you should add a feature where people can reopen those closed threads in case the admin changes his/her mind about the settings.

echamberlain 11-22-2006 04:44 AM

Close Theads works with 3.6.3.

@eclectica - Since Close Threads doesn't track what threads it cloeses, it would be significant work to add that capability. I either use the vBulletin thread management tools or update the database records directly to bulk unclose threads.

misticjeff 11-22-2006 04:40 PM

Hi,

Great work...

I need to be able to close a thread after the first post is made. Can this be implemented into this mod easily or is there another mod out there that will do what I need??

Thanks

Jeff

Cheertobi 11-23-2006 10:12 AM

Hi,

is there a way that threads are not closed, but deleted in some forums?!

Regards,

Tobi

EdQ 11-23-2006 04:45 PM

Is there a way to make the thread close by the amount of posts instead of time?

misticjeff 11-26-2006 10:38 AM

bumpity, bump... sorry mods/admins but need an answer on this one

projectego 11-27-2006 02:28 PM

[high]* projectego clicks install ;)[/high]

echamberlain 11-27-2006 05:41 PM

This mod will not delete posts or close after so many posts.

Closing threads after x posts, would take significant changes to the operation and flow of this mod.

I also have a need for a mod to delete threads after so many days and will probably write a new mod, if I can't find one.

EdQ 11-27-2006 06:02 PM

Quote:

Originally Posted by echamberlain (Post 1126548)
This mod will not delete posts or close after so many posts.

Closing threads after x posts, would take significant changes to the operation and flow of this mod.

I would be interested in one. Some threads grow faster than others. Thanks.

marsauae.com 12-07-2006 01:07 PM

its not working on 3.6.4

Quote:

Importing Product, Please Wait...

[:::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::::::::]

Error opening

Cocko 12-13-2006 12:57 PM

after users replied to years old threads while thinking its actual

hack installed (vb 3.6.4).
running. thanx a lot!


All times are GMT. The time now is 04:08 AM.

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.01298 seconds
  • Memory Usage 1,791KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete