Version: 1.00, by Theoldwiz
Developer Last Online: Nov 2008
Category: New Posting Features -
Version: 3.7.x
Rating:
Released: 03-01-2008
Last Update: Never
Installs: 85
Template Edits
No support by the author.
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)
Question: What do you do when you want to revert back to the default color? For example, if a person uses the default color "black" and others are using a black skin, they won't be able to see the font color so if a person wants to use no color and make his account default to whatever font color, what do you select?
I hope I explained that right...
Keep a blank option on top. Like DEFAULT - no selection. Then the top one will be a blank. People can select the blank option and it reverts to default.
its very good i try it
but there is small side effect in it this when some one adding an URL
its applying style on it and make the URL big
specially when URL is very long and the font style chosen was big
If you want font size you just make another profile field with the same options the OP posted.
after this
<font COLOR="$post[fieldX]"><font face="$post[fieldX]">
add this
<font size="$post[fieldX]"> be sure you write the correct field number in!!
If you want font size you just make another profile field with the same options the OP posted.
after this
<font COLOR="$post[fieldX]"><font face="$post[fieldX]">
add this
<font size="$post[fieldX]"> be sure you write the correct field number in!!
Did the above modification and works great, thank you.