vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   REQ: Prune Theads to Archive Database and Read Only vB for these old archive threads (https://vborg.vbsupport.ru/showthread.php?t=107063)

Quarterbore 02-03-2006 01:47 PM

REQ: Prune Theads to Archive Database and Read Only vB for these old archive threads
 
I am looking for advise on this project and offering to help to work on this project with anybody else that is willing and able to work on this major hack for vB!

What I would like to build a true ARCHIVE database for older threads that need to be pruned from the database. Following is my basic idea of how this might be done:

After a thread in a public forum (Special permissions forums would likely be too complicated initially) has hit a set prune age (we could set an "archive age" in the forum settings), I would like the standard vB forum software to take a thread (Thread Info, Posts in thread, Post Number, User ID, Forum Info, etc, etc.) and move the thread into an archive database.

Some basic assumptions are likely needed:
  • Member IDs in the archive will need to be the same as the active forum
  • Forum Numbers will need to be constant (renaming a forum will cause problems with search)
  • Archive database will need to be able to have new members and forums added based on the current database. Deleted forums or users must remain in the archive!

As for attachments, My personal oppinion is that attachments could be very difficult to archive (size as well as practicality issues) so for an initial product I could live without attachments being archived but it would be smart to consider that addition in the future.

Once the thread(s) have been moved to the archive database (the second database) I would then like the original thread to be removed from the forums.

Now, to use the archive, permssions would only be needed based on if the group has access to the archive search script. The archive would be strictly READ ONLY so it might involve the removing of some of the buttons in scripts like "showthread" as the "Post Reply" would not be needed.

So, this is my dream but it is a project I can not do by myself due to time issues... If this already exists, I would love more information as I would be willing to pay for a super modification that could accomplish this!

Marco van Herwaarden 02-03-2006 07:24 PM

And what would be the function of this?

Reduce database siye at the cost of thread not being searchable anymore? Doubt many want to use that.

Quarterbore 02-04-2006 04:52 PM

Actually, I thought that if a member didn't like the search results in the "current database" that they could go to the archive database and search that for older posts.

The forum I want this for is more if an information resource website so my posts could be something that a person might want to be able to search back into the past.

Am I really out in left field with thinking this would be a great addition?

Also, with the lite version it might also be possible to export the archives to a CD format (access database perhaps) so that a "year in review" could be published of the public threads. Yea, that would require some extensive work as well but once you get the public only threads the rest of the export and manipulation of the data should be possible.


All times are GMT. The time now is 10:11 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.00921 seconds
  • Memory Usage 1,716KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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