vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   post table and thread table question (https://vborg.vbsupport.ru/showthread.php?t=194357)

Rastus 10-23-2008 04:47 PM

post table and thread table question
 
As I have upgraded over time, first from phpbb to Vbulletin and then later versions of Vbulletin, I have noticed some posts from the early years are missing in my forum. I've looked in the DB and I can see all posts from post #1 in the post table. However the thread table begins with threadid 4307. Is there anyway to fix this so all post will show up, or what would be a way to fix this so I can have all the posts back in the forum? my current install of Vbulletin is 3.6.8.


one thought I had and was suggested to post here is
Quote:

"what about writing a query or to add those threadid's back into the DB? Would that fix it or crash the DB? I can setup my test site and try it, but if you know offhand it would save me the time and trouble of testing it."
any thoughts on this and or suggestions on how to write the proper query?

thanks
Kenny

Dismounted 10-24-2008 05:56 AM

Admin CP > Forums & Moderators > Forum Manager > Edit Forum > Thread Cut-Off Time > Beginning

Rastus 10-24-2008 02:55 PM

in 3.6.8 it shows "Default View Age (Default date cut-off for thread display)" and that is already set to "show all threads"

the post table and the thread table in the DB do not match, the post table starts at 1 and the thread table starts at 4307. I'm trying to add 1-4306 back to the thread table.

thanks
Kenny

Lynne 10-24-2008 03:56 PM

If someone deleted all those threads, then they are just gone. When you look at the posts table, are some of the posts associated with threadids that are less than 4307? I wonder if you can write a query to just put all the 'stranded' posts into some 'catchall' thread.

Rastus 10-24-2008 04:44 PM

the threads were not deleted. Well, I say there were not deleted, the threadid's are no longer there. I am trying to do a query to add the thread id's from 4306 down to 1 back. Don't know if I will be successful or not. I've got two pretty good Sql Admins I am waiting on to see if they can help me out, only time will tell. It's not a real major issue, but I would like to have those posts \ threads back on the forum. Lots of good stuff in there, plus the sentimental value. at least I still have the posts. :)

A catchall section is not really something I would want. good idea, tho.


All times are GMT. The time now is 08:00 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.01128 seconds
  • Memory Usage 1,718KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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