Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 10-23-2008, 04:47 PM
Rastus Rastus is offline
 
Join Date: Jun 2004
Location: San Antonio, Texas
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 10-24-2008, 05:56 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Admin CP > Forums & Moderators > Forum Manager > Edit Forum > Thread Cut-Off Time > Beginning
Reply With Quote
  #3  
Old 10-24-2008, 02:55 PM
Rastus Rastus is offline
 
Join Date: Jun 2004
Location: San Antonio, Texas
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 10-24-2008, 03:56 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 10-24-2008, 04:44 PM
Rastus Rastus is offline
 
Join Date: Jun 2004
Location: San Antonio, Texas
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:59 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.03539 seconds
  • Memory Usage 2,188KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete