flavine
flavine
Posts: 6

5/26/2012
After updating to version 7.2.15, I noticed the 'last edit' post shows <em> tags, example: "<em>edited by xxx on 7/4/2012</em>". What can I do about it?

Edit: I can replace all <em> and </em> with [ i ] and [ /i ] respectively and it will appear fine. I've included the SQL scripts here in case anyone else encounters this problem.

UPDATE [AspForum].[dbo].[ForumMessages]

SET Body = REPLACE(CAST(Body AS nvarchar(max)), '<em>', '[ i ]')
WHERE Body LIKE '%<em>%'

UPDATE [AspForum].[dbo].[ForumMessages]
SET Body = REPLACE(CAST(Body AS nvarchar(max)), '</em>', '[ /i ]')
WHERE Body LIKE '%</em>%'




edited by flavine on 6/3/2012
0 link






Powered by Jitbit Forum 8.3.5.0 © 2006-2013 Jitbit Software