MyBB Community Forums

Full Version: phpBB3 to MyBB 1.8 - Font size and smiles
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi! 

I used the merge system 1.8. I have some problems. One of then is the font size. It´s too big! 
And the smiles from PHP3, it´s showing the line code.

Look the prints:

[attachment=34495] [attachment=34496]
The smilies are a known issue that will be fixed in the next version: https://github.com/mybb/merge-system/issues/172

The font size codes simply are parsed differently. Apparently phpbb works with percentages (20% is small and 200% is big), however that can't be merged as we simply don't know what the default font size is. Therefore they are parsed to something similar which can be parsed by MyBB.
Is there a way to change the post´s font size?
You'd need to write a regex and loop through all posts or add that regex to the merge parser and rerun the merge system. However, as said, there's a difference between MyBB's size code and phpBB's code which means that it's not possible to properly change it.

MyBB's code: [size=x\]test[/size] would result in "font-size: {x+10}pt". Maximum is 50pt.
phpBB's code: [size=y\]test[/size] would result in "font-size: y%". And the post font size is usually in px AFAIK. Minimum is 20%, Maximum is 200%.