Just a quick update. This had to do with regex, and after some tweaking, it’s about as good as it will get. Thanks, Andy!
Didn’t want to leave anyone hanging who might have a similar issue. Here’s what he said:”
good news is that I came up with a regex that does a match, but the parser doesn’t seem to be using it and somehow, the end tag is getting stripped out.
Here’s the regex I’m using:
In: ‘/[quotesname=”?(.*?)”(.*?)](.*?)/ms’,
Out: ‘<blockquote><strong>1 said:</strong><br />3</blockquote>’,
It works perfectly when I’m just testing it with the php preg_replace function which is used in the script, but when I run through the importer, I get the exact same results…
I decided to come up with a sql solution and simply updated the source database to convert the ibp bbcode quote blocks with <quoteblock>’s
From there, I’ll be exporting the tables and importing them into the live forum.
Of course, I’ll backup the existing tables to be safe. “
Still a few issues, though.
1. Fixed! Some forums show 0 topics, although when opened, shows several posts. Added an empty topic, then deleted it to reset the number of posts.
2. Sub-forums are showing before the parent when the parent forum is opened. The settings are correct and show them to be after the parent. The list of forums show them correctly – it’s only when the parent is opened. Is this by design?
3. Not all avatars are importing. Had to add them manually.
4. Some users have no option to add an avatar. As I’ve been adding them, I’m getting this – ‘You may update your avatar from the choices below’ but there are no options listed. This is only on some. At first I thought it a permission error, but others in the same user group are able to be added. We have a group called All Forums which have perms set to almost everything that admins can do. Do these also need to be in the member group as well? From testing, it seems to be the case.