XF 2.1 how do I Silent Edit 194,851 post messages

rootsxrocks

Active member
I don't really want to change them but I would like to make old links Unfurl and the broken video links embed
this works when I edit any old post and save without modifying, can I make this happen automatically.
or am I missing some obvious way this is done Rebuild threads didn't work
 
kinda for a similar purpose but might be a different area, can I find and replace a string of text in every post, like urlA.com/subfolder/image.* to urlB.com/subfolder/image.*
I tried doing it in phpmyadmin but it broke the databases every time.
and wither I can do that or not can I just remove all of certian bb codes ?

 
This should work in phpmyadmin unless the urls contain problematic symbols:
UPDATE xf_post SET message = REPLACE(message, 'urlA.com/subfolder/image.', 'urlB.com/subfolder/image.');
 
How about doing this:
UPDATE xf_post SET message = REPLACE(message, 'http://old.com/forum/images/imported/2019/02/', 'urlB.com/subfolder/');
Test on your DB copy. Please not your live one.
 
Back
Top Bottom