Topic: migration from minibb 2.0

I'm have a problem migration from minibb 2.0 the post/replies are not transferring over.

Re: migration from minibb 2.0

From the downloads page:

Please note that the migration tool is unofficial and that any support questions therefore should be directed to the author.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: migration from minibb 2.0

i'm aware of that. I tried contacting the script creator but no response. I thought if I post here someone might of had the same problem and be able to help. I really want to use pubb but just can't get my old board to move the data over sad

Re: migration from minibb 2.0

I have no problem with the conversion, except for some hiccup with img & link tag. The rest are choice.

Nigel

5

Re: migration from minibb 2.0

Sorry for bumping old topic, but has anyone fixed the img and links tags yet?

I was thinking on using sql find replace directly on db like
update [forum_posts] set [message] = replace([message],'[<img src="]','[[img]]');
and
update [forum_posts] set[message]= replace([message],'[" alt="" title="" />]','[[/img]]');

So that would hopefully change
<img src="http://link.to.image/thumbs.gif" alt="" title="" />
to
[.img]http://link.to.image/thumbs.gif[/img.] *without the red dots*

6

Re: migration from minibb 2.0

Ok, so i tested this and works fine. All images are now shown correctly. The problem now is, that i don't know how to replace <br/> tag. I tried \n and \r\n but it doesn't work. Any idea?

7

Re: migration from minibb 2.0

Ok, solved this too

Open parser.php 
FIND
'#\[email=(.*?)\](.*?)\[/email\]#e',
AFTER, ADD
'#\[br]#',

FIND
'handle_email_tag(\'$1\',\'$2\')',
AFTER ADD
'<br/>',

Then run sql find and replace command

update forum_posts set message = replace(message,'<br />','[br]')