Swifty550 Member May 24, 2013 #1 Is there a simple SQL or mod to correct it to Xenforo's tags? Thanks.
P Paul B XenForo moderator Staff member May 24, 2013 #2 Are all of the opening img tags identical? If so, you can do a simple SQL query to replace them: Code: UPDATE xf_post SET message = REPLACE(message,'current_content','new_content'); Replacing current_content and new_content as required. Standard hotlinked images in XenForo simply use [IMG]https://www.google.co.uk/images/srpr/logo4w.png[/IMG] Make sure you take a backup first. Upvote 0 Downvote
Are all of the opening img tags identical? If so, you can do a simple SQL query to replace them: Code: UPDATE xf_post SET message = REPLACE(message,'current_content','new_content'); Replacing current_content and new_content as required. Standard hotlinked images in XenForo simply use [IMG]https://www.google.co.uk/images/srpr/logo4w.png[/IMG] Make sure you take a backup first.
Jake Bunce Well-known member May 24, 2013 #3 Use Kier's addon: http://xenforo.com/community/threads/post-content-find-replace.6548/ Quick Find: [img width Regular Expression: #\[img width.*\]([^\[]+)\[/img\]#siU Replacement String: [img]\1[/img] That will match those img tags with dimensions and remove the dimensions (which XF doesn't support). Upvote 0 Downvote
Use Kier's addon: http://xenforo.com/community/threads/post-content-find-replace.6548/ Quick Find: [img width Regular Expression: #\[img width.*\]([^\[]+)\[/img\]#siU Replacement String: [img]\1[/img] That will match those img tags with dimensions and remove the dimensions (which XF doesn't support).