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)

funkmeister 01-21-2005 07:40 PM

How hard would it be to amend the script to move the messages from a live forum inside a sub-category to an archived forum within a designated "Archives" category?

For example:

LIVE CATEGORY
All The Latest (sub-category)
|---> News (forum)

ARCHIVES CATEGORY
---> News (archived forum)

What I'm trying to achieve is not to place "all" messages from all forums into a single forum....rather....place messages from a single forum into a designated archived forum of the same name but within a category called "Archives".

Hope that makes sense!?!?

Thanks.

trafix 01-21-2005 07:43 PM

Quote:

Originally Posted by funkmeister
How hard would it be to amend the script to move the messages from a live forum inside a sub-category to an archived sub-forum within a designated "Archive" category.

For example:
LIVE CATEGORY
Forum A (sub-category)
|---> News (forum)

ARCHIVES CATEGORY
---> News (archived sub-forum)

Hope that makes sense!?!?

Thanks.

should be quite easy

funkmeister 01-21-2005 07:51 PM

So it's something you would consider to incorporate into this hack or something I would need to request of you off the forum?

trafix 01-21-2005 08:12 PM

i have added the script for this to the first post :)

funkmeister 01-21-2005 11:07 PM

Many thanks trafix - excellent work, thank you.

Just to push the envelope a little further ;) How might I be able to include a start & end time? In other words, let's say I wanted to move all messages from a specific year, so for example....January 1st, 2002 to December 31st, 2002....into an archive sub-forum called 2002 Archives?

That way, at the end of each year, I'd be able to archive it's messages and start over from scratch with a 'clean' set of live forums for the new year.

Just an idea. Thanks.

trafix 01-21-2005 11:34 PM

ill look at it for you ... again it should be easy

The Realist 01-22-2005 09:49 AM

What about a script that follows on from your close posts after 30 days. I need one that automatically moved these closed threads/posts to a section called cemetary IE posts/threads that are no longer active.

Laters

trafix 01-22-2005 10:00 AM

yep run the cron scripts back to back :) ... the otherone closes the thread then this one come in and moves them :)

funkmeister 01-22-2005 07:21 PM

Quote:

Originally Posted by trafix
ill look at it for you ... again it should be easy

Many thanks, look forward to it.

The Realist 01-22-2005 10:01 PM

Ahhhh nice one :)

Quote:

Originally Posted by trafix
yep run the cron scripts back to back :) ... the otherone closes the thread then this one come in and moves them :)



All times are GMT. The time now is 12:00 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.01030 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)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