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

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
  #52  
Old 08-22-2002, 04:39 AM
Paul Paul is offline
 
Join Date: Jan 2002
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by voclain
Here is and exact copy of what is in the script!! NOTICE that I have the offset to -0 could that have caused the problem???
Nope, you had the right settings. I misspelled $useunixdate in the script where it checks the value. It was trying to process the date for older versions of WebBBS. I went back as I made the various revisions we tried and made sure that it would be backwards compatible for anyone using earlier versions of WebBBS such as the one I was using.
Reply With Quote
  #53  
Old 08-22-2002, 04:51 AM
voclain voclain is offline
 
Join Date: Aug 2002
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LOOK,,,,LOOK,,,,at my new baby girl!!!

She is so cute!! Has the right dates, the correct names, EVEN the pictures!!

YOU ARE THE MAN!!!!!!!!!!!

Thank you so much!!

YOU have my codes, go and check it out!! She's working!!!!

WONDERFUL!!!

Kirk Voclain
Reply With Quote
  #54  
Old 08-22-2002, 04:54 AM
Paul Paul is offline
 
Join Date: Jan 2002
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks great! Now, if you'll excuse me, I'm off to bed.

Early appointment tomorrow morning! Let me know if you have any other problems.

The majority of the problems that have been experienced in the past with this script was my failure to globally define the $forumid variable. Thanks to Kirk's feedback, I was able to get down the right track to figure it out. There are multiple functions being used in the script and I neglected to realize that I wasn't doing a global $forumid; ... that and the occasional snag with versions.

This should work great with both older versions and the newest versions of WebBBS.
Reply With Quote
  #55  
Old 09-23-2002, 01:12 AM
Paul Paul is offline
 
Join Date: Jan 2002
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have uploaded version 1.15r of the script which should fix any problems with extra line breaks being added by the script.

For those of you who have already converted, running the following queries should correct this problem. Run the queries in the order specified below:

First:
Code:
UPDATE post set pagetext=replace(pagetext,'\n\n\n\r','\r\r');
Second:
Code:
UPDATE post set pagetext=replace(pagetext,'\n\n\r','\r\r');
Third:
Code:
UPDATE post set pagetext=replace(pagetext,'\n\n','\r\r');
Fourth:
Code:
UPDATE post set pagetext=replace(pagetext,'\n',' ');
Backup your database before attempting this.
Reply With Quote
  #56  
Old 03-26-2004, 01:43 PM
Don Z. Don Z. is offline
 
Join Date: Mar 2004
Location: Boston
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's the latest on this? Does the 116 WebBBS converter work with vB3? Or is there a newer version?

I've got a big WebBBS 5.12 system I'd like to import into vB3.

Thanks
Reply With Quote
  #57  
Old 03-26-2004, 02:53 PM
Paul Paul is offline
 
Join Date: Jan 2002
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Don Z.
What's the latest on this? Does the 116 WebBBS converter work with vB3? Or is there a newer version?

I've got a big WebBBS 5.12 system I'd like to import into vB3.

Thanks
No. This works with vBulletin 2.x. You would have to install vB2, import with this script, then upgrade the results to vB3.
Reply With Quote
  #58  
Old 03-26-2004, 05:29 PM
Don Z. Don Z. is offline
 
Join Date: Mar 2004
Location: Boston
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!
Reply With Quote
  #59  
Old 03-27-2004, 04:55 PM
tgmorris tgmorris is offline
 
Join Date: Nov 2003
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Don Z.
What's the latest on this? Does the 116 WebBBS converter work with vB3? Or is there a newer version?

I've got a big WebBBS 5.12 system I'd like to import into vB3.

Thanks
I've got a version of this I updated to work with WebBBS 5.12 and vb3. Let me know if you are interested. Going directly to vb3 allows the threads to remain intact.
Reply With Quote
  #60  
Old 03-27-2004, 06:27 PM
Paul Paul is offline
 
Join Date: Jan 2002
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tgmorris
I've got a version of this I updated to work with WebBBS 5.12 and vb3. Let me know if you are interested. Going directly to vb3 allows the threads to remain intact.
It'd probably be very helpful to others if you post it here as an attachment or create a new "hack."
Reply With Quote
  #61  
Old 03-29-2004, 01:30 AM
tgmorris tgmorris is offline
 
Join Date: Nov 2003
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LoveShack
It'd probably be very helpful to others if you post it here as an attachment or create a new "hack."
Here it is. It will likely need tweaking for each individual as I tuned it to handle how I did smilies on my site. The vb3 sections could probably be used for any other system as well.
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 07:07 AM.


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.04781 seconds
  • Memory Usage 2,304KB
  • 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
  • (4)bbcode_code
  • (5)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
  • (4)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