The Arcive of vBulletin Modifications Site. |
|
Limiting font size Details »»
|
|||||||||||||||||||||||||
This hack allows you to limit the size tag so your users can't make posts with gigantic font sizes. :smoke: For example
[disable]Look at my really big font![/disable] would be parsed as though it were: [disable]Look at my really big font![/disable] It works everywhere bbcodeparse() is used, so signatures, posts etc will all be limited. It has only been tested on 2.2.9, though it should work on any version. :classic: Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Ahhh. Thats a glorious thing to see.
/me hits install button. |
|
#3
|
||||
|
||||
|
I tried that and when I used:
PHP Code:
and it became a size 3 instead of a smaller 1. |
|
#4
|
|||
|
|||
|
I updated the attachment, I used \d+ instead of \d\d+.
|
|
#5
|
|||
|
|||
|
Thanks I'll install
|
|
#6
|
||||
|
||||
|
One of my users is using the + operator to break the size limit. Maybe there is a better way?
PHP Code:
|
|
#7
|
||||
|
||||
|
Quote:
thank you for this excellent tip . |
|
#8
|
||||
|
||||
|
Ahh. Users have figured out how to break it and are telling each other.
mmmm. babysitting. |
![]() |
|
|