Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-05-2008, 11:59 AM
cragtay cragtay is offline
 
Join Date: Jul 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Problem with new database

My forum has been online for 1 year. In that period, I installed some mods, hacks, plugins, etc. and edited the style (not default style of vbulletin, and I can't remember all changed things).

Now I want to change to another style and don't want to use some mods any more. In general, I want to make a new, fresh forum but keep the users, forums, threads and posts which have been in my current forum.

I can uninstall some mods which I don't want, and install a new style to current forum. However, it is like when you uninstall a software from Windows: the uninstall process is not completely remove all things. There will have some files, settings, etc. left in the OS.

I think that I will install VBB again, install a new style and import some necessary tables of the current database to the new database, and I will have a new interface for the forum while keeping users, forums, threads and posts. Is it possible? If yes, what are the necessary tables?

I need your help.
Reply With Quote
  #2  
Old 08-05-2008, 12:02 PM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can use ImpEx to perform vBulletin to vBulletin imports.
Reply With Quote
  #3  
Old 08-06-2008, 07:14 AM
cragtay cragtay is offline
 
Join Date: Jul 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for your suggestion. Actually, it is really excellent tool. It can solve my problem. And I have lost one day with it to transfer "clear" data from the current database to new database. The problem is that my forum has over 320.000 threads and 1.4 million posts (the size of my .sql file is 2.5 GB). When I used the import script, it made my server high load and the import process was interrupted several times (some Internal Error messages appeared). When I clicked to Import link again, it resumed the process, but when it finished, there were some failed cases. Importing posts and threads took the most time. I’d not like to wait for one day more with carefully supervision every minute and click Import again whenever the script dies. I have shell access to the server, and I think that PHP script is not a good choice for large database. Is there any way of using shell instead of PHP script?
Reply With Quote
  #4  
Old 08-06-2008, 07:26 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

See the manual on Medium / Large imports
Reply With Quote
  #5  
Old 08-06-2008, 10:56 AM
cragtay cragtay is offline
 
Join Date: Jul 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edited. I will update here when I finish the import following the manual.
Reply With Quote
  #6  
Old 08-08-2008, 01:59 PM
cragtay cragtay is offline
 
Join Date: Jul 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh my god, it is a terrible nightmare

I increased the settings about memory in php.ini and my.cnf and I reduce the number of import items per cycle. At last, I finished all the modules successfully after 20 hours, even though there are some crashes. When I log in to AdminCP to do some Final Import Steps as said in the manual, I can't access
Admin CP -> Forums & Moderators -> Show All Moderators -> Edit
and
Admin CP -> Forums & Moderators -> Forum Permissions

I click to Forum manager and see only 2 default ones: Main Category and Main Forum.

And the nightmare happens when I go to my current forum, and there is some errors. Some posts and threads are displayed normally, and some ones disappeared. What's happened? What's wrong? How to fix it?

Please help me
Reply With Quote
  #7  
Old 08-08-2008, 03:21 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are not supposed to click on the Forum Manager.
Reply With Quote
  #8  
Old 08-08-2008, 03:24 PM
cragtay cragtay is offline
 
Join Date: Jul 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Permissions

Always check the permissions of moderators and forums after an import as there may not be a one to one mapping from the source boards permissions to vBulletin's permissions system.

Admin CP -> Forums & Moderators -> Show All Moderators -> Edit

Admin CP -> Forums & Moderators -> Forum Permissions

Forum cache

To rebuild the forum cache so your imported forums appear, go to your forum manager and save the display.
After the first 2 steps, Forum manager is the third step.
Reply With Quote
  #9  
Old 08-08-2008, 03:32 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry you are already a step further then i thought. And what happens after you click on save in the Forum Manager?
Reply With Quote
  #10  
Old 08-08-2008, 03:40 PM
cragtay cragtay is offline
 
Join Date: Jul 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nothing happens. It is same. Main Forum and Main Category.

The usergroup system is also strange. All usergroups from the old database have the prefix ImpEx - at the beginning after import.
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:54 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.03982 seconds
  • Memory Usage 2,252KB
  • 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
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete