PDA

View Full Version : Thread ID #'s and Impex Errors on Polls, IPB 1.3



calgarypuck
Mon 10th Oct '05, 10:44pm
Doing a few dry runs of importing to see what I'm up against here and so far it's mostly straight forward.

I've had a few problems though. The first is when it tried to import the polls it gave an error for all of them:



error: The poll voters were not attached to the correct thread.
remedy: Use the import id to check the source poll id and thread it matches in the source


The weird thing is I can see the polls in the new forum and the results are there (though of course it thinks I haven't voted yet but that's fine). Something to worry about?

Also, I was going to update all the internal forum links posted in threads so they work in the new forum, but the thread ID's don't seem to be the same.. though all the posts say they came across. Is there any way to assure this?

Otherwise it was pretty painless and quick (200,000+ posts). Now I just have to create a new skin :D

Jerry
Mon 10th Oct '05, 10:56pm
The weird thing is I can see the polls in the new forum and the results are there (though of course it thinks I haven't voted yet but that's fine). Something to worry about?

You can see them in the database or in the actual forum ?


Also, I was going to update all the internal forum links posted in threads so they work in the new forum, but the thread ID's don't seem to be the same.. though all the posts say they came across. Is there any way to assure this?

Internal Link parsing (http://www.vbulletin.com/docs/html/impex_terminology)

calgarypuck
Mon 10th Oct '05, 11:07pm
You can see them in the database or in the actual forum ?



Internal Link parsing (http://www.vbulletin.com/docs/html/impex_terminology)

I can see them in the actual form, and if I view results I can see the votes from the old board (though it doesn't say who voted to what but that doesn't really matter). So it looks like it worked, I just was worried about impex reporting them as failures and it having some impact down the road.

For the internal link parsing, I did find this post:

http://www.vbulletin.com/forum/showthread.php?t=108178&highlight=links

which seems would work if the post ID's weren't different.

If I wanted to have the import come over and keep the post ID's the same I'd probably have to modify the import code myself then?

Jerry
Tue 11th Oct '05, 12:20am
I can see them in the actual form, and if I view results I can see the votes from the old board (though it doesn't say who voted to what but that doesn't really matter). So it looks like it worked, I just was worried about impex reporting them as failures and it having some impact down the road.

Then I wouldn't worry about it.



For the internal link parsing, I did find this post:

http://www.vbulletin.com/forum/showthread.php?t=108178&highlight=links

which seems would work if the post ID's weren't different.

If I wanted to have the import come over and keep the post ID's the same I'd probably have to modify the import code myself then?

You cannot force id's into the database with out breaking it, hence why link parsing is needed, hacking the code and database will break your board and invalidate your support.

calgarypuck
Tue 11th Oct '05, 2:21pm
Alright, though I wasn't thinking about hacking the code or the database, only the import system.

So to do the link parsing I'd just have to write a query that would 1) replace the URL pattern of the old forum software with the new one and 2) replace the old thread ID # with the new one using the importthreadid info.

That doesn't seem too bad, I'll give it a try tonight!

Jerry
Tue 11th Oct '05, 5:32pm
Alright, though I wasn't thinking about hacking the code or the database, only the import system.

Thats the code too.


So to do the link parsing I'd just have to write a query that would 1) replace the URL pattern of the old forum software with the new one and 2) replace the old thread ID # with the new one using the importthreadid info.

That doesn't seem too bad, I'll give it a try tonight!

Yup, URL path and file name, then args swapped for importpostid to postid and importthreadid to threadid etc.