1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Updating Smilies

Discussion in 'XenForo Questions and Support' started by ibaker, Feb 5, 2013.

  1. ibaker

    ibaker Well-Known Member

    I have a daunting task and I have no idea the best way to go about it.

    Over many years my list of smilies has grown to around 216 and they are now not only far too many for what I want but also many of them are no longer appropriate for my site plus the :code: used on many of them are not descriptive of what they are.

    So I now have a list of 130 smilies that I want to use...some are from the current list, some are new, some have the same :code: and some don't.

    Any ideas on the best way to go about updating the 222,000 posts that I have to the new smilies?

    Warning to others...when creating your smilies list for your site...make sure you give this area a considerable amount of thought for the future and don't get caught out.
    cclaerhout likes this.
  2. MagnusB

    MagnusB Well-Known Member

    I would think the content replacement tool could be used for that? Someone better qualified can probably give you a better answer, but this gives you at least somewhere to start to look.
    ibaker likes this.
  3. cclaerhout

    cclaerhout Well-Known Member

    The tool that Kier wrote, "Post Content Find / Replace", is going to be your friend to perform such a task.

    You will just have to look for your old smiley code, then replace with the new one. If you want to replace several of your old smilies by a same one, it can be done with regex ie:
    ibaker, 8thos and Jake Bunce like this.
  4. DRE

    DRE Well-Known Member

  5. ibaker

    ibaker Well-Known Member

    Thanks Guys...working through this, a painful process but it is working...thanks again
  6. melbo

    melbo Well-Known Member

    I consolidated a bunch of mine when I imported. The cool thing about XF smilies is that you can trigger them from multiple codes so when I found one that was no longer appropriate, I attached its code to a different one. When I was finished (by hand), I had no broken smilies on the site.

Share This Page