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)
-   -   *phew - wipes sweat from brow* here is my Ikonboard -> VBulletin Post Convertor (https://vborg.vbsupport.ru/showthread.php?t=27056)

08-31-2001 10:00 PM

might do a forum convertor next.. you can find my user convertor further down the page..
please let me know if you use this as a lot of hard work (and a whole lot of this saturday morning) went into it :)

attatched..

KarateKid[WBC] 09-01-2001 02:35 PM

great, I will try it :)

Razzie 09-01-2001 03:08 PM

Good one!

justsomedude 09-01-2001 09:19 PM

well, i had a bit of a malor problem while attampting the
conversion :(

What i did was simply upload into my existing forum folders the conv_posts.php & then edit each one indivigually as to direct the posts from that folder into the appropriate forum, then call each conv_posts.php one at a time just by changing the URL from "www.mysite.com/..../forum1/conv_posts.php" to "www.mysite.com/..../forum2/conv_posts.php" and so on.

well, i got through about 5 forums without a problem & i was about to offer to have LoB's baby for him :) then things turned real ugly real fast. While the script was running on the 5th forum, it got about 50% complete & returned an error.
(i didn't copy the error, but it was something on line 122 & now the only way for me to get the error is to run the script again which i really don't want to do 'cause i've already begun repairing the problem it caused)

now all of my threads have been merged (one form the vb board & 1 from the IB) and all were moved into a single forum :eek: AHHHH

to rectify the problem, i now have to split each thread manually & move it to it's appropriate forum.

I honestly don't know what caused the error with only one of the forums 'cause it worked flawlessly on the others.

I post this not to complain, just as a warning to others who are considering utilizing the script. I sincerely do appreciate LoB's efforts!!

LoB 09-01-2001 10:51 PM

hmm if there's a recurring problem, if you post the error i will attempt to fix it for you asap

justsomedude 09-01-2001 11:26 PM

well, i decided to suck one up for the team:)

I forced the error again, and after running for a bit i get the following error. (there's many more "conversions" above the one that gives the error)

Code:


Creating Topic: 1 Title: klmlk

Creating Post:

Thread number in Database:

Thread filename: 1.thd

Creating Post:

Thread number in Database:

Thread filename: 1.thd

Creating Post:

Thread number in Database:

Thread filename: 1.thd

Creating Post:

Thread number in Database:

Thread filename: 1.thd

Creating Post:

Thread number in Database:

Thread filename: 1.thd

Creating Post:

Thread number in Database:

Thread filename: 1.thd

Creating Post:

Thread number in Database:

Thread filename: 1.thd

Creating Post:

Thread number in Database:

Thread filename: 1.thd

Creating Post:

Thread number in Database:

Thread filename: 1.thd

Creating Post:

Thread number in Database:

Thread filename: 1.thd

Creating Post:

Thread number in Database:

Thread filename: 1.thd

Creating Post:

Thread number in Database:

Thread filename: 1.thd

Creating Post:

Thread number in Database:

Thread filename: 1.thd

Creating Topic: 2 Title: Timezones

Creating Post:

Thread number in Database:

Thread filename: 2.thd

Creating Post:

Thread number in Database:

Thread filename: 2.thd

Creating Topic: 3 Title: Loader

Creating Post:

Thread number in Database:

Thread filename: 3.thd

Creating Post:

Thread number in Database:

Thread filename: 3.thd

Creating Post:

Thread number in Database:

Thread filename: 3.thd

Warning: file(".thd") - No such file or directory in /home/xxx/htdocs/postconv/forum5/conv.php on line 121


Done Processing!


as i said, about 4 other fourms were successfully created, but then i git this error. subsequently every forum i execute the script for returns the error. I have to assune that is the reason that the rest of the database got screwed up. (All forums in the database..even ones i did not try to create.. are now lumped into 1 or 2)

hope this helps!

Dimitri 09-02-2001 12:58 AM

I got the same error just running it for one forum. When looking at my vB now, it merged many of the old ikonboard threads with the newer vB threads. Only way I can fix this is to restore from a backup, otherwise it'd take hours and hours to split threads up. :(

LoB 09-02-2001 10:35 AM

hmm can someone have a look and try and fix it? i have no idea what's causing that...
unless....
wait i think i know the problem...

when adding the threadid to the database it uses the number from list.cgi for that thread, however, if a thread of that number already exists in the database... splat i imagine....

i tried to do it another way (i.e. see what the last thread_id was in the database) but couldent figure out how to do it....

Dimitri 09-02-2001 12:56 PM

That sounds about right. Only about 2 of my 100+ threads came over cleanly. The others were merged with existing threads, from all different forums I might add, including private ones (yikes!).

MadMikey 09-02-2001 04:47 PM

Hey LoB, you have no idea how much I appreciate your efforts in this. I've just been waiting patiently for 'a' converter to switch over to the new forums.

The user / post converters seem to work well on an empty database so I'm not have the problems the other were.

However a couple of issues are keeping me from making the move permanently:

User Converter: The 'joindate' field is not being populated from ikonboard so all users show up as 1969 or something.

Post Converter: All of the IkonCode and formatting got converted to HTML and forums that don't do HTML show all the HTML tags. No biggie though.

Any idea how to fix these (manually if necessary) ? If either of these prove to be too difficult, I'll understand. After looking and the vBulletin db structure, I bailed on the idea myself (grin)

Thanks again for your hard work

Mike


All times are GMT. The time now is 06:22 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.01396 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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