vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Auto move threads to archive forum after x days (https://vborg.vbsupport.ru/showthread.php?t=74772)

trafix 01-20-2005 10:00 PM

Auto move threads to archive forum after x days
 
Requested by Floris

This is another simple script based on the Close thread after 30 days .... BUT ...

This one will auto move all threads to an archive forum where the last post is 365 days or older

There is 2 variables for you to edit
1)
Defult is set to "1"
$newforum = the forum number that these threads are to be moved to

2)
Defult is set to 365
this means that threads that havnt been replied to in the last 365 days will be moved to the nominated archive forum
you can change 365 to whatever days you like :)

Trafix

Please click Install

Update
Found an error in the code please download new zip and replace the file on your forum

Added file ...

This file will move threads from a specific forum to another spacific forum, edit as instructed :)

trafix 01-21-2005 07:12 AM

Update

Found an error in the code please download new zip and replace the file on your forum

Floris 01-21-2005 07:15 AM

Way cool!
I asked you less then a few hours ago to give me a birthday present hack. And here it is, exactly what I asked. As always - very pleased with your professional services trafix.

TCattitude 01-21-2005 09:21 AM

This likes me a lot more than the close after X days.

** Install

Thanks trafix ;)

cinq 01-21-2005 09:25 AM

Nice one, sure could use this !

Possible to also do one "Auto Close thread after 100 posts and create a new one with the same title" ( but append a part X to it where X is 2 if the new post created has been branched once, 3 if branched twice and so on .. ) and with the first post of this new thread to have the content : " In continuation of this previous thread here: XX )" where XX is the link to the previous closed thread ?

Have always been meaning to try something like this for my forums but never got round to doing it.

Hope you can release something like this, since you seem to be on a roll with these cron jobs trafix :D

trafix 01-21-2005 09:41 AM

yep ok ill try to do it for you :)

just call me the King of Cron ;)

trafix 01-21-2005 10:09 AM

Quote:

Originally Posted by cinq
Nice one, sure could use this !

Possible to also do one "Auto Close thread after 100 posts and create a new one with the same title" ( but append a part X to it where X is 2 if the new post created has been branched once, 3 if branched twice and so on .. ) and with the first post of this new thread to have the content : " In continuation of this previous thread here: XX )" where XX is the link to the previous closed thread ?

Have always been meaning to try something like this for my forums but never got round to doing it.

Hope you can release something like this, since you seem to be on a roll with these cron jobs trafix :D

ive had a think about it ... and ive worked out how to code it ... i will start on it in the morming :)

cinq 01-21-2005 10:10 AM

Fantastic ;)

trafix 01-21-2005 10:33 AM

Quote:

Originally Posted by TCattitude
This likes me a lot more than the close after X days.

** Install

Thanks trafix ;)

Im glad it like you ;)

trafix 01-21-2005 06:41 PM

Quote:

Originally Posted by floris
Way cool!
I asked you less then a few hours ago to give me a birthday present hack. And here it is, exactly what I asked. As always - very pleased with your professional services trafix.

after i went to bed i started thinking about this one ...... careful where you archives are and who has access to it ..... remember that it will move ALL threads to the archive forum .... even from you pvt forums ... eg your mod or admin forums.

The hint here is to keep them bumped before the move time has expired


All times are GMT. The time now is 01:57 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.01027 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)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
  • (10)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