Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
WebBBS to vBulletin 2.2.x Conversion Script Details »»
WebBBS to vBulletin 2.2.x Conversion Script
Version: 1.00, by Paul Paul is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-03-2002 Last Update: Never Installs: 16
 
No support by the author.

Hello all!

After much painstaking oogling at php code, I've created a conversion script to convert WebBBS messages to vBulletin. I created this a bit ago, but feel that it might be of use to someone out there so I thought I'd share it.

This was written to convert from a very old version of WebBBS (circa 1998), but has since been modified to work with 5.0. It should be a good start for anyone out there wanting to do this.

All of the instructions are included in the file as comments. Read them carefully! When finished, don't forget to update counters and the search table.

Anticipating vB3 like you wouldn't believe,
Paul

Update:
  • Now corrects for GMT offset for older WebBBS versions (the newest versions use unix timestamps, so this isn't needed)
  • Situation where extra carriage returns were being added should now be resolved.
  • Link URLs and Images are now processed. URLs/Images in the actual message body (assuming you had HTML enabled on WebBBS) are not processed. Anyone willing to add this functionality, let me know.
  • Situation where certain date strings would offset the timestamp incorrectly has now been corrected.
  • Connection to the database is now handled much more efficiently.

NOTE: By downloading this, you agree that you will not send me countless PMs/e-mails asking for help with it. If you have a question, post it on this thread. I am by no means an expert. This is my first script in php. It was written to fill my need and may or may not fill yours. I do not have the time nor resources to provide support for it.

Also, as with all hacks on this site, this script is for registered vBulletin users ONLY. You are not permitted to distribute this script to anyone, under any circumstances.

Show Your Support

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

Comments
  #72  
Old 02-23-2005, 10:09 PM
The Doctor The Doctor is offline
 
Join Date: Jan 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The function processquotes does not seem to be working for me. The routine is changing my WebBBS quote symbol into the tempsymbol okay, but the conversion of lines preceded by the tempsymbol into vBulletin quoted text just isn't happening. I'm getting the tempsymbol appearing in my posts.

I've not changed processquotes at all, but I'm afraid my PHP isn't good enough to check how it works. My initial thought was that I'd maybe copies the WebBBS files into the conversion directory as binary files (I can tell that processquotes needs the tempsymbol to start the line), but, after I carefully recopied the files, I was able to rule that out.

Any other suggestions?

[Later]:

I added
PHP Code:
 global $tempsymbol
to the function, and this solved the problem. I imagine that I'm going to have to make $last_indent global as well, though I haven't investgated this yet. I'm just glad to have got this one mysterious bug out of the way.

It's gone two in the morning and it's waaaay past my bedtime.

[Added in the morning]:

Of course $last_indent doesn't need to be global. It's only used to communicate between the processing of lines of a single message.
Reply With Quote
  #73  
Old 03-31-2005, 10:50 PM
Smitty's Avatar
Smitty Smitty is offline
 
Join Date: Sep 2002
Location: Southern Ohio
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this for WebBBS by Darryl Burgdorf?
Reply With Quote
  #74  
Old 04-01-2005, 03:55 AM
tgmorris tgmorris is offline
 
Join Date: Nov 2003
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Smitty
Is this for WebBBS by Darryl Burgdorf?
Yes.
Reply With Quote
  #75  
Old 04-01-2005, 08:38 AM
Smitty's Avatar
Smitty Smitty is offline
 
Join Date: Sep 2002
Location: Southern Ohio
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tgmorris
Yes.
Thanks for the reply. I though so but I looked for something like this a couple of years ago and didn't find anything so I gave up. I'll have to test this. If it works, I've got several thousand posts in a webbbs forum I had up between 1997 and 1998 which I wouldn't mind importing for 'history'.
Reply With Quote
  #76  
Old 04-20-2005, 11:19 AM
garymill garymill is offline
 
Join Date: Jul 2002
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am still looking for someone to import 3 old web bbs forums for me into Vbulletin. I will pay $85.00 for this work.
Reply With Quote
  #77  
Old 04-20-2005, 11:35 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you can provide enough data, Jelsoft might want to add webbbs support to the official ImpEx utility. Try asking at vbulletin.com

Would be the best way to go.
Reply With Quote
  #78  
Old 04-20-2005, 11:42 PM
garymill garymill is offline
 
Join Date: Jul 2002
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I appreciate your suggestion.

Someone has created a conversion script posted here, and I have read o various success stories in using it, but I was not able to get it to work myself, so was hopeful that someone that was familar with working with it could do the import for me.

Gary
Reply With Quote
  #79  
Old 06-13-2005, 02:00 AM
aacircle aacircle is offline
 
Join Date: Jun 2005
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the conversion file posted by tgmorris in Dec 2003, the following appears:

**** IMPORTANT ****
In order for this script to keep track of messages and to later serve as a reference
point for old bookmarked messages, you will need to make a change to your vBulletin
mySQL database. You will need to insert rows into the "post" table of the
vBulletin database. THIS SCRIPT WON'T WORK WITHOUT THE ADDITION OF THESE ROWS!

i.e. ALTER TABLE post ADD COLUMN originalid int(5);
ALTER TABLE post ADD COLUMN previousid int(5);

Is this really required? After reading the above commented lines, I assume this is for when users have bookmarked posts found in WebBBS and so they can find the same posts when searching in vBulletin. I wonder will the script work fine if I don't amend the 'post' tables in vBulletin...
Reply With Quote
  #80  
Old 06-13-2005, 03:09 AM
Paul Paul is offline
 
Join Date: Jan 2002
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mycolumbus
In the conversion file posted by tgmorris in Dec 2003, the following appears:

**** IMPORTANT ****
In order for this script to keep track of messages and to later serve as a reference
point for old bookmarked messages, you will need to make a change to your vBulletin
mySQL database. You will need to insert rows into the "post" table of the
vBulletin database. THIS SCRIPT WON'T WORK WITHOUT THE ADDITION OF THESE ROWS!

i.e. ALTER TABLE post ADD COLUMN originalid int(5);
ALTER TABLE post ADD COLUMN previousid int(5);

Is this really required? After reading the above commented lines, I assume this is for when users have bookmarked posts found in WebBBS and so they can find the same posts when searching in vBulletin. I wonder will the script work fine if I don't amend the 'post' tables in vBulletin...
Yes, it is required to determine where the posts will be inserted. Old bookmarks will not work without altering showthread.php and using something like mod_rewrite or a custom perl script to point to the proper vbulletin page.
Reply With Quote
  #81  
Old 11-21-2005, 08:56 AM
daveconz daveconz is offline
 
Join Date: Sep 2004
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey just wanted to say huge Thanks! I used the modified script for vB3 and it seems to have worked like a charm. It's only a small forum (a few hundred messages) but it means a lot to the site owner. Awesome
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 09:05 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.04949 seconds
  • Memory Usage 2,309KB
  • 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)bbcode_php
  • (3)bbcode_quote
  • (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
  • (3)pagenav_pagelink
  • (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