Back to vBulletin 3.6 Template Modifications

Full User Name Style (Optional)
Mod Version: 1.00, by TCE Killa

This modification is in the archives.
vB Version: 3.6.x Rating: (2 votes - 5.00 average) Installs: 4
Released: 04 Mar 2008 Last Update: Never Downloads: 1
Not Supported Template Edits Re-usable Code  

This modification will let your users choose to bold, italic, underline, glow, font and color their usernames. The best thing about it is, they can use it all at the same time if they wish or they can just use one or two of them etc....

I have only tested this on 3.6.8 but should work on all 3.6 versions.

Note: The glow in this modification will not work for firefox users.

Please make sure you mark installed if you use this and their is alot of profile field numbers to memorize, so please write them down.

Step one

Create a new profile field - Single line text box.

Title: Username Color
Description: This will be the color of your username, please type in the color hex code here.
Private field: No

Rest is up to you

Please note the profile field number.

Step two

Create a new profile field - Single line text box.

Title: Username Font
Description: Add a font here for your username (example: Tahoma)
Private field: No

Rest is up to you.

Please take note of the profile field number.

Step three

Create a new profile field - Single line text box.

Title: Username Glow
Description: Add a glow color of your choice, type the hex code here.
Private field: No

Rest is up to you.

Please note the profile field number.

Step four

Create a new profile field - Multiple Selection CheckBox.

Title: Username Bold
Description: Make your name stand out more by bolding it.
Options: Bold Username
Field required: No

Rest is up to you.

Please note the profile field number.

Step five

Create a new profile field - Multiple Selection CheckBox.

Title: Username Italic
Description: Make your name italic here.
Options: Italic Username
Field required: No

Rest is up to you.

Please note the profile field number.

Step six

Create a new profile field - Multiple Selection CheckBox.

Title: Username Underline
Description: Underline your username if you wish here.
Options: Underline Username
Field required: No

Rest is up to you.

Please note the profile field number.

Step seven

After you have wrote down all of the profile field numbers, we go into the posbit legacy or postbit template depending which one you use.

Find:

PHP Code:
 <div align="center">
          <
div id="postmenu_$post[postid]">
            <if 
condition="$show['profile']">
            <
class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]"
Add below:

PHP Code:
    <if condition="$post['fieldXX'] OR $post['fieldXX'] OR $post['fieldXX'] OR $post['fieldXX'] OR $post['fieldXX'] OR $post['fieldXX'] != '' ">
<
div style="font-family:$post[fieldXX]; color:$post[fieldXX]; font-weight:bold;$post[fieldXX]; width:100%;filter:glow(color=$post[fieldXX],strength=6); font-style:italic;$post[fieldXX]; text-decoration:underline;$post[fieldXX];">
$post[username]<else />
$post[musername]
</if> 
Make sure you place it in the right place so the code you added should have an </a> after it.

It should now look like this:
PHP Code:
<div align="center">
          <
div id="postmenu_$post[postid]">
            <if 
condition="$show['profile']">
            <
class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">
    <if 
condition="$post['field14'] OR $post['field28'] OR $post['field59'] OR $post['field63'] OR $post['field65'] OR $post['field27'] != '' ">
<
font style="font-family:$post[field28]; color:$post[field14];">
<
div style="font-weight:bold;$post[field27]; width:100%;filter:glow(color=$post[field59],strength=6); font-style:italic;$post[field63]; text-decoration:underline;$post[field65];">
$post[username]<else />
$post[musername]
</if></
a
Replace the XX's with your field number's.

This code:
PHP Code:
<div style="font-family:$post[fieldXX]
is the username font field number, just replace the XX with your font field number... Same goes to the rest, the color is the username color field number, font weight bold is the username bold field number, filter:glow color is the username glow field number, italic is the username italic field number and underline is the username underline field number.

Please mark installed if you use, hope everyone likes it. Enjoy.

Download

No files for download.

Screenshots

Click image for larger version
Name:	username.jpg
Views:	316
Size:	40.4 KB
ID:	76713  

Similar Mods

Send a Private Message to user (and optional user note) when approved for a usergroup vBulletin 3.5 Add-ons
Profile Enhancements User Name Style: Bold & Glow (Optional) vBulletin 3.6 Template Modifications
Profile Enhancements User Title Style: Glow (Optional) vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2024