Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-12-2006, 02:05 PM
dead7 dead7 is offline
 
Join Date: Aug 2005
Location: Detroit
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Quick question regarding the editor interface

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.
Reply With Quote
  #2  
Old 02-12-2006, 02:45 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Code:
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.
Reply With Quote
  #3  
Old 02-12-2006, 02:53 PM
dead7 dead7 is offline
 
Join Date: Aug 2005
Location: Detroit
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!!!!!!!!
Reply With Quote
  #4  
Old 02-12-2006, 03:02 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dead7
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.
Reply With Quote
  #5  
Old 02-12-2006, 07:36 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 02-12-2006, 08:50 PM
dead7 dead7 is offline
 
Join Date: Aug 2005
Location: Detroit
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 02-12-2006, 08:52 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
  #8  
Old 02-12-2006, 09:27 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:10 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03913 seconds
  • Memory Usage 2,221KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete