vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   (real) Archiv for vBulletin 3 (https://vborg.vbsupport.ru/showthread.php?t=66239)

scotty 06-16-2004 10:52 PM

(real) Archiv for vBulletin 3
 
I'm looking for an hack like that one from Xenon:
https://vborg.vbsupport.ru/showthrea...threadid=39104

why? I would like to have the achived threads/posts in another tables than the actual threads/posts for (search-) performance reasons.

there is no need for compressing the data - just move in another tables with no posting funktion inside.

any ideas?

THX,
sotty

scotty 06-21-2004 09:40 PM

*bump*

none? :(

colicab-d 06-21-2004 10:25 PM

why not modify one of the vbulletin files, i.e the admin .php that is used to move threads :) set up a new set of tables and mdify the .php to use them instead then you could maybe achieve it that way, soz for the crap reply but im no php expert.

scotty 07-20-2004 10:36 PM

Quote:

Originally Posted by colicab-d
why not modify one of the vbulletin files, i.e the admin .php that is used to move threads :)

that function will only "move" the threads from one forum to another; means, that the forumid in the db-row of that thread is changed.
but no moving of postings will take place... :(

i'll look into the vb2 code of Xenon the next few days, maybe i get an idea...

AN-net 07-20-2004 10:58 PM

so you want to be them to a completely different table after such a period of time?

Serge 07-21-2004 01:00 AM

hmm I might try if no one else is. Basically you want it so you can move threads to a completely different set of tables that are more or less stripped down versions of the thread and post tables vbulletin uses. Then a script like archive.php that displays the threads and lets you read them as well?

EDIT: Also reading though the thread a bit more do you want it to do this after a certain amount of time or do you want it to happen manually.

scotty 07-21-2004 09:37 AM

Quote:

Originally Posted by AN-net
so you want to be them to a completely different table

yepp!

different thread/post tables for perfomance reason...

scotty 07-21-2004 09:50 AM

Quote:

Originally Posted by Serge
hmm I might try if no one else is.

that would be great! :)

Quote:

Basically you want it so you can move threads to a completely different set of tables that are more or less stripped down versions of the thread and post tables vbulletin uses.
yes

Quote:

Then a script like archive.php that displays the threads and lets you read them as well?
correct.

the reason is the following: huge forums like mine get performance problems when searching the big post table.
my archive has about 2 million postings. i won't prune it, so look for a posibillity to "archive" it.

Quote:

EDIT: Also reading though the thread a bit more do you want it to do this after a certain amount of time or do you want it to happen manually.
i prefer the manual way: select a bunch of threads like in the "move threads" option in CP and the chosse "archive", with the option "keep original threads" or prune it.

the archive don't have to be compressed like in Xenons hack, because that would cost to much performance when moving.

thx in advance! :)

if you have questions...

scotty

Xenon 07-21-2004 02:15 PM

Quote:

Originally Posted by scotty
that function will only "move" the threads from one forum to another; means, that the forumid in the db-row of that thread is changed.
but no moving of postings will take place... :(

i'll look into the vb2 code of Xenon the next few days, maybe i get an idea...

Feel free to do so, but for vb3 it's not that easy anymore, regarding that damn threaded mode ;)

As for the compression thing: the compression doesn't cost that much performance, the more intesne thing is to remove the old thread from the DB, because the searchindex has to be updated, and that's the real intense thing...

scotty 08-06-2004 07:20 AM

Quote:

Originally Posted by Xenon
As for the compression thing: the compression doesn't cost that much performance, the more intesne thing is to remove the old thread from the DB, because the searchindex has to be updated, and that's the real intense thing...

that means: if you have the mysql4 fulltext search enabled, the transfer would be much faster?

threaded mode isn't such a big problem for me... it's disabled in my forum, cause of the (normal) size of my threads... there are too big.

scotty


All times are GMT. The time now is 02:36 PM.

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.01158 seconds
  • Memory Usage 1,738KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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