Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-13-2008, 02:04 PM
Andy92 Andy92 is offline
 
Join Date: Jan 2008
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Whats the best way of doing this?

Hey,

I have a forum thats been running for around 3 months now. It has a few hundred members, and basically i want to delete all the threads and categories and start again with them, but keep all the members, pms, etc.

Whats the best way of going about deleting just the threads and categories and starting again from scratch?
Reply With Quote
  #2  
Old 05-13-2008, 03:31 PM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go to AdminCP->Forums and Moderators->Forum Manager->See in Controls column and click dropdown->Delete Forum.

Doing so Deletes the forum, any subforums, and posts in the forum and any subforums. This action cannot be undone, so it is highly recommended that you make a backup of your database before doing this.
Reply With Quote
  #3  
Old 05-13-2008, 05:02 PM
Andy92 Andy92 is offline
 
Join Date: Jan 2008
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, but after i do this and delete them all, when i go to create a new category will it start with the id as 1 again, or will it continue from like 70 something? And will the same happen with posts?
Reply With Quote
  #4  
Old 05-13-2008, 05:42 PM
CommanderFluffy CommanderFluffy is offline
 
Join Date: Nov 2006
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

why dont you just go to your admin and prune all posts before july 2007 so your members dont get confused and completely messed up as to why the posts that might be still active vanish. some may think you have been hacked!
Reply With Quote
  #5  
Old 05-13-2008, 05:52 PM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andy92 View Post
Ok, but after i do this and delete them all, when i go to create a new category will it start with the id as 1 again, or will it continue from like 70 something? And will the same happen with posts?
have never done this myself (and would never do)

Does ID's matter that much to you??

If yes, then do it in your test board first !!!!!! and see for yourself .. I think it would continue..
Reply With Quote
  #6  
Old 05-13-2008, 07:29 PM
Andy92 Andy92 is offline
 
Join Date: Jan 2008
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, what if i go into mysql and empty the table? Thats after its been emptied by vbulletin. Then the ids will start again.

Reply With Quote
  #7  
Old 05-13-2008, 07:39 PM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

have thought about it earlier... but do you know which tables and how many to empty..

--------------- Added [DATE]1210711389[/DATE] at [TIME]1210711389[/TIME] ---------------

its not a big task.. but I suggest you and recommend .. that you open a support ticket for this before starting to empty tables .. atleast you should be sureeee enough which tables to empty.

By the way.. if you successfully do this.. do not forget to post back, what you did !! this would help other users to know
Reply With Quote
  #8  
Old 05-14-2008, 03:32 AM
CommanderFluffy CommanderFluffy is offline
 
Join Date: Nov 2006
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well this is what i would sugest if you may take this line of action. delete the forum and start from scratch members and all.. cause thats what you are typically doing. well unless your website hasnt had an active member in months then just prune or delet all cause i highly doubt you can get back to id 1 again unless you reinstall
Reply With Quote
  #9  
Old 05-14-2008, 08:36 PM
Andy92 Andy92 is offline
 
Join Date: Jan 2008
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, what ive done is gone onto the admin cp and deleted all the forums with all the posts on, and also all the reputation.

Then to make sure just the reputation, posts and categories start from id 1 again, i have gone into PhpMyAdmin and basically emptied the threads, posts, forums and reputation tables.

Now they have all started from id 1 again, and everything is working!

Reply With Quote
Reply


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 04:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04398 seconds
  • Memory Usage 2,236KB
  • 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
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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