Follow vBSEO on Twitter
vBulletin Modifications
  • Forums
  • Add-Ons
  • Template Modifications
  • Styles
  • Graphics
  • Tutorials
  • Support Center
  • Register
  • vBulletin SEO

Member Log In

Site Navigation

  • Register
  • Members List
  • Social Groups
  • Search
  • Today's Posts
  • Mark Forums Read

Latest Modifications

  • [vB 4.0.x] add Tabs
    By: xhailuadox
  • [vB 3.8.4] THX - Hack for VB. 3.8.4
    By: bluedog
  • [vB 3.8.4] Cyb - Chatbox V.2.3
    By: bluedog
  • [vB 4.0.x] PHPKD - Advanced Quick...
    By: PHPKD
  • [vB 3.6.x] StopSpam
    By: flappi282

Latest Template Mods

  • [vB 4.0.x] Remove My Profile Link...
    By: Ak Worm
  • [vB 3.8.x] Images DownloadBox...
    By: cRs!MP
  • [vB 3.8.x] Adviertise Mod On Forum...
    By: MG4
  • [vB 3.8.4] Images PassWordBox...
    By: cRs!MP
  • [vB 3.8.4] Footer Follow Ups
    By: Ak Worm

Latest Styles

  • [vB 4.0.x] 4.0.3 - VB4STYLE-TWEETA...
    By: Belon
  • [vB 4.0.x] [4.0.3] vbdesigns.de...
    By: Belon
  • [vB 3.8.4] CompletevB - Skylight
    By: DreadKnight
  • [vB 3.8.3] [vB 3.8.4] Barcelona...
    By: hoiquantinhoc.com
  • [vB 3.8.3] Natures Walk by vBSkin...
    By: Chri5

