Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
WebBBS to vBulletin 2.2.x Conversion Script Details »
WebBBS to vBulletin 2.2.x Conversion Script
Mod Version: 1.00, by Paul (Member) Paul is offline
Developer Last Online: Dec 2019 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (1 vote - 5.00 average) Installs: 16
Released: 04 Mar 2002 Last Update: Never Downloads: 15
Not Supported  

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.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Old school (WebBBS-style) quoting Martin CX vBulletin 3.0 Beta Releases 8 19 Oct 2004 08:49

Comments
  #2  
Old 04 Mar 2002, 09:28
TheComputerGuy's Avatar
TheComputerGuy TheComputerGuy is offline
 
Join Date: Oct 2001
Real name: Joe
Three round of applause for Paul!!!!!!

Man you just dont know how much I Love ya!
__________________
I'll buy your forum!
Reply With Quote
  #3  
Old 04 Mar 2002, 12:28
Paul Paul is offline
 
Join Date: Jan 2002
Please let me know how it works out
Reply With Quote
  #4  
Old 05 Mar 2002, 13:57
TheComputerGuy's Avatar
TheComputerGuy TheComputerGuy is offline
 
Join Date: Oct 2001
Real name: Joe
I will, and I soon will know, in about another week, after we buy another vB license
__________________
I'll buy your forum!
Reply With Quote
  #5  
Old 05 Mar 2002, 15:20
Paul Paul is offline
 
Join Date: Jan 2002
If you're buying a license on the premise that this will work for you, I'd suggest trying it out with the "light" version that is freely downloadable from vbulletin.com. I have no idea what the database structure is compared to the full version or if it would matter (although I sincerely doubt it since the conversion doesn't insert any thing special.. just the basics (nick, ip address, e-mail, etc..)). Just remember, there are no guarantees that it will work. I'd hate to see you spend up to $160 only to find out it's not suitable for you.
Reply With Quote
  #6  
Old 09 Mar 2002, 10:07
TheComputerGuy's Avatar
TheComputerGuy TheComputerGuy is offline
 
Join Date: Oct 2001
Real name: Joe
I get some parase error on line 79 which is the local host line and nothing has changed......any ideas
__________________
I'll buy your forum!
Reply With Quote
  #7  
Old 09 Mar 2002, 13:40
Paul Paul is offline
 
Join Date: Jan 2002
Have you tried re-downloading the script? Perhaps there's a missing semicolon or something silly like that?
Are you using php3 or 4? I wrote it using four, although I don't know if it's compatible with 3.
Reply With Quote
  #8  
Old 09 Mar 2002, 15:27
TheComputerGuy's Avatar
TheComputerGuy TheComputerGuy is offline
 
Join Date: Oct 2001
Real name: Joe
I am using php 4, I test the script out and I see it will work, but I have the board in a cgi-bin folder, and I keep getting a forbidden error on there, will I have to remove permissions off the file or such?
__________________
I'll buy your forum!
Reply With Quote
  #9  
Old 08 Apr 2002, 19:43
Paul Paul is offline
 
Join Date: Jan 2002
The script should be using the nobody account (assuming that's what apache is using) and therefore should have read access to anything that webbbs has access to. If you want to make sure, you can move the messages into a different folder or make a copy of them and change the permissions.. the script doesn't edit the message files.. it simply reads them and imports relevent values into the vb database.

Sorry it's taken me so long to respond... have you had any success with this?
Reply With Quote
  #10  
Old 03 May 2002, 17:35
Paul Paul is offline
 
Join Date: Jan 2002
Oooops!

Anyone interested in this conversion script:

It is not functioning due to a few syntax errors. I added a few variables that were formerly hardcoded into the script before posting it here and did not test the script prior to that as I had already completed my install. There are a few problems to note as well.... This script will NOT convert the timestamps on your messages to GMT, therefore messages may be off a number of hours when viewed in vB.. I have since written a script to correct for that error, but it is in no way in any condition to handle this problem for other users. Some points to consider: daylight saving time, your time zone, etc.

I will post an updated version of the conversion script later today that will hopefully fix the runtime errors.

Paul
Reply With Quote
  #11  
Old 09 Aug 2002, 04:51
Paul Paul is offline
 
Join Date: Jan 2002
Updated the original attachment to what I believe is a working version.

Last edited by LoveShack; 21 Aug 2002 at 20:18.
Reply With Quote
  #12  
Old 21 Aug 2002, 20:12
voclain voclain is offline
 
Join Date: Aug 2002
Why do you think I'm getting this message....

.....HERE's WHAT IT Looks like after I activate the script in my browser:

Script Version 1.04r
WebBBS-to-vBulletin 2.2 Message Converter

Connected successfullyQuery failed inserting post

Yours,

Kirk Voclain
Reply With Quote
  #13  
Old 21 Aug 2002, 20:17
Paul Paul is offline
 
Join Date: Jan 2002
Re: Why do you think I'm getting this message....

Originally posted by voclain
.....HERE's WHAT IT Looks like after I activate the script in my browser:

Script Version 1.04r
WebBBS-to-vBulletin 2.2 Message Converter

Connected successfullyQuery failed inserting post
Did you make sure to edit the following part of the file?:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Make sure your database name, SQL username, and SQL password are all correct. Use the same settings that vBulletin uses.
Reply With Quote
  #14  
Old 21 Aug 2002, 20:23
voclain voclain is offline
 
Join Date: Aug 2002
YEP!!

I did that. INFACT when I go the the MySQL data base and look under Threads, IT posted ONE of the 25 I tryed to import. But that ONE does not show up on the Forum???

I'm sorry to say, I'm confused???

Yours,

Kirk Voclain
Reply With Quote
  #15  
Old 21 Aug 2002, 20:30
Paul Paul is offline
 
Join Date: Jan 2002
Have you specified the correct forumid?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 04:37.

Layout Options | Width: Wide Color: