MyBB Community Forums
Convert phpbb 3 to mybb: font size problem... - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 Merge System Support (https://community.mybb.com/forum-141.html)
+------ Thread: Convert phpbb 3 to mybb: font size problem... (/thread-99639.html)



Convert phpbb 3 to mybb: font size problem... - martec - 2011-07-23

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?


RE: Convert phpbb 3 to mybb: font size problem... - ranjani - 2011-07-23

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%'



RE: Convert phpbb 3 to mybb: font size problem... - martec - 2011-07-23

(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%';