Back to vBulletin 3.6 Template Modifications

User Name Style: Bold & Glow (Optional)
Mod Version: 1.00, by TCE Killa

This modification is in the archives.
vB Version: 3.6.x Rating: (1 vote - 5.00 average) Installs: 11
Released: 25 Jan 2008 Last Update: Never Downloads: 3
Not Supported Template Edits Re-usable Code Translations  

This is my first ever template modification, this works for any versions of 3.6.x vBulletin versions.

Please refer to this thread for a glowing usertitle:

User Title Style: Glow (Optional)

Description: This will give users an option in their profile to bold & glow there usernames.

Step 1 - Bold

Create a new profile field through your AdminCP.

Multiple Selection Textbox

Title: Username Bold

Description: Here you can bold your username if you would like to make it stand out more.

Limit Selection: 1

Items Per Line: 0

Fields: 1 field called Bold Username (one option for users to check if they want).

Profile Field Type: Multiple-Selection Checkbox

Field Required: No

Field Editable by User: Yes

Private Field: No

Field Searchable on Members List: No

Show on Members List: No

Click Save.

Step Two

Edit the template you use, either Posbit Legacy or Postbit.
Find (there will be two, do this to the first one):
PHP Code:
$post[musername
Replace with:
PHP Code:
<if condition="$post[fieldx]">
    <
span style="font-weight: bold; $post[fieldx]">
        
$post[username]</span><else />
$post[musername]
</if></
a
Step Three

In the same template, find the second:
PHP Code:
$post[musername
Replace with:

PHP Code:
<if condition="$post[fieldx]">
    <
span style="font-weight: bold; $post[fieldx]">
        
$post[username]</span><else />$post[musername][/if] 
Replace the X (on fieldx) with your bold profile field. You're done.

Step One - Glow

Create a new profile field through your AdminCP.

Single Line Text Box

Title: Username Glow

Description: Here you can glow your username if you would like to make it stand out more.

Field Required: No

Field Editable by User: Yes

Private Field: No

Field Searchable on Members List: No

Show on Members List: No

The rest is up to you.

Click Save.

Step Two

Find in your Postbit or Postbit Legacy template:
PHP Code:
$post[musername
Replace with:

PHP Code:
<if condition="$post[fieldx]"
                <
div style="width:100%;filter:glow(color=$post[fieldx],strength=6)">$post[username]</div> <else />$post[musername]</if> 
Step Three

Same template, find second:
PHP Code:
$post[musername
Replace with:
PHP Code:
<if condition="$post[fieldx]"
                <
div style="width:100%;filter:glow(color=$post[fieldx],strength=6)">$post[username]</div> <else />$post[musername]</if> 
Make sure you replace the x's with your Glow field number.

You're done, any problems, just tell me please. Remember to mark Installed if you use and like it.

Download

No files for download.

Screenshots

Click image for larger version
Name:	example.jpg
Views:	565
Size:	56.7 KB
ID:	74986   Click image for larger version
Name:	example2.jpg
Views:	891
Size:	85.2 KB
ID:	74987  

Similar Mods

Show Thread Enhancements Full User Name Style (Optional) vBulletin 3.6 Template Modifications
Profile Enhancements User Title Style: Glow (Optional) vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2024