Back to vBulletin 3.5 Template Modifications

Personal Font/Color in Posts
Mod Version: 1.00, by Gio~Logist

This modification is in the archives.
vB Version: 3.5.0 RC1 Rating: (2 votes - 5.00 average) Installs: 78
Released: 29 Jul 2005 Last Update: 29 Jul 2005 Downloads: 135
Not Supported Template Edits  

Personal Font/Color in Posts
by gio~logist
Allow users to change what color/font their posts are in threads Via UserCP

Step 1
Go to User Profile Fields >> Add New User Profile Field

Choose A "Single-Line Text Box"

Title: "Your Font Color In Posts"

Description: This is the color of the font in which will appear in your posts. (Ex: #ff0000 is red)

Display Size: 11

Max length of allowed user input: 8

HIT SAVE

Step 2
Go to User Profile Fields >> Add New User Profile Field

Choose A "Single-Line Text Box"

Title: "Your Font In Posts"

Description: This is the font in which will appear in your posts. (Ex: Tahoma)

Display Size: 15

Max length of allowed user input: 20

HIT SAVE

Step 3
Now go to edit your postbit template and search for this code:

HTML Code:
$post[message]
Replace it with this

HTML Code:
<if condition="$post['fieldx'] != '' OR $post['fieldx'] != ''">
<font style="font-family:$post[fieldx]; color:$post[fieldx];">$post[message]</font>
     <else />
$post[message]
</if>
Replace the first x in the condition statement with the ID of the “Your Font Color In Posts” profile field, and replace the second with the “Your Font In Posts” profile field. The X in font-family will be the id for the field in which you created in the first step and the X in color will be the id for the field in which you created in the first step. To view the id of the field created go to the "Profile Field Manager" and find the field ID of the field you made. (This appears under the "Name" column). It should show as fieldx where x is the ID.

HIT SAVE

[high]AND WE'RE DONE![/high]

Addons Already Made
Glowing Posts For Mods, S.Mods, and Admins

Spoiler (click to open)


Quote by yoyoyoyo
Yes, I think that would be a much-needed option. Any perks you can give to Mods/certain usergroups are a bonus.
Glowing Font In Posts

Step 1
Go to User Profile Fields >> Add New User Profile Field

Choose A "Single-Line Text Box"

Title: "Glow For Moderators and Admins"

Description: This is the glow color of the font in which will appear in your posts. (Ex: #ff0000 is red) <font color="red"> This Will Only Work For Moderators and Administrators.

Display Size: 11

Max length of allowed user input: 8

HIT SAVE

Step 3
Now go to edit your postbit template and search for this code:

HTML Code:
<font style="font-family:$post[fieldx]; color:$post[fieldx];">$post[message]</font>
Replace it with this

HTML Code:
 <if condition="$bbuserinfo['usergroupid'] == '6' OR $bbuserinfo['usergroupid'] == '7' OR $bbuserinfo['usergroupid'] == '5'">
<div style="font-style:normal;filter:Glow(color=$post[fieldx],strength=1);height:14px;">
<font style="font-family:$post[fieldx]; color:$post[fieldx];">$post[message]</font>
</div>
     <else />
<font style="font-family:$post[fieldx]; color:$post[fieldx];">$post[message]</font>
</if>

Replace the X in the <div style= tag with the field ID for the field we just created.

HIT SAVE

AND WE'RE DONE!

This will make it so that mods, s mods, and admins can have glowing posts.

Close


Planned Addons For Next Release
- Nothing So Far

Feel Free to Post Any Ideas/Suggestions

Download

This modification is archived and cannot be downloaded.

Supporters / CoAuthors

  • gio~logist

Similar Mods

Users Choose Username Font/Color Posts vBulletin 3.5 Template Modifications
Show Thread Enhancements User Color/Font In Posts Editable Via Profile vBulletin 3.6 Template Modifications
Users Choose Color/Font Of Username In Posts vBulletin 3.0 Template Modifications

vblts.ru supports vBulletin®, 2022-2024