I just converted a phpBB board to Drupal (using the phpbb2drupal module) and noticed that all [size] tags generate huge letters.

Reason is that phpBB seems to be calculating percentages. Its default sizes 'tiny' to 'huge' run from sizes 50 to 200.

It would keep the bbcode module 'more or less compatible' to support this... Currently, size values are cut off at 48 (making them all 48px). We could make anything above 48 into a percentage instead of a 'px' value...

(or would this need to be made into a setting?)

Tested on 6.x-1.2, but a glance at the 7.x-dev source suggests that the patch applies there too...

CommentFileSizeAuthor
#1 bbcode-bigsizes.patch1.14 KBroderik

Comments

roderik’s picture

StatusFileSize
new1.14 KB

.

StudioARE’s picture

I like the idea. Still have some legacy posts on my forum with enormous text, but now I don't really have the size option for my users..

In short: pointless comment, subbing. :)

-Are

phreadom’s picture

Same issue here. Applied to 7.x and it works like a charm. :) Thanks!

naudefj’s picture

Issue summary: View changes
Status: Needs review » Fixed

Patch applied. Thank you so much!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.