MyBB Community Forums

Full Version: Convert phpbb 3 to mybb: font size problem...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi...

i converted my forum to mybb...

but i have problem with font size...

In phpbb (correct)

<span style="font-size: 150%; line-height: normal">

After converted to mybb

<span style="font-size: 50pt;">
===========================

in editor...

Same in phpbb and mybb
[size=150]xxxxxx[/size]

how to fix the problem?
you have to run SQL queries to modify such contents (note : use with utmost care)

example : replacing aaaa with bbbb
UPDATE `mybb_posts` SET `message` = REPLACE(`message`,
 'aaaa', 'bbbb') WHERE `message` LIKE '%aaaa%'
(2011-07-23, 02:23 PM)ranjani Wrote: [ -> ]you have to run SQL queries to modify such contents (note : use with utmost care)

example : replacing aaaa with bbbb
UPDATE `mybb_posts` SET `message` = REPLACE(`message`,
 'aaaa', 'bbbb') WHERE `message` LIKE '%aaaa%'

thanks...

solved...

i put this code...

UPDATE `mybb_posts` SET `message` = REPLACE(`message`, 'size=50', 'size=xx-smal') WHERE `message` LIKE '%size=50%';
UPDATE `mybb_posts` SET `message` = REPLACE(`message`, 'size=85', 'size=x-small') WHERE `message` LIKE '%size=85%';
UPDATE `mybb_posts` SET `message` = REPLACE(`message`, 'size=150', 'size=medium') WHERE `message` LIKE '%size=150%';
UPDATE `mybb_posts` SET `message` = REPLACE(`message`, 'size=200', 'size=large') WHERE `message` LIKE '%size=200%';