vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Reset showthread.php?t=X & forumdisplay.php?f=X (https://vborg.vbsupport.ru/showthread.php?t=307573)

greenlinenshirt 01-27-2014 04:21 PM

Reset showthread.php?t=X & forumdisplay.php?f=X
 
Is it possible to delete all forums/threads/posts and somehow reset the numbering of those options? This would be on a bored never open to the public.

I am a bit OCD when it comes to numbering and I don't know what my final category/forums are going to be, and when I get the final down, I'd like to delete all of my current ones and have them start at 1 again.

How hard is this, and how would someone go about doing it?

vBNinja 01-27-2014 04:34 PM

Just truncate the forum/thread/post database tables
I wouldn't recommend this though so do it at ur own risk

Lynne 01-27-2014 05:59 PM

Why not just reinstall the site and then you won't have any posts/threads/forums/users.

greenlinenshirt 01-27-2014 06:17 PM

It would delete all of the modifcations/template changes/ and anything else set up.

Lynne 01-27-2014 06:56 PM

Well then, go to the Forum Manager page and delete the forums. I think it will delete the threads in the forums too. Your server may not like this if you have a large amount of posts in the forums, so you may need to delete all the threads via Threads > Prune first. After that is all done, you could edit the tables (forum, thread, post) via phpMyAdmin to set the auto_increment back to 1. I would definitely do this on a test database first!!!! And make sure you have a backup database before you try anything.


All times are GMT. The time now is 07:01 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.01176 seconds
  • Memory Usage 1,708KB
  • 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
  • (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