PDA

View Full Version : Quick question regarding the editor interface


dead7
02-12-2006, 02:05 PM
I'm very new to running a forum and much to our surprise our board has really grown, quickly.

I don't have any moderators yet, just my fiance and I are running it. I know we need to get some staff now that its making great cash, however I do have one question to ask you pros here.

We get some rogue users that just feel that using the largest text possible and the most annoying color combo's when posting to some threads. How can I limit the font size that the editor (WYSIWYG) offers to users? I guess if I can limit that, the color wouldn't matter, but when they use like a 22px; font in bright red, it gets annoying.

I've done a lot of searching on here and perhaps its just me but all i can really find is signature posts, nothing really about the WYSIWYG itself. So if anyone could please help us we'd greatly appreciate it, again our goal is to limit the font size or rather just options in general inside of the editor for posting.

I've looked at the editor options, the message and posting interface options but none really control how large these people can post.

Thank you so much for any help you can offer us.

Marco van Herwaarden
02-12-2006, 02:45 PM
Ok, i will let you into a little secret hidden functionality if vBulletin (anyone who already knew this, please post so).

To globally limit the choice of fontsize, do the following:
- Goto AdminCP->Styles & Templates->Style Manager
- On your style choose Add New Template from the dropdown menu
- Fill for the new Template title: editor_jsoptions_size
- In the field for the Template content, fill in the fontsizes you want to allow, each on a seperate line. For example to only allow sizes 2,3 & 5:
2
3
5
Now save the template.

You might need to repeat this for each style you are using.

Members can now only use the defined sizes.

For the allowed fonts there is a similar trick, only you will need to create a 'editor_jsoptions_font' template.

dead7
02-12-2006, 02:53 PM
Thank you so much, I had no idea this functionality existed. Thanks for taking the time and detailing this out, we appreciate it very much.

-edit-

Just tested, works perfectly! THANK YOU!!!!!!!!

Marco van Herwaarden
02-12-2006, 03:02 PM
I had no idea this functionality existed.
I think not many knew about it. I didn't know myself until 15 minutes ago, and i know most of how vB works.

Princeton
02-12-2006, 07:36 PM
you could just modify the STYLE & TEMPLATES / (dropdown menu) TOOLBAR MENU OPTIONS

however, users will still be able to manually enter a bigger font size; the best option would be to turn off [SIZE] in vBulletin Options and create new bbcodes

dead7
02-12-2006, 08:50 PM
The option is above that Marcho mentioned is far better for a practical way to do it with one new easy template.

Thanks for everyones suggestions.

Princeton
02-12-2006, 08:52 PM
you don't need to edit/create any templates ... by editing the STYLE & TEMPLATES / (dropdown menu) TOOLBAR MENU OPTIONS you are actually editing the editor_jsoptions_size template (this template is hidden)

Marco van Herwaarden
02-12-2006, 09:27 PM
FFS now that is an option i seem to have missed all these years. Think i never scrolled down after all the css stuff.

Will leave this open for a little so all can have a laugh before i delete it.