vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   phpBB2 Importer (https://vborg.vbsupport.ru/showthread.php?t=37135)

Nebula 06-04-2002 07:04 PM

Sorry, but I guess I have no choice but to not completely support this anymore, seeing as vBulletin has completely wasted all my time and effort I put into this. :hurt: ARGH!!!! Poop on you vBulletin.

I guess if you're still having problems with this, go try vBulletin's "official" importer.

This would have been done a long time ago, but I got real busy with school, and obviously vBulletin took the chance, and ran with it.

::screams:: :dead:

Oh well, can't win them all. Just so you know vBulletin, I hope you feel good about your importer. :disappointed: :mad:

CodeDawg 06-05-2002 06:39 AM

Don't give up the support yet!!!! I have had much more success with your importer than the official one from vB.

I am getting one error, but I think it may be my database or something:

Database error in vBulletin Control Panel 2.2.6:

Invalid SQL: INSERT INTO pollvote (pollid,userid,votedate) VALUES (1,,985364649)
mysql error:

mysql error number: 0

No clue what is wrong with this particular post, but it is causing the conversion to stop. I know from the ohomyadmin I just ran it doesn't like the datestring.

Any help?????

Nebula 06-05-2002 10:27 AM

well, it's nice to know SOMEONE appreciates what I do.

I will be able to work on it tonight, since I will have plenty of time (my last final was yesterday). No more homework for 3 months!! ;)

CodeDawg: I'll look into this tonight.

CodeDawg 06-05-2002 03:18 PM

Well I kinda got around that issue by setting all the polls to "inactive"

THen it hung up on me last night, then the web server died...so I will give it another go tonight and see what happens...will keep you posted.

Just so you know, the official version doesn't convert nearly as much as your script....but the vB guys did fix an error I found in theirs at 2:30 am.

CodeDawg 06-05-2002 09:51 PM

Nebula:

I got the script to work, didn't convert the polls. Had a bunch of post come through as sticky, but fixed that fairly quickly by doing an update on the threads table and turning off all sticky post....then simply went in and made the 10 or so post that needed to be sticky.

One idea that maybe you and someone over at vBulletin.com might want to look at is merging the two scripts. I tried to use both and found that yours was far more detailed in what it converted, but was missing some key things that the official one had.

I have been up for about 22 hours trying to get things converted and running so I will post some detailed ideas for you once I get some sleep and a clear head.

I do have to say THANKS!!!!! to you for creating this script...even with the glitches I ran into it did a MUCH better job than the official one from vB. :nervous:

NeRilkA 06-08-2002 03:23 PM

hi :)

i just want to thank Nebula for this wonderful script !! which works great !! and helped me a lot

the official team of vbulletin should replace their script by yours !!!

thanks again !!!

Nebula 06-10-2002 03:34 PM

Hey! Version 0.9.4 is out (finally :P). Sorry it took me so long for an update, I was really swamped with homework at the end of the year.

Anyways, here is a list of updates:
  • Script now only works if the vBulletin database and the phpBB database are on the same server (caused too much trouble and bugs)
  • Fixed bug with database switching (script would try to read phpBB data from the vBulletin database or vice-versa)
  • Fixed poll import bug (Thanks CodeDawg)
  • Fixed thread sticky bug
  • Improved BBdecode routine
  • Many other things I've forgotten about :D

I also tried the official vBulletin importer, and I must say, I don't like it ;) Mine's a lot more user friendly, and it importes much, much more ;);)

Sorry about the sticky bug...I feel really stupid, here's what was wrong (for you PHP Guru's):

PHP Code:

// What it was
if ($threadData[topic_type] == 1) {
  
$thread[sticky] = 1;
}

// What it should be (and is now)
if ($threadData[topic_type] == 1) {
  
$thread[sticky] = 1;
} else {
  
$thread[sticky] = 0;


Basicially, if one thread was sticky, every other thread was made sticky after that until a new page loaded. I think I was asleep when I coded that ^^;;;;

Anyways, enjoy. I ran this a lot this morning, and believe it to be bug free with every DB I've ran it on so far. Hehe. If you have a problem with your DB, send it to me, and I'll fix it up in a jiffy ;)

EDIT #1: I renamed the actual importer filename, so that you could store both the official and unofficial script in the same directory (the vBulletin one is stupid, and doens't like being renamed, yet mine doesn't care if it's renamed. Another reason mine is better ;)).

EDIT #2: I moved the attachment to the first post. I forgot that's where I put them, lol

CodeDawg 06-10-2002 04:14 PM

Nebula,

Thanks for the updated script. I will download it tonight and give it a try.

dieKetzer 06-11-2002 01:38 AM

I used your importer quite a while ago and had great success with it. I'm sure that there are many others that are happy and thankful to you for releasing this hack. For many, waiting many months for vb to release an 'official' importer was not an option :o)

Brad 06-12-2002 08:00 PM

Nebula, ran with great results on my local system with a phpbb2 to vB 2.2.6 import.


All times are GMT. The time now is 11:05 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.01253 seconds
  • Memory Usage 1,743KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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