Advertisement:

Author Topic: Convert from IPB 3.1.4 but Emoticons gone wierd  (Read 4221 times)

Offline KnightBob

  • Semi-Newbie
  • *
  • Posts: 22
Convert from IPB 3.1.4 but Emoticons gone wierd
« 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

Offline K@

  • Lead Support Specialist
  • SMF Master
  • *
  • Posts: 38,750
  • Gender: Male
  • Nothing (Or nothing you can see)
Re: Convert from IPB 3.1.4 but Emoticons gone wierd
« Reply #1 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. :(

Offline KnightBob

  • Semi-Newbie
  • *
  • Posts: 22
Re: Convert from IPB 3.1.4 but Emoticons gone wierd
« Reply #2 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:
Code: [Select]
:D. But after the conversion, all the emoticons changed into:
Code: [Select]
[img]http://vipermoddingteam.com/forum/public/style_emoticons/[#EMO_DIR#]/biggrin.gif\\\' class=\\\'bbc_emoticon\\\' alt=\\\'\\\' /]

Offline K@

  • Lead Support Specialist
  • SMF Master
  • *
  • Posts: 38,750
  • Gender: Male
  • Nothing (Or nothing you can see)
Re: Convert from IPB 3.1.4 but Emoticons gone wierd
« Reply #3 on: October 04, 2011, 10:22:26 AM »
Yuk!

Sorry, mate. Not a clue about that one! :(

Offline KnightBob

  • Semi-Newbie
  • *
  • Posts: 22
Re: Convert from IPB 3.1.4 but Emoticons gone wierd
« Reply #4 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 ;)

Offline Oldiesmann

  • Site Team
  • SMF Super Hero
  • *
  • Posts: 23,221
  • Gender: Male
  • Ask me about the function DB :)
    • oldiesmann on Facebook
    • http://www.linkedin.com/in/michaeleshom on LinkedIn
    • @oldiesmann on Twitter
    • Archie Comics Fan Forum
Re: Convert from IPB 3.1.4 but Emoticons gone wierd
« Reply #5 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).