![]() |
User Selected Default Posting Font and Color
Hello,
This mod allows users to select their default posting font and color. You will have to select this at registration and can update it whenever you want in profile. First you must make two new single selection menu user profile fields. Options for them are below. Profile field one: Title: Default Post Color Description: What color your posts show up as? Options: Black Blue Green Red Pink Orange Purple Set Default: Yes, but no first blank option Display Order: Doesnt Matter Field Requiried: Yes, at registration and profile updating Field Editable by User: Yes Private Field: No Field Searchable on Members List: No Show on Members List: No Profile field two: Title: Default Post Font Description: What do you want your default post font to be? Options: Arial Arial Black Arial Narrow Book Antiqua Century Gothic Comic Sans MS Courier New Fixedsys Franklin Gothic Medium Garamond Georgia Impact Lucida Console Microsoft Sans Serif Palatino Linotype System Tahoma Times New Roman Tribuchet MS Verdana Set Default: Yes, but no first blank option Display Order: Doesnt Matter Field Requiried: Yes, at registration and profile updating Field Editable by User: Yes Private Field: No Field Searchable on Members List: No Show on Members List: No Now go to the user profile field manager, and jot down the two field numbers of the new fields listed on the right side of the two fields. Along with that, write down what number goes with what field. Please note this is not the display number, its the number next to it that says fieldX Template Edits: Go to your styles postbit/postbit legacy (whatever you use) Find: Code:
<!-- message --> Code:
<font COLOR="$post[fieldX]" face="$post[fieldX]"> Replace: The first red X with your default text color field number The second red X with your default font field number. Find: Code:
<!-- / message --> Code:
</font> You are done, hope you like it! |
What's the difference between your one and this one?
|
Mine uses dropdown boxes, that one could most likely mess up your forum using boxes like that.
That one also uses color codes, thats too hard for members |
Theoldwiz, wouldn't it be better if it would be:
Code:
<font COLOR="$post[fieldX]" face="$post[fieldX]"> |
Thank you Mag, very helpful :)
|
Ah right, this is a lot better. Can this be used for username font and color as well? Thanks.
|
No it cant be for usernames. But I can make that if alot of you are interested
|
Quote:
|
In my honest opinion, I think that you should just use <span> for this, regardless of them being the "same thing". I also prefer giving users a link to a site that provides HEX color codes. In addition, having in a drop-down the font weight (bold, italic). Basically, giving the user control while not giving him too much. Plus, he/she provides his/her own font.
Also, TCE_Killa, wouldn't colored usernames confuse people? o_o; |
Quote:
|
All times are GMT. The time now is 08:02 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|