Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
A Suspect Request has been Rejected
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 12, 2012 - 9:25 pm

did you try it with it off?  the utf-8 setting is for mostly foreign languages with cyrillic or other character types...  may not matter, but worth a shot...

If that does not help, afraid I will need to pass you on to Andy in the AM as he wrote the importer and knows it much better than I...

Avatar
Terri Stratton
Member
Free Members
sp_UserOfflineSmall Offline
Sep 12, 2012 - 10:02 pm

Thanks!  Here's his latest.  Hope it gives some hints.

He ran it with it both on and off -

same issue with the blockquotes. I have seen 29 instances where the blockquotes did convert properly and about 329 where they didn't. 

He sent a copy of the IPB backup if you need it.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 13, 2012 - 12:08 am

if you want to send the db to support at simple-press dot com, it will be there in the morning for Andy and he can take a look...

Avatar
Terri Stratton
Member
Free Members
sp_UserOfflineSmall Offline
Sep 16, 2012 - 2:51 pm

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.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 17, 2012 - 4:13 am

Terri Stratton said
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.

Whatever the reason - and it is very rare - if the post counts or last post details of a forum or topic do ever become scrambled then go to the forum admin > toolbox > housekeeping and rebuild the indexing for that forum.

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?

Where items display is controlled by the theme templates you are using so you can always move things around to your own preference. But I am not totally sure what you mean here... Can you provide a screenshot?

3. Not all avatars are importing.  Had to add them manually.

If you mean imported from the IPB system then we don't even try to import avatars. The scope if what is and is not imported is shown on the importer screen when started up.

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.

Avatars are controlled by the avatar settings in the forum admin > Profile section. This is where you set the preferences and type you want to use. If you want to allow your users to upload avatars so they are stored on your own server then they will also need the permission to upload avatars turned on in whatever permission sets require it. SP Admins have all permissions turned on by default. So - what are your avatar settings?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Terri Stratton
Member
Free Members
sp_UserOfflineSmall Offline
Sep 17, 2012 - 2:47 pm

Found the issue on this one as well.  Use error, of course.  :)   One of the unused user groups did not have perms assigned.  Assigned to a different group.  Now fixed.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 17, 2012 - 6:40 pm

Not sure which issue it fixed but glad to hear it anyway!

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 22, 2013 - 5:58 pm

Thanks for the kind words! Nice to hear now and then! ;)

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625