After import, IMG tag not working?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • frodosringfinger
    New Member
    • Oct 2007
    • 5
    • 3.6.x

    After import, IMG tag not working?

    The IMG tag works fine with new posts, when old posts simply show:

    Code:
    [img]image url[/img]
    Is there a way to fix that? Way, way TOO many posts to go back and edit manually.

    • Type of import: clean
    • Source board system and version: phpBB3 RC5
    • Target version: VB 3.6.8 (latest release)
    • No SQL errors or anything, just old posts dont show images, they show the [img] brackets around a plain text url.
    Last edited by frodosringfinger; Fri 26 Oct '07, 6:31pm.
  • lasto
    Member
    • Aug 2003
    • 44

    #2
    have u turned on HTMl for that section

    forum manager then go to forums - enable html code

    Comment

    • Jerry
      Senior Member
      • Dec 2002
      • 9137
      • 1.1.x

      #3
      Originally posted by frodosringfinger
      The IMG tag works fine with new posts, when old posts simply show:
      Have you rebuilt the post cache ?
      I wrote ImpEx.

      Blog | Me

      Comment

      • Dylan Leblanc
        Member
        • Jul 2002
        • 40
        • 5.6.4

        #4
        Is there any solution to this problem? I have had the same thing happen upgrading from the same phpBB RC 5 to vBulletin 3.6.8.

        All bbcode tags that were imported are displaying as bbcodes in the posts, they aren't being rendered as images or quotes or whatever they should be. If I edit a post the bbcode is then rendered properly.
        • Type of import: clean
        • Source board system and version: phpBB3 RC5
        • Target version: VB 3.6.8 (latest release)
        • No SQL errors
        When viewing an imported post in vBulletin this is what images look like:

        [img]http://i14.photobucket.com/albums/a340/tGuerrero/PA270455.jpg[/img]
        [img]http://i14.photobucket.com/albums/a340/tGuerrero/PA270456.jpg[/img]
        [img]http://i14.photobucket.com/albums/a340/tGuerrero/PA270459.jpg[/img]

        They look just like that. The IMG tag is clearly visable, instead of the image appearing, and this happens with all bbcodes that were used.

        Comment

        • Jerry
          Senior Member
          • Dec 2002
          • 9137
          • 1.1.x

          #5
          Originally posted by Dylan Leblanc
          Is there any solution to this problem? I have had the same thing happen upgrading from the same phpBB RC 5 to vBulletin 3.6.8.

          All bbcode tags that were imported are displaying as bbcodes in the posts, they aren't being rendered as images or quotes or whatever they should be. If I edit a post the bbcode is then rendered properly.
          • Type of import: clean
          • Source board system and version: phpBB3 RC5
          • Target version: VB 3.6.8 (latest release)
          • No SQL errors
          When viewing an imported post in vBulletin this is what images look like:

          [img]http://i14.photobucket.com/albums/a340/tGuerrero/PA270455.jpg[/img]
          [img]http://i14.photobucket.com/albums/a340/tGuerrero/PA270456.jpg[/img]
          [img]http://i14.photobucket.com/albums/a340/tGuerrero/PA270459.jpg[/img]

          They look just like that. The IMG tag is clearly visable, instead of the image appearing, and this happens with all bbcodes that were used.
          If you click to edit the post, do nothing to it then save it again it is ok ?
          I wrote ImpEx.

          Blog | Me

          Comment

          • Dylan Leblanc
            Member
            • Jul 2002
            • 40
            • 5.6.4

            #6
            Yes, it is.

            Comment

            • Jerry
              Senior Member
              • Dec 2002
              • 9137
              • 1.1.x

              #7
              Originally posted by Dylan Leblanc
              Yes, it is.
              Have you rebuilt the post cache ?
              I wrote ImpEx.

              Blog | Me

              Comment

              • Dylan Leblanc
                Member
                • Jul 2002
                • 40
                • 5.6.4

                #8
                Yes I had done that, but it didn't seem to change anything.

                Comment

                • Batouchu
                  New Member
                  • Jan 2008
                  • 8

                  #9
                  I have a similar problem, is there a quick fix for it?

                  I tried creating a custom bbcode mimicking the IMG tag, and it works, but then plugins like ncode resize don't work anymore :/

                  Configuration:

                  PHPBB3 Gold
                  VBulletin 3.6.8 (empty)
                  Mysql

                  Comment

                  • Batouchu
                    New Member
                    • Jan 2008
                    • 8

                    #10
                    I stumbled upon the fix by accident, while looking for something else in the DB

                    Basically, every url appears just fine on the forums, but in the db (important part) semicolons and dots show as their html equivalents.

                    Try this only if:
                    a. you're familiar with mysql
                    b. you have backups
                    c. You're using mysql
                    d. YOU HAVE BACKUPS.


                    in your db, execute the queries:
                    UPDATE vb_post SET pagetext=REPLACE(pagetext,"& #46;",".")
                    UPDATE vb_post SET pagetext=REPLACE(pagetext,"& #58;",":")

                    (remove whitespaces)

                    (My vb tables all start by vb)
                    Last edited by Batouchu; Fri 11 Jan '08, 2:59pm.

                    Comment

                    • Jerry
                      Senior Member
                      • Dec 2002
                      • 9137
                      • 1.1.x

                      #11
                      Originally posted by Batouchu
                      Basically, every url appears just fine on the forums, but in the db (important part) semicolons and dots show as their html equivalents.
                      Can you give an example of the before and after ?

                      As that is something ImpEx should parse, so I could add it.
                      I wrote ImpEx.

                      Blog | Me

                      Comment

                      • Batouchu
                        New Member
                        • Jan 2008
                        • 8

                        #12
                        For instance, in the thread and message source, it would show as:

                        Code:
                        [I MG]http://mysite.com/myimage.jpg[/I MG]
                        In the DB it shows as: (whitespaces added so it shows sorta properly)

                        Code:
                        [IMG]http& #58;//mysite& #46;com/myimage& #46;jpg[/IMG]

                        Comment

                        • Jerry
                          Senior Member
                          • Dec 2002
                          • 9137
                          • 1.1.x

                          #13
                          Thanks, curious though as that should be caught ! I'll look into it.
                          I wrote ImpEx.

                          Blog | Me

                          Comment

                          • golgapy
                            New Member
                            • Dec 2007
                            • 2

                            #14
                            But editing each and every post is very time consuming task, is there any way to fix this with just one click?

                            Comment

                            • bdaw_com
                              New Member
                              • Jan 2008
                              • 7
                              • 3.6.x

                              #15
                              Originally posted by golgapy
                              But editing each and every post is very time consuming task, is there any way to fix this with just one click?
                              yes - easy to do but you must know mySQL

                              THANK YOU so much for this easy fix

                              fixed over 19,000 posts in less than 2 seconds
                              Last edited by bdaw_com; Mon 24 Mar '08, 1:02am. Reason: fixed it!!!

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...