Go Back   vb.org Archive > vBulletin Article Depository > Read An Article > vBulletin 4 Articles
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Downgrade From vBulletin 4.x To vBulletin 3.x
VBIran
Join Date: Nov 2010
Posts: 91

 

Iran
Show Printable Version Email this Page Subscription
VBIran VBIran is offline 12-11-2010, 10:00 PM

Hi ,
One of the topics that most of webmasters talking about that is : How to downgrade from vBulletin 4.x.x to vBulletin 3.7 or 3.8 .
You can downgrade your vbulletin from 4.x to 3.x very very easy ! Without losing attachments , thanks , passwords .
You need IMPEX ( One of the vBulletin scripts like an addon ) to Do this work .
How to do this :
First of all you must get a backup ( export ) from attach and post_thanks table from your phpmyadmin ( in .sql format )
1. Get full backup from your vbulletin 4.x database .
2. Go to members.vbulletin.com and download IMPEX Script .
3. Make a new database and a new place for your new vbulletin ( 3.8) .
4. Install vbulletin 3.x ( 3.8.7 for example ) for your new database .
5. Extract the impex script and upload impex files ( in upload folder ) to your 3.8 forum root .
Now you have 2 databases . We call 4.x database old and 3.x database new .
6. You must config impex .
7. Go to impex folder in 3.x forum and rename ImpExConfig.php.new to ImpExConfig.php
After rename , Open and edit it :
Code:
####
#
# TARGET - The target is the vBulletin database (where the  data is going to)
#
####

$impexconfig['target']['server']		= 'localhost';
$impexconfig['target']['user']			= 'username';
$impexconfig['target']['password']		= 'password';
$impexconfig['target']['database']		= 'vbulletin_forum';
$impexconfig['target']['tableprefix']	= '';

# If the system that is being imported from uses a database,
# enter the details for it here and set 'sourceexists' to true.
# If the source data is NOT stored in a database, set 'sourceexists' to false

$impexconfig['sourceexists']			= true;

####
#
# SOURCE - The source is the old forum database (where the  data is coming from)
#
####

# mysql / mssql
$impexconfig['source']['databasetype']	= 'mysql';  // mysql OR mssql
$impexconfig['source']['server']		= 'localhost';
$impexconfig['source']['user']			= 'username';
$impexconfig['source']['password']		= 'password';
$impexconfig['source']['database']		= 'source';
$impexconfig['source']['tableprefix']   = '';
You must set 3.x database informations in TARGET
And set 4.x database informations in SOURCE
8. Go to vbulletin 3 admincp --> Login --> You must have a new tab "Import"
9. Click on Import tab then you will see import page.
Select system : Choose 3.7.x
Select version and product : Choose vBulletin 3.7 and 3.8
Start all of the modules .
After you do this work you must go to update counters and update all of counters.
After all of this works you must import post_thanks and attach table . ( then optimize tables)
Thank you & Be successful .
Reply With Quote
  #2  
Old 12-13-2010, 01:52 AM
worried worried is offline
 
Join Date: Jan 2009
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, especially when vB.com says it can't be done.
Reply With Quote
  #3  
Old 12-13-2010, 02:37 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What about attachments? As far as I can see, you will lose any attachments using this method (and album images also). The database structure was changed for attachments and album images between 3.x and 4.x.
Reply With Quote
  #4  
Old 12-13-2010, 02:47 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

interesting article
tagging this one

thx
Reply With Quote
  #5  
Old 12-13-2010, 01:54 PM
VBIran VBIran is offline
 
Join Date: Nov 2010
Location: Iran
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Lynne , You can save your attachments in host then import it In impex .
--
I test it and it works
Reply With Quote
  #6  
Old 12-13-2010, 02:09 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by VBIran View Post
@Lynne , You can save your attachments in host then import it In impex .
--
I test it and it works
I don't see how that will work. If you now have all album images mixed in with the attachments, how can doing an import put them all back into the correct place?

Admittedly, I have not tried this, but I don't see how it would work.
Reply With Quote
  #7  
Old 12-13-2010, 03:26 PM
VBIran VBIran is offline
 
Join Date: Nov 2010
Location: Iran
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will test it and edit first post soon .
Reply With Quote
  #8  
Old 12-13-2010, 04:21 PM
gamerzhut gamerzhut is offline
 
Join Date: Jan 2010
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can also convert to another board like mybb or phpbb3. From there you an use impex system. I guess you will loose the members password by doing so.
Reply With Quote
  #9  
Old 12-14-2010, 12:21 AM
VBIran VBIran is offline
 
Join Date: Nov 2010
Location: Iran
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you convert from vb to vb you wont lose passwords .
Reply With Quote
  #10  
Old 12-14-2010, 02:47 AM
gamerzhut gamerzhut is offline
 
Join Date: Jan 2010
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, but attachments will be lost for sure.
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 03:40 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.06646 seconds
  • Memory Usage 2,313KB
  • Queries Executed 26 (?)
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)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_article
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (8)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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