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 09-14-2005, 04:39 PM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default User-selectable default font for his/her posts

I've seen some requests for a hack that lets a user select a particular font (face, color, etc.) that all their posts would be in. I'm going to write this hack, but I'm looking for some input first.

I can conceive two different ways to do this hack:

1. A post by a user will always be displayed in the font that was the user's selected default at the time the message was posted.

2. A post by a user will display in the uer's currently selected default font at the time the message is displayed.

Which would you like? Vote above! Comment below!
Reply With Quote
  #2  
Old 09-14-2005, 04:52 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

3rd option - neither...
I think this will cause problems in the long run.

For example, colored text may look good for writer but it may not look good (unreadable) for viewer using another style.
Reply With Quote
  #3  
Old 09-14-2005, 08:42 PM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I make like Option #2, then I can make another option in the user cp options to override a user's default font and view the message in the forum's default style. Hope that makes sense.

But I'd like to point out, though it's probably obvious already, that this problem already exists if a user can set font colors in an individual post.

Or, if you are worried about that, then you might not want to install this hack in the first place.
Reply With Quote
  #4  
Old 09-14-2005, 09:01 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Option 1 would be my choice of the two.
Reply With Quote
  #5  
Old 09-14-2005, 09:04 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JJR512
If I make like Option #2, then I can make another option in the user cp options to override a user's default font and view the message in the forum's default style. Hope that makes sense.
Why bother? In the end, you will only confuse people.

Quote:
Originally Posted by JJR512
But I'd like to point out, though it's probably obvious already, that this problem already exists if a user can set font colors in an individual post.
yep, just imagine if all posts had this problem

If you really want to have this option for yourself (and others) ... I recommend giving admins the ability to choose their own "global" colors. For example, if they have a black background they will not want to have black as an option.

Regarding font-family, some fonts appear smaller in some configurations and may seem unreadable -- so, I suggest using only fonts that have the same height. For example, Garamond may appear unreadable at 12px to some people.
Reply With Quote
  #6  
Old 09-15-2005, 02:55 AM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sorry, after thinking about this some more, I realize it makes more sense for me to use the second choice as the way to do this.

The way I had envisioned the first choice involved inserting the default font information in the message text when the post is saved. I decided I didn't like the permanence of that. By making the post display with whatever is the poster's default font at the time the message is displayed, the message text itself is not messed with, and this allows for greater flexibility, because it's dynamic at the time of display. Additionally, it seems to me that when a user changes his default font, he'd like it to apply to all his/her existing posts as well. This also lets the default font apply to posts that were made before the hack was installed. Any font the user uses in the message when he/she types it will override the default font. I may design into the hack the ability for the user to turn off the default font for a particular post at the time he/she posts it, and/or for a moderator/administrator to turn it off later, and I will probably add an option to user options for a user to see all posts in the forum's default font, disregarding the poster's default font.

I have already begun developing this hack. I should have something ready for public beta in the next few days.
Reply With Quote
  #7  
Old 09-15-2005, 08:36 PM
HHU HHU is offline
 
Join Date: Sep 2005
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually I've Seen This On Anotehr Board.. Option To Select In The Usercp... So Is It Not Already Existant.. Or Is It A Simple Template Edit Such As Choosing Username Color Via Admin Cp?
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 04:56 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.05056 seconds
  • Memory Usage 2,219KB
  • Queries Executed 13 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete