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
  #82  
Old 01-10-2006, 06:50 PM
Ultan Ultan is offline
 
Join Date: Jan 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by garymill
My error message is this.

Script Version 1.3-WebBBS
WebBBS-to-vBulletin 3.0 Message Converter


Fatal error: Cannot redeclare html_entity_decode() in /hsphere/local/home/cybermac/cybermacro.com/forums_webbbs/forum1/bbs0/wbb3.php on line 130


I appreciate any help to get this working.

I have the same problem . Any help please?!


Mushabab
Reply With Quote
  #83  
Old 01-13-2006, 11:36 AM
Ultan Ultan is offline
 
Join Date: Jan 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tgmorris
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.
Thank you for your efforts as well as the original Author [ Paul ]. :up:

I am disperate for help!

I have followed the instructions in the modified script [ Script Version 1.3-WebBBS ] to convert my WEBBBS 5.2 post to VB 3.2.5. . This what I got:

I commented lines 130 - 134, where in my machine PHP 5.x . I got this output

Script Version 1.3-WebBBS
WebBBS-to-vBulletin 3.0 Message Converter

Connected successfully
Query failed inserting thread: INSERT INTO thread (`threadid`, `title`, `firstpostid`, `lastpost`, `forumid`, `pollid`, `open`, `replycount`, `postusername`, `postuserid`, `lastposter`, `dateline`, `views`, `iconid`, `notes`, `visible`, `sticky`, `votenum`, `votetotal`, `attach`, `similar`) VALUES ('', 'Welcome !', '0', '929072991', '3', '0', '1', '0', 'Editor of General Forum ( This one )', '0', 'Editor of General Forum ( This one )', '929072991', '0', '0', '', '1', '0', '0', '0', '0', '') "


This was partially convertion of post #1 of webbbs.

Please help to figure out what else can be done from my side to have it works.

Regards;

Mushabab Al-Murayeh, MD
Reply With Quote
  #84  
Old 01-17-2006, 01:57 PM
Ultan Ultan is offline
 
Join Date: Jan 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where is everybody?!

After strugle I could reach this result where only 4 messages were converted then error.

Script Version 1.3-WebBBS
WebBBS-to-vBulletin 3.0 Message Converter

Connected successfully
New Thread 1
New Thread 2
New Thread 3
Query failed getting counts for forum: SELECT replycount FROM forum WHERE forumid = 2


I still need help :tired:

Mushabab
Reply With Quote
  #85  
Old 02-28-2007, 03:57 PM
oldengine oldengine is offline
 
Join Date: Mar 2004
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A reminder to those using this script: wbb3.php (TGMORRIS POST #60)

YOU MUST NOT BE USING A TABLE PREFIX IN YOUR VB DATABASE!

If you need to change your prefix, use /install/tableprefix.php CAUTIOUSLY!

I am using vB 3.62 and the wbb3.php script imported 100 WebBBS posts into a test board just fine for me. My next process is to import them into my board that has over 100,000 posts.

USE A TEST BOARD and work it out. It can be done, but please don't ask me to do it for you. I do not have the time nor the resources to get involved. I only want to give you the encouragement that this feat is possible.

EDIT:
Code:
// can be removed if using PHP 4.3.0 or above
// function html_entity_decode( $given_html, $quote_style = ENT_QUOTES ) {
//   $trans_table = array_flip(get_html_translation_table( HTML_SPECIALCHARS, $quote_style ));
//   $trans_table['''] = "'";
//   return ( strtr( $given_html, $trans_table ) );
// }
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 08:07 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.05764 seconds
  • Memory Usage 2,248KB
  • Queries Executed 21 (?)
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
  • (2)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
  • (2)pagenav_pagelink
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)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
  • 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