Welcome to Egypt Forums Mark forums read | Egypt Main Page
Egypt Forums
Arabic Movies



Mods for 3.7.x vBulletin Mods for 3.7, vBulletin hacks, vBulletin modification, vBulletin 3.7

Mods for 3.7.x Thread, User selected default posting font and color in Mods; User selected default posting font and color Hello, This mod allows users to select their default posting font and color. ...

Short Link: http://forum.egypt.com/enforum/showthread.php?t=3681


Reply
LinkBack Thread Tools Display Modes
User selected default posting font and color
 
 
The God Father
Developer's Avatar

Reply With Quote
 
Join Date: Jul 2008
Location: NDC
Posts: 5,425
20-09-2008, 10:42 PM
 
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:
PHP Code:
<!-- message -->
After Add:
Code:
PHP Code:
<font COLOR="$post[fieldX]"><font 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:
PHP Code:
<!-- / message -->
Add Above: Code:
PHP Code:
</font></font>
You are done, hope you like it!
__________________
I Love Walking In The Rain Cuz Nobody Know I'm Crying !!
 
 
 
Reply

Mods for 3.7.x Thread, User selected default posting font and color in Mods; User selected default posting font and color Hello, This mod allows users to select their default posting font and color. ...

Short Link: http://forum.egypt.com/enforum/showthread.php?t=3681


Bookmarks

Tags
color, default, font, posting, selected, user


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Only Selected Groups Can See Forum Leaders Developer Mods for 3.7.x 1 24-02-2009 12:30 AM
Move threads with leave no redirect as default or Expired redirect as default Developer Mods for 3.6.x 0 23-09-2008 12:52 AM
User Color/Font In Posts Editable Via Profile Developer Mods for 3.6.x 0 22-09-2008 09:20 PM
Help others by rating How To Set Username 'Color/Font/Style' Per Usergroup. Developer Articles 0 13-09-2008 01:24 AM
How To Set Username 'Color/Font/Style' Per Usergroup Developer Articles 0 08-09-2008 07:05 PM