Version: 1.00, by TCE Killa
Developer Last Online: Nov 2012
Category: Show Thread Enhancements -
Version: 3.6.x
Rating:
Released: 03-03-2008
Last Update: Never
Installs: 4
Template Edits
Re-useable Code
No support by the author.
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:up:
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.
<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']">
<a 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.:up:
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.