Latest Graphics

  • [vB ] [anim.]Team Ranks
    By: cRs!MP
  • [vB ] Abstract Circles (3...
    By: cRs!MP
  • [vB ] PlayStation Rank Images
    By: cRs!MP
  • [vB 3.6.12] Heavy Stroked Button...
    By: Shelley
  • [vB ] Minature Ranks.
    By: Shelley
vBulletin Modifications » vBulletin Modifications » vBulletin 3.7 / 3.8 Hack Releases » End-User Options - Custom Users Font/Color/Style
Reply
Page 2 of 2 < 1 2

 

  • Thread Tools
Download Options
You Must Register First
To Download This Modification

Report A Bug
Bugs
No bugs found in the system. If you have found a bug, please report a bug here
Submit A Bug | View All Bugs
  
Not Supported
[vB 3.7.0] End-User Options - Custom Users Font/Color/Style (66)
Released: 06-05-2008, 06:18 PM
Modification Information: Version: 1.0
Author: gammexane
Last Online: 07-24-2008
Demo: View Online Demo!
Installer Included: 0 Additional queries added to database: 0 Template Edits:
File Edits: New Files: New Phrases:

Code Hack
1. In your AdminCP, go to Styles & Templates -> Style Manager -> Toolbar Menu Options -> Available Fonts. Select the entire list and copy it.

2. Go to User Profile Fields -> Add New User Profile Field.

3. Select Single-Selection Menu, press Continue.

4. On the Add New User Profile Field screen, use the following settings:
Title: Default Post Font Color
Description: Select a color to use as a default color to apply to all of your message posts. If you use another color when posting a message, that will override these selections.
Options:
Black
Blue
Cyan
DarkGreen
DarkOliveGreen
DarkOrange
DarkOrchid
DarkRed
DarkSlateBlue
DarkSlateGray
DeepSkyBlue
DimGray
Gray
Green
Indigo
LemonChiffon
LightBlue
Lime
Magenta
MediumTurquoise
Navy
Olive
Orange
PaleGreen
PaleTurquoise
Pink
Plum
Purple
Red
RoyalBlue
SandyBrown
SeaGreen
Sienna
Silver
SlateGray
Teal
Wheat
White
Yellow
YellowGreen

Set Default: None <Setting this to "None" allows a blank option to be selected and saved, which has the effect of not setting a choice, so the default font for the forum is used.>
Display Order: <your choice, or leave as default, which may vary>
Field Required: <your choice, I used "No">
Field Editable by User: Yes
Private Field: No
Field Searchable on Members List: No
Show on Members List: No
Allow user to input their own value for this option: No
Display Page:
Which page displays this option?: <Your choice, I used "Options: Other" to put in the section where they choose message editor interface>

5. Repeat step 2 and 3.

6. On the Add New User Profile Field screen, use the following settings:
Title: Default Post Font Face
Description: Select a color to use as a default font to apply to all of your message posts. If you use another font face when posting a message, that will override these selections.
Options:
<here paste the list you have copied in step 1>

Set Default: None <Setting this to "None" allows a blank option to be selected and saved, which has the effect of not setting a choice, so the default font for the forum is used.>
Display Order: <your choice, or leave as default, which may vary>
Field Required: <your choice, I used "No">
Field Editable by User: Yes
Private Field: No
Field Searchable on Members List: No
Show on Members List: No
Allow user to input their own value for this option: No
Display Page:
Which page displays this option?: <Your choice, I used "Options: Other" to put in the section where they choose message editor interface>

7. Repeat step 2.

8. Select Multiple-Selection Checkbox, press Continue.

9. On the Add New User Profile Field screen, use the following settings:
Title: Default Post Font Style
Description: Select a style to use as a default font to apply to all of your message posts. If you use another font style when posting a message, that will override these selections.
Options:
Bold
Italic
Underline
Set Default: None <Setting this to "None" allows a blank option to be selected and saved, which has the effect of not setting a choice, so the default font for the forum is used.>
Display Order: <your choice, or leave as default, which may vary>
Field Required: <your choice, I used "No">
Field Editable by User: Yes
Private Field: No
Field Searchable on Members List: No
Show on Members List: No
Allow user to input their own value for this option: No
Display Page:
Which page displays this option?: <Your choice, I used "Options: Other" to put in the section where they choose message editor interface>

10. You are redirected to the User Profile Field Manager. Locate the fields you just created and note the Name; it should be "fieldX", where X is a number. Remember those numbers for future reference.

11. Go to Styles & Templates -> Style Manager -> Edit Templates. Select and open the "postbit" template. (Note: If you ONLY use the "postbit_legacy" template, do not bother editing the "postbit" template.)

12. Find:
Code:
<div id="post_message_$post[postid]">$post[message]</div>
13. Replace for:
Code:
<div id="post_message_$post[postid]">
    <if condition="$post[fieldX]"><font face="$post[field6]"></if>
    <if condition="$post[fieldY]"><font color="$post[field5]"></if>
    <if condition="$post['fieldZ'] & 1"><B></if>
    <if condition="$post['fieldZ'] & 2"><I></if>
    <if condition="$post['fieldZ'] & 4"><U></if>    
        $post[message]
    <if condition="$post['fieldZ'] & 4"></U></if>
    <if condition="$post['fieldZ'] & 2"></I></if>
    <if condition="$post['fieldZ'] & 1"></B></if>
    <if condition="$post[fieldY]"></font></if>
    <if condition="$post[fieldX]"></font></if>
</div>
Note:
Replace "X" in FieldX for the Font Face Number (See step 10)
Replace "Y" in FieldX for the Font Color Number (See step 10)
Replace "Z" in FieldX for the Font Style Number (See step 10)

14. Repeat Steps 11, 12 and 13 for the "postbit_legacy" template.

15. Go to User CP --> Configuration and options --> Options and select your font face, color and style.

16. Enjoy



Old 12-05-2008, 10:40 PM   #11
Aliyans
vB Newbie

Activity Longevity
0/20 6/20
Today Posts
0/3 ssssssss4
Aliyans is on a distinguished road
Status: Offline Default
thanx very much.. i have used this b4 on a forum..nice one
Reply With Quote
Old 03-12-2009, 04:06 AM   #12
Blake
vB Newbie

Activity Longevity
0/20 5/20
Today Posts
0/3 ssssssss2
Blake is on a distinguished road
Status: Offline Default
Sweet I am deffinatly using this.
Reply With Quote
Old 04-24-2009, 06:02 PM   #13
pcinfoman
vB Newbie

Activity Longevity
0/20 13/20
Today Posts
0/3 ssssssss1
Location: Los Angeles, CA
pcinfoman is on a distinguished road
Status: Offline Default
I added "size as an option by just repeating the steps to create a new User Profile field and adding "size" to the code in the postbit template (noting the new field #).

Good job on this addition.
Reply With Quote
Old 05-02-2009, 12:24 AM   #14
*.::Raj::.*
vB Newbie

Activity Longevity
0/20 5/20
Today Posts
0/3 ssssssss1
*.::Raj::.* is on a distinguished road
Status: Offline Default
Does this work if your SM? Sorry I noob.
Reply With Quote
Old 07-19-2009, 03:04 AM   #15
Spazvicious
vB Newbie

Activity Longevity
0/20 4/20
Today Posts
0/3 ssssssss4
Spazvicious is on a distinguished road
Status: Offline Default
Thanks for this. It works perfectly. I might add an option to do font sizes. I'm not great with coding, but this seems simple enough to customize. :D
Reply With Quote

Reply
Page 2 of 2 < 1 2

    Tags

color, control panel, users

« SSGTI - Subscription Certain Payment APIs | SSGTI - Auto Ban Under Age Users »

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

 
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

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 Rules



All times are GMT. The time now is 10:42 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Transverse Styles
  • Top
  • Archive
  • vBSEO
  • Contact Us
LinkBack
LinkBack URL LinkBack URL
About LinkBacks About LinkBacks
Bookmark & Share
Digg this Thread! Digg this Thread!
Add Thread to del.icio.us Add Thread to del.icio.us
Bookmark in Technorati Bookmark in Technorati
Furl this Thread! Furl this Thread!