Register Members List Search Today's Posts Mark Forums Read

 
 
Mod Options
  #1  
Old 27 Feb 2002, 10:05
Elessar Elessar is offline
 
Join Date: Jan 2002
Glowing username hack...

Ok, first I'm not sure if this is a hack since there's only some template editing to be done, but I was asked to enable every user set up his own glowing username color, so I did the following...

I added a new User Profile Field and named it "Custom glow color" , then I went to phpMyAdmin and checked what is the ID of that field.

After that I went to the postbit template and replaced this:


-------------------

<normalfont><b>$post[username]</b></normalfont><br>

-------------------

with this:

-------------------

<normalfont><b><table style="filter:glow(color=$post[field10], strength=7">$post[username]</table></b></normalfont>

-------------------


where in place of "$post[field10]" comes the number of the "Custom glow color" field.

And my members are happy now.
Comments
  #2  
Old 27 Feb 2002, 10:30
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Real name: Maurice
Re: Glowing username hack...

Originally posted by Elessar
Ok, first I'm not sure if this is a hack since there's only some template editing to be done
Exactly:
http://www.vbulletin.org/forum/forum...?s=&forumid=22
  #3  
Old 27 Feb 2002, 13:44
ZiRu$'s Avatar
ZiRu$ ZiRu$ is offline
 
Join Date: Jan 2002
thanks so much! I will try this on 2.2.0 when i get home!!
  #4  
Old 27 Feb 2002, 15:27
fonzerelli_79's Avatar
fonzerelli_79 fonzerelli_79 is offline
 
Join Date: Nov 2001
only hack to files not templates should be placed in this room Elessar

maybe a mod could move this post to the correct room
__________________
| System 0 |
  #5  
Old 22 Mar 2002, 00:26
dadymac dadymac is offline
 
Join Date: Nov 2001
its cool and all, but i wish there was a way to do it so it wouldnt be on by default, so only if field 10 is filled, does it go into effect.

any ideas?
  #6  
Old 30 Nov 2003, 18:41
•§¤»Åpëx«¤§• •§¤»Åpëx«¤§• is offline
 
Join Date: Dec 2002
Originally Posted by dadymac
its cool and all, but i wish there was a way to do it so it wouldnt be on by default, so only if field 10 is filled, does it go into effect.

any ideas?
Precisely my problem.
__________________
www.headforum.com
 


Similar Mod
Mod Developer Type Replies Last Post
Basic Glowing Username Moya vBulletin 3.5 Add-ons 28 18 Apr 2007 00:12

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 01:16.

Layout Options | Width: Wide Color: