Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by GameCrash GameCrash is offline
Developer Last Online: Oct 2012 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 08-07-2001 Last Update: Never Installs: 25
 
No support by the author.

Please do not contact me via ICQ, Email, PM or anything other way than this thread any more!

Okay... this is my UB2k 2.2.x to vBulletin 2.0.x importer. It can import styles (= skins), users, forums, moderators, posts and private messages.

This Importer has been created for vBulletin 2.0.3! The most things work correctly with 2.2.x (it will import the styles, users, forums, moderators, posts and private messages) but some features like setting new passwords for admins doesn't work. I don't want to create a new version as I don't think there are many UB2k users left who could import...

This script does not work with the vB import system as I wanted to have it independent of the vB directory (some servers are not able to read files in directories like ../../ub2k/). You can upload the script to any directory where you can access the UB2k directory and the vBulletin database.

A manual is in the zip file. Please do not email or pm me if you have questions or found bugs. Please simply answer the thread.

Known bugs:
- On some servers you need to chmod the directory "ubimporter" to 777...

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #122  
Old 11-11-2001, 02:19 PM
cipap cipap is offline
 
Join Date: Nov 2001
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does it work with 2.2.0? anyone tried.. because i'm thinking of migrating a whole bunch (around 30, 000 users) off from a flat file ub2k to mysql vbulletin..

any ideas? *** 2.0.x does not have user password encryption unlike 2.2.x
Reply With Quote
  #123  
Old 11-11-2001, 03:55 PM
GameCrash GameCrash is offline
 
Join Date: Oct 2001
Location: Germany (Bavaria)
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works for vB 2.2.x except this one password problem... but it will not work with any other UltraBoard than 2.2.x because they have changed their backup format...
Reply With Quote
  #124  
Old 11-11-2001, 06:44 PM
flyguy flyguy is offline
 
Join Date: Nov 2001
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, in fact there were 11,000+ posts from the original board

http://www.flyfishingforum.com/cgi-b...eadlines&BID=2

I increased the # of posts per cycle to a high value, I will try them lower at your recommendation. Thanks, I will try it now...
Reply With Quote
  #125  
Old 11-11-2001, 07:24 PM
flyguy flyguy is offline
 
Join Date: Nov 2001
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

GameCrash -

I tried the whole thing again and here's what I found:

#1 => the "\" character shows up at the end of every line of text in every post. Is there a trick to clearing that?


#2 => One of the boards, entitled:
Flytalk III > Saltwater Flyfishing > Stripers and Coastal Gamefish

at URL:
http://www.flyfishingforum.com/flyta....php?forumid=3

(Before I update counters and all that) lists 9579 posts and 1646 threads. On the original board, it lists: 11223 posts over 1645 (plus the one I made to test it = 1646). It somehow lost (11223-9579 posts) in the import counter.

#3 => I think the posts were never imported...
Even though the board lists 9579 in the vBulletin, none of them are accessible even when posts are displayed since the beginning of time. It seems only the post count made it over?

The ubimporter.php script never asked me to import these posts for some reason, because I set the import cycles down very low and if I had to click for 11,223/n cycles I would remember ;-)

#4 => When I update counters it goes to zero.

Any suggestions?

Thanks in advance.
Reply With Quote
  #126  
Old 11-11-2001, 07:27 PM
flyguy flyguy is offline
 
Join Date: Nov 2001
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cipap -


RE: going to 2.2.0 -

The password enryption differences between UB2K and 2.2.0 cause a problem using ubimporter.php - but there is an easy fix if you have administrator rights to the mysql database on the vBulletin side.

Feel free to email me for specific information.

juro@flyfishingforum.com
Reply With Quote
  #127  
Old 11-11-2001, 07:56 PM
flyguy flyguy is offline
 
Join Date: Nov 2001
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Gamecrash -

More information on the problems:

Failure to build an .export file:

I went back to my back-up log and found that one of the files terminated in an error... it says:

- - - Exporting the 'B2' database... Error:
- - - Copying the config file of 'B2' database... Done.


B2 is the one failing. The other backup directories have successfully built an B*.export file, B2 does not have one - but it has a .cfg file which is probably where the counter is coming from. The backup probably aborts at ~9k and the .export file never gets built.

The problem appears to be that the UB2k backup can not handle the huge board... and of course there is no one to ask at UB2K!

Removal of "\" characters:

Looking at that .export file, I see that each newline is contained as the characters "\n" on the Unix server. Is there an easy way to modify the importer to create 'native' newlines in vBulletin?

Another alternative would be for me to do a large-scale substitution on the .export file before running ubimporter, but I would need to know from you what you expect to see for newlines.

Loss of members and passwords:

The number of members has been reduced for some reason. This is not a big deal although people who had higher member status will not be happy starting over. This is the least important because it will be easy for people to re-register. I think the passwords are not working because of the encryption difference UB2K vs. 2.2.0.


Thanks for your help so far. I think if I can get rid of the slashes and figure out how to get an export file to build in B2 database, I should be able to make the move to vBulletin.


Juro
http://flyfishingforum.com
Reply With Quote
  #128  
Old 11-11-2001, 09:09 PM
flyguy flyguy is offline
 
Join Date: Nov 2001
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

GC -

I am taking the tactical approach of splitting the posts into two boards before trying again. I hope this solves the board error.

Will report later,
Juro
Reply With Quote
  #129  
Old 11-11-2001, 11:44 PM
flyguy flyguy is offline
 
Join Date: Nov 2001
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

--- back from the depths...

I manually split the posts into a several new boards and was able to build the files that ubimporter needs for each board to import! >phew<

Now the problem I face the problem of "\" delimiters at the end of each line and before each item of punctuation.

Any suggestions? It appears that the conversion is placing this char, which might have been necessary for pre 2.2.0 versions (?) 2.2.0 apparently does not need punctuation escaped.

Beyond that, a method of converting the UBCodes to vBCodes is needed to activate the links, show images, etc... but that's down the road.

Thanks again, getting VERY close!
Reply With Quote
  #130  
Old 11-12-2001, 10:33 AM
GameCrash GameCrash is offline
 
Join Date: Oct 2001
Location: Germany (Bavaria)
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sorry, I my computer at home is down so I was not able to answer you earlier and I have not much time atm (at school)

Well... the \n is the standard unix newline. It should not be shown in the text... do you use a windows server?
Reply With Quote
  #131  
Old 11-12-2001, 01:03 PM
flyguy flyguy is offline
 
Join Date: Nov 2001
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi GC -

No, it's a unix server... the slash appears where there were newlines -and- before quote characters, both ' (single) and " (double).

I looked at the .export file over on UltraBoard and although there are "\n" chars at the end of every line the single quote chars are not escaped so I am assuming the slash is added somewhere along the way(?)

You can look at the results at:

http://flyfishingforum.com/flytalk2
Reply With Quote
Reply

Thread Tools

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 05:21 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.05596 seconds
  • Memory Usage 2,301KB
  • Queries Executed 25 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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