vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   WebBBS to vBulletin 2.2.x Conversion Script (https://vborg.vbsupport.ru/showthread.php?t=35697)

The Doctor 02-23-2005 10:09 PM

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.

Smitty 03-31-2005 10:50 PM

Is this for WebBBS by Darryl Burgdorf?

tgmorris 04-01-2005 03:55 AM

Quote:

Originally Posted by Smitty
Is this for WebBBS by Darryl Burgdorf?

Yes.

Smitty 04-01-2005 08:38 AM

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'.

garymill 04-20-2005 11:19 AM

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.

Marco van Herwaarden 04-20-2005 11:35 AM

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.

garymill 04-20-2005 11:42 PM

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

aacircle 06-13-2005 02:00 AM

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...

Paul 06-13-2005 03:09 AM

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.

daveconz 11-21-2005 08:56 AM

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 :) :)


All times are GMT. The time now is 12:39 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01303 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete