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

Post Content Find / Replace 1.0.0

Allows an administrator to do a regular expression find and replace in the content of all posts.

  1. Kier

    Kier XenForo Developer Staff Member

    Kier submitted a new resource:

    Post Content Find / Replace (version 1.0.0) - Allows an administrator to do a regular expression find and replace in the content of all posts.

    Read more about this resource...
    Neutral Singh, optrex, MITK and 51 others like this.
  2. JVCode

    JVCode Well-Known Member

    Nice, thanks!
  3. Brogan

    Brogan XenForo Moderator Staff Member

    Very nice!

    That will save me having to do SQL queries directly on the table.
    CyberAP likes this.
  4. Digital Doctor

    Digital Doctor Well-Known Member

    Someone with more knowledge of how to write the expressions should do the
    "Top 10" replacements as examples.
    leemy likes this.
  5. CyberAP

    CyberAP Well-Known Member

    Tried to replace some bbcodes. I just used your expression but I uncheked the box to test the feature. I got the list with all the changes and then checked the box. I launch replacement once again but I get the same page, with no changes, just the list of replacement. I made this several times, no changes.
  6. Omri.L

    Omri.L Active Member


    Could be ever nicer if it was applied on the language system :)
  7. Dismal Shadow

    Dismal Shadow Active Member

    I was wondering how it would work if I replace with /me code...

    /me wants some cookies.

    *Dismal Shadow wants some cookies.
    JackieChun likes this.
  8. Booth

    Booth Well-Known Member

    This is very useful :)
  9. Krochinzky

    Krochinzky Member

  10. Mark.B

    Mark.B Well-Known Member


    I'd like to know who pilots the "Kier" robot overnight. Obviously someone pilots it during the day to write the XenForo code, but clearly someone else must pilot it overnight to write addons as well! :)
  11. Floris

    Floris Guest

    Thanks Kier for making this. Finally no more [ame] and properly embedded video!
  12. Dark_Hunter

    Dark_Hunter Member

    Looks in SS, Beta 2!!!!!
    soloarquitectura likes this.
  13. ArnyVee

    ArnyVee Well-Known Member

    Can this work as the "relevant replacement" feature as in vB? I want to replace certain text with images or links or other text automatically when posted. Would I simply fill in the "quick find" and "replacement field"?
  14. Wired

    Wired Active Member

    Is this something you run every once in a while, or it'll run as a cron job occasionally after the first run?

    Is it permanent, or temporary (like the Replacement Variable Manager in vB)?
  15. Brogan

    Brogan XenForo Moderator Staff Member

    This tool is to permanently replace post content after import, for example if you wanted to replace a BBCode tag, so it would only be run once for each instance.
    Grover likes this.
  16. Floris

    Floris Guest

    It's a one time think.

    Old vBulletin AME plugin made youtube links like:

    [ame=http://youtube ETC] title [/ame]

    this tool lets you convert this after the import to:


    Run it once, and you're done.

    Only install this when you need it, disable it or uninstall it when you're done.
  17. DSF

    DSF Well-Known Member

    That's very fine. :)
    Until now i must running after import 28 querys direct to the DB for correction's :oops:
  18. soloarquitectura

    soloarquitectura Active Member

    It is so interesting that should be included in the Beta 2 by default ;)
  19. Brogan

    Brogan XenForo Moderator Staff Member

    It has been released as an add-on so those who wish/need to use it are able to.
    I don't see the need to make it a core feature as a lot of owners will never make use of it, or if they do it will be only once after importing.
  20. soloarquitectura

    soloarquitectura Active Member

    Hmmm. You're probably right and this is a tool for occasional use.
    It happens that lately I have replaced a lot of text using phpMyAdmin :(

Share This Page