Thread: new fonts
View Single Post
  #3  
Old 02-14-2009, 05:45 AM
TigerC10's Avatar
TigerC10 TigerC10 is offline
 
Join Date: Apr 2006
Location: Austin, TX
Posts: 616
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There isn't a way to "upload" new fonts. There are only a few "web-safe" fonts, which are pretty much all available in default vBulletin drop-down lists.

Code:
[font="courier"]hey, I'm writing in courier[/font]
[font="impact"]now I'm writing in impact[/font]
[font="tahoma"]gotta love Tahoma.[/font]
[font="verdana"]but not Verdana...  Verdana is a cheap rip off of Tahoma.[/font]
[font="Comic Sans MS"]Comic Sans MS!!![/font]
Results in...
hey, I'm writing in Courier
now I'm writing in Impact
gotta love Tahoma.
but not Verdana... Verdana is a cheap rip off of Tahoma.
Comic Sans MS!!!

But I'm going to show you a non-web-safe font...
This is Helvetica CE, it isn't available on default Windows installations, so you won't see a difference unless you've got it installed.
However it does work for me. I see a huge difference from the previous sentence and this one.


As you can see, adding fonts to a drop-down list for editors can be "dangerous". Some fonts aren't available on all computers, so don't go crazy with it. While you can tell it to use any font in the world, the font won't display to anyone unless that font is installed.


If bbCode is enabled in your shoutbox, then the font bbCode should work for them. They can specify any font, even non-web-safe fonts. However, only people with the fonts installed will see the font (try to stick with web-safe fonts).

As for modifying the drop down menu for what font to use, you'll have to find that for yourself. Your shoutbox probably isn't using any standard templates, so we can't really help - ask the maker of your shoutbox.



To add the fonts to your advanced editor for regular posts and such...

AdminCp -> Styles and Templates -> Style Manager -> (Style Drop Down Menu) Toolbar Menu Options
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01406 seconds
  • Memory Usage 1,774KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete