Simple Machines Community Forum

SMF Support => Converting to SMF => IPB => Topic started by: KnightBob on October 03, 2011, 05:05:02 PM

Title: Convert from IPB 3.1.4 but Emoticons gone wierd
Post by: KnightBob on October 03, 2011, 05:05:02 PM
Hello,

When I converted my community to SMF, all me emoticons changed into this:
[img]http://vipermoddingteam.com/forum/public/style_emoticons/[#EMO_DIR#]/biggrin.gif\\\' class=\\\'bbc_emoticon\\\' alt=\\\':D\\\' /]

Also, the all the users post count have been reset to 0.

Bob
Title: Re: Convert from IPB 3.1.4 but Emoticons gone wierd
Post by: kat on October 04, 2011, 05:31:42 AM
You might get the post-counts right, if you go to Admin>Forum maintenance and "Recount all forum totals and statistics", Bob.

I'm not sure that I understand what you're saying about the smilies, I'm afraid. :(
Title: Re: Convert from IPB 3.1.4 but Emoticons gone wierd
Post by: KnightBob on October 04, 2011, 10:19:19 AM
I tried it, but is doesnt update the post count.

Before the conversion, was the :D emoticon: :D. But after the conversion, all the emoticons changed into:
[img]http://vipermoddingteam.com/forum/public/style_emoticons/[#EMO_DIR#]/biggrin.gif\\\' class=\\\'bbc_emoticon\\\' alt=\\\'\\\' /]
Title: Re: Convert from IPB 3.1.4 but Emoticons gone wierd
Post by: kat on October 04, 2011, 10:22:26 AM
Yuk!

Sorry, mate. Not a clue about that one! :(
Title: Re: Convert from IPB 3.1.4 but Emoticons gone wierd
Post by: KnightBob on October 04, 2011, 10:45:51 AM
Ok, I will try if I can find a way to change all the simple.

Thank you for your help ;)
Title: Re: Convert from IPB 3.1.4 but Emoticons gone wierd
Post by: Oldiesmann on October 04, 2011, 12:48:25 PM
Basically, you'd need to write a script that uses regular expressions to match and replace the bad code (pull the post from the database, find the bad code, find the alt text, replace the bad code with the alt text, update the post).