Announcement

Collapse
No announcement yet.

After import, IMG tag not working?

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

  • mudassar
    replied
    Thank you very much

    Originally posted by Batouchu View Post
    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)

    Thanks
    you have solved a very big problem man

    thank you soo much

    Leave a comment:


  • ntv1211
    replied
    Originally posted by Batouchu View Post
    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)

    I tried but no luck here. Anyone else got luck?

    Leave a comment:


  • bdaw_com
    replied
    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 24 Mar '08, 2:02am. Reason: fixed it!!!

    Leave a comment:


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

    Leave a comment:


  • Jerry
    replied
    Thanks, curious though as that should be caught ! I'll look into it.

    Leave a comment:


  • Batouchu
    replied
    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]

    Leave a comment:


  • Jerry
    replied
    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.

    Leave a comment:


  • Batouchu
    replied
    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, 3:59pm.

    Leave a comment:


  • Batouchu
    replied
    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

    Leave a comment:


  • Dylan Leblanc
    replied
    Yes I had done that, but it didn't seem to change anything.

    Leave a comment:


  • Jerry
    replied
    Originally posted by Dylan Leblanc View Post
    Yes, it is.
    Have you rebuilt the post cache ?

    Leave a comment:


  • Dylan Leblanc
    replied
    Yes, it is.

    Leave a comment:


  • Jerry
    replied
    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 ?

    Leave a comment:


  • Dylan Leblanc
    replied
    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.

    Leave a comment:


  • Jerry
    replied
    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 ?

    Leave a comment:

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