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

          • tonmo
            Unread Posts
            by tonmo
            I probably missed this, but I couldn't find it via search. In vb4 my registered users could see all unread posts. How can I provide this feature in vb5? Shouldn't Latest Activity offer a filter for...
            Sat 8th Jun '13, 4:46am
          • BlogTwits
            Today's Posts
            by BlogTwits
            On this forum there's a sublink "Today's Posts". On mine there isn't. I had a look at the sitebuilder but I can't see where to add it. Any ideas?
            Thu 17th Jul '14, 1:59am
          Working...
          X