Log in

View Full Version : Modification To Limit Font Size in Posts?


DinarMet
12-27-2006, 11:39 PM
Is the a way to limit the font sizes available to members in vBulletin or is there a modification?

Too many members are using the 7 FONT to simply get attention and it's really annoying a lot of my good members. I would like to limit the size to 4 to allow "some emotion" but 7 just isn't necessary.

Any help would be greatly appreciated.

DM

DinarMet
01-04-2007, 03:41 AM
So is there any way for me to limit font sizes for messages?

StrifeX
01-04-2007, 04:43 AM
Well, you can simply go into the Admin CP > Usergroup Manager and manually modify each usergroups allowed size for that code particularly. Just quickly change it from 7 to 4 for any usergroups you want to abide by that (probably only registered users), and you're good!

DinarMet
01-04-2007, 03:06 PM
Thanks so much!

:D

DinarMet
01-05-2007, 03:58 PM
Well, you can simply go into the Admin CP > Usergroup Manager and manually modify each usergroups allowed size for that code particularly. Just quickly change it from 7 to 4 for any usergroups you want to abide by that (probably only registered users), and you're good!

I tried this but it appears it is only for the signature and not the "messages being posted".

The drop down box still gives 1 through 7 font size.

Is there any way to limit fonts sizes in messages being posted?

Just for clarification this is what I would like to stop

Sorry but just and example.

:cross-eyed:

Tim1418
03-02-2007, 06:38 AM
I would also be interested in a mod/hack that stops this. I have been looking for the very same thing.

criscokid
03-03-2007, 12:00 PM
This would be a hugely valuable feature / mod!

fasteddie
03-15-2007, 02:51 AM
A mod for this would be highly useful! :)

ConqSoft
03-15-2007, 02:54 AM
You can limit what font sizes show in the dropdown, but you can't limit people from manually changing the font size in the SIZE tag to a higher number.

If you want to remove it from the dropdown, which will stop most people, go to your Style Manager and choose All Style Options from the dropdown for your style(s). Scroll all the way to to bottom and you'll see the font size list.

fasteddie
03-17-2007, 06:00 AM
Preventing the manual entering of large font sizes is the mod I'm looking for. Some sizes are just a bit too big...

Smitty
04-12-2008, 06:15 PM
Well, you can simply go into the Admin CP > Usergroup Manager and manually modify each usergroups allowed size for that code particularly. Just quickly change it from 7 to 4 for any usergroups you want to abide by that (probably only registered users), and you're good!
I think that only has settings for Signature limitations.

Lynne
04-12-2008, 06:21 PM
Have you tried manually removing it from the file /clientscript/vbulletin_textedit.js? It is defined around line 1888:
this.translate_fontsize = function(csssize)
{
switch (csssize)
{
case '7.5pt':
case '10px': return 1;
case '10pt': return 2;
case '12pt': return 3;
case '14pt': return 4;
case '18pt': return 5;
case '24pt': return 6;
case '36pt': return 7;
default: return '';
}
}Remove the cases you don't want to allow or set them to the font size you want.

(warning: I haven't tried this myself. I'm just assuming it should work.)

oldengine
05-16-2008, 10:20 PM
Tried that and it didn't prevent [SIZE=7 ] command. Everything worked as before.

Removed case"18pt":return 5;case"24pt":return 6;case"36pt":return 7;