Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

Reply
 
Thread Tools
Default Posting Font Details »»
Default Posting Font
Version: 1.0.1, by JJR512 JJR512 is offline
Developer Last Online: Jun 2006 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-03-2005 Last Update: 10-03-2005 Installs: 24
Template Edits
 
No support by the author.

This is a very simple hack. In fact it's almost embarrassing to call it a hack.

In a nutshell, this gives your members the ability to select a font face in which all of their messages will appear. This includes not only new messages after they select the font, but also any of their old messages, too, because the font they select is applied to their messages in the postbit template at the time they are viewed.

Installing involves creating a new custom profile field and a modification to the postbit and/or postbit_legacy template(s).

NOTE: If anyone would like to show me how to auto-populate the font selection list with the currently installed fonts, I'd be glad for the tutorial. (As it is now, you have to copy the list of fonts from the style editor into the custom profile field, which works but is not elegant.)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 10-08-2005, 11:54 AM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't say that's possible but it's a good idea.
Reply With Quote
  #23  
Old 10-08-2005, 09:27 PM
The Wise One The Wise One is offline
 
Join Date: Jun 2003
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i sent him what i did for the color. if he doesnt post it by monday morning (1030 am eastern) then ill put up my color mod addition.
Reply With Quote
  #24  
Old 10-10-2005, 02:20 PM
The Wise One The Wise One is offline
 
Join Date: Jun 2003
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is what i did to get the color options. the file is attached.

*Note: this is an add on to the original mod. all i did was replicate the instructions from the original mod and modified where appropriate.
Reply With Quote
  #25  
Old 10-10-2005, 05:56 PM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NuclioN
I wonder if it is possible to post with fonts that are on the server and not on a member's computer, so it doesn't matter what they choose.
Not really. The problem is that different platforms (Windows, Macintosh, Linux, etc.) have their own sets of fonts. The other part of the problem is that the website tells the member's internet browser what font to use, so the font has to be on the member's computer.

From the point of view of your question, the only way to guarantee font compatibility would be to make each of the fonts that are optional on your message board be downloadable from your site. However, you then have to deal with legal and licensing issues, as they are not all free. My preferred font, for example, is Palatino Linotype, which is part of the standard font options available in vBulletin. This font is copyright Microsoft and has been included with Windows since either ME or 2000. I don't think you can legally distribute it.
Reply With Quote
  #26  
Old 10-12-2005, 08:20 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In this list of yours, there shouldn't be any fonts that are not universal and that cannot be found on some of the computers out there...
Reply With Quote
  #27  
Old 10-13-2005, 03:07 PM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dark Visor
In this list of yours, there shouldn't be any fonts that are not universal and that cannot be found on some of the computers out there...
I understand that. But please remember that this list is not "mine"; rather, it is the list provided by vBulletin itself. My instructions say to copy the list of fonts from the style settings. This is the list of fonts that a user can select from the message editor when posting a message.

Anyone installing this hack is free to modify the list of fonts available to the user to select in his/her usercp. You can remove some names, you can add other names. Just remember that there are very few truly universal fonts, and not everything in the list may be available to everyone. But that same warning applies to the fonts you have available to users to select from the message editor when they're composing a message. If there's a font you don't want to be available to be in a post, you should remove that font name from your style settings; therefore, when you copy that list into this hack, that font won't be available there, either.
Reply With Quote
  #28  
Old 10-13-2005, 08:09 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any update on this one so far?
Reply With Quote
  #29  
Old 10-13-2005, 08:18 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
it is the list provided by vBulletin itself.
Oh.. Sorry.
[high]* akanevsky goes to file a complaint with Jelsoft [/high]
Reply With Quote
  #30  
Old 10-13-2005, 09:44 PM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aftermath
Any update on this one so far?
If you're referring to the colors request, see post #23 above.
Reply With Quote
  #31  
Old 10-13-2005, 09:47 PM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dark Visor
Oh.. Sorry.
[high]* Dark Visor goes to file a complaint with Jelsoft [/high]
...On the other hand, if you can show me how to get the font selection list part of my hack to automatically polulate with the same list of installed fonts for the style, I'd be very interested to see that. This way, when installing the hack, one wouldn't have to copy the list, one would only have to install the hack. Also if the font list was ever changed, the font selection list part of the hack would also change, too. As it is now, if you remove fonts or add fonts to the board itself, you'd have to make those same changes to the settings for the custom profile field.
Reply With Quote
Reply

Thread Tools

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 08:21 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07678 seconds
  • Memory Usage 2,304KB
  • Queries Executed 27 (?)
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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_postinfo_query
  • fetch_postinfo
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete