Announcement

Collapse
No announcement yet.

Posts show \" and \'

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Posts show \" and \'

    I've imported from Fireboard to vBulletin.

    But, when I view the posts, any post that was imported and that uses a single or double quote has a "\" next to it.

    For example:

    Don't looks like Don\'t
    Can't looks like Can\'t
    "This is in quotations" looks like \"This is in quotations\"

    Any way to fix this?

  • #2
    Have you tried the cleaner script?
    http://www.vbulletin.com/docs/html/main/impex_cleaner

    Comment


    • #3
      Tried that...unfortunately when I add the slash ("\"), it causes the script to crash.

      Comment


      • #4
        Probably because of the quote.

        Try:
        PHP Code:
        $replacer = array( 
                    
        '\"'    => '"'
        ); 
        I'm still not sure if that will work, but its worth a shot.

        Comment


        • #5
          Still got errors with cleaner.php...

          Solved it, though, by running the following command in mySQL:

          Code:
          update post set pagetext = replace(pagetext, "\\", "");

          Comment

          Related Topics

          Collapse

          Working...
          X