User selected default posting font and color

shahzeb

New Member
Hello

My First Thread For You Hope You Will Like It

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 three 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


Third Proflie Field:

Title: Default Font Size

Description: What do you want your default Font Size?

Options:

1
2
3
4
5
6
7
8
9
10

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 go 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 -->

After Add

Code:
<font COLOR="$post[fieldX]"><font face="$post[fieldX]"><font SIZE="$post[fieldX]

Replace: The first X with your default text color field number
The second X with your default font field number and the third X with your default size

Find

Code:
<!-- / message -->

Add Above

Code:
</font></font>

Done!

If You Find Any Mistakes Im sorry.
 
dont use this modification if u are using HIDE hack in vbulletin 3.8.0 this modificatio stop the HIDE hack from unblock any text or url
 
shahzeb said:
yeah i have tried it and its working
make sure you edit template properly...

this dont work on vb 3.8.0 if u have HIDE hack. the template is not hard to do is only 2 modification to do xD and other vbulletin webmaster have the same problem
 
Back
Top