Topic: migration from minibb 2.0
I'm have a problem migration from minibb 2.0 the post/replies are not transferring over.
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 discussion → migration from minibb 2.0
I'm have a problem migration from minibb 2.0 the post/replies are not transferring over.
From the downloads page:
Please note that the migration tool is unofficial and that any support questions therefore should be directed to the author.
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
I have no problem with the conversion, except for some hiccup with img & link tag. The rest are choice.
Nigel
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*
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?
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]')
PunBB Forums → PunBB 1.2 discussion → migration from minibb 2.0
Powered by PunBB, supported by Informer Technologies, Inc.