Announcement

Collapse
No announcement yet.

After import, IMG tag not working?

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

  • 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 26th Oct '07, 6:31pm.

  • #2
    have u turned on HTMl for that section

    forum manager then go to forums - enable html code

    Comment


    • #3
      Originally posted by frodosringfinger View Post
      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


      • #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


        • #5
          Originally posted by Dylan Leblanc View Post
          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


          • #6
            Yes, it is.

            Comment


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

              Blog | Me

              Comment


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

                Comment


                • #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


                  • #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 11th Jan '08, 2:59pm.

                    Comment


                    • #11
                      Originally posted by Batouchu View Post
                      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


                      • #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


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

                          Blog | Me

                          Comment


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

                            Comment


                            • #15
                              Originally posted by golgapy View Post
                              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 24th Mar '08, 1:02am. Reason: fixed it!!!

                              Comment

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