View Full Version : GLowing Usernames
imported_Freezerator
06-24-2004, 07:57 AM
Hi,
On vb.com i asked in a topic for glowing usernames, but the options they give are not perfect.
http://www.vbulletin.com/forum/showthread.php?t=107509
How can this be made that it look's like an link?
Tony G
06-24-2004, 10:03 AM
Moving to modification requests. This forum is for submitting template modifications only.
tnguy3n
06-24-2004, 02:04 PM
is it for a specific group or all member groups?
imported_Freezerator
06-25-2004, 05:20 AM
When you are at the usergroups, you have in a usergroup 2 fields, before and after the username.
Now i have this code:
first field
<div style="filter:progid:DXImageTransform.Microsoft.Glow(Colo r=yellow,Strength=2);wi dth: 100%;">
second field
</div>
The problem is, a username doesn't look clickable anymore, also in the whois online it starts a new line.
monstergamer
06-25-2004, 09:20 PM
this is what i did
first i made an option for them to select the color code within the usercp
Add New User Profile Field
Single-Line Text Box
Name - Glow
Display Size - 6
Field Required - no
Field Editable by User? - yes
Max length of allowed user input to - 6 (you can make it longer so they can type in a color like yellow)
GET FIELD I.D.
Add New User Profile Field
Single-Line Text Box
Name - Font Color
Display Size - 6
Field Required - no
Field Editable by User? - yes
Max length of allowed user input to - 6 (you can make it longer so they can type in a color like yellow)
GET FIELD I.D.
Template Edit - Postbit or postbit_legacy
FIND
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
Replace field15 with your glow field I.D
Replace field14 with your font field I.D
Then Replace With
<if condition="$post[field15]">
<div style="width:100%;filter:glow(color=$post[field15],strenght=1)"><a style="font-size:10pt;color:#$post[field14]"href="member.php?$session[sessionurl]u=$post[userid]"><b>$post[username]</b></a></div>
<else /><a style="font-size:10pt" href="member.php?$session[sessionurl]u=$post[userid]"><b>$post[username]</b></a></if>
bigdog829
07-10-2005, 09:35 PM
I just tried your method it works great 1 question is there a way to make this available certain user groups only ?
EDIT it seems the glow is working the font color is not
bigdog829
07-13-2005, 09:51 PM
I just tried your method it works great 1 question is there a way to make this available certain user groups only ?
EDIT it seems the glow is working the font color is not
any suggestions , anyone ?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.