Hi there. The most common result is that links are broken, and images or entire pages don't load properly. Therefore I want to remove IMG BB code from all images until a certain date. As you can see in the below example between the years 2000 and 2015. Now we need to make a following SQL query to get the result but I haven't tried it yet.
So what do you think about it? How does it work? Anyway. There's a whole lot of images and those pictures are crooked. So I mean, broken. Indeed, isn't there way to resolve this problem? If there is no such concrete action, I think I will have to use normal query without timestamp. Or may never use it but at least I can think about it because of the terrible images problem we've been facing. As a result of this, I personally believe that, nothing is so terrible as a broken image in a community forum.
Code:
UPDATE xf_post SET message = REPLACE(message,'[IMG]','')
AND post_date BETWEEN UNIX_TIMESTAMP('2000-12-06 00:00:00')
AND UNIX_TIMESTAMP('2015-12-08 00:00:00');
Code:
UPDATE xf_post SET message = REPLACE(message,'[/IMG]','')
AND post_date BETWEEN UNIX_TIMESTAMP('2000-12-06 00:00:00')
AND UNIX_TIMESTAMP('2015-12-08 00:00:00');
So what do you think about it? How does it work? Anyway. There's a whole lot of images and those pictures are crooked. So I mean, broken. Indeed, isn't there way to resolve this problem? If there is no such concrete action, I think I will have to use normal query without timestamp. Or may never use it but at least I can think about it because of the terrible images problem we've been facing. As a result of this, I personally believe that, nothing is so terrible as a broken image in a community forum.