![]() |
[bmw] Rainbow (Gradient) Username for Usergroups
1 Attachment(s)
This simple hack enables to display usernames for any usergroup in rainbow effect.
Please note that since it is based on pure HTML and JavaScript and in no way uses any BBcode of VB function/hooks, this is compatible with all versions of vBulletin. You can use it as HTML with: <span class="rainbow"> your content </span> Installation: Time Required: 3 minutes 1. Upload clientscript directory (included rainbow.js) on your server in ASCII mode 2. Open headinclude template and add the following code at any reasonable place: Code: Code:
<script type="text/javascript" src="$vboptions[bburl]/clientscript/rainbow.js"></script> Code: Code:
<!-- rainbow text initialize --> 4.1 -Put start tag as:You're Done! Enjoy!! Thanks: - jim bumgardner (http://krazydad.com/makecolors.php) - n.sinha.p (Instruction of your mods, my English's bad :( ) |
does this one work in IE?
|
works under IE but all usernames have exactly the same colors in order, no variations.
|
1 Attachment(s)
Please check it, with your IE
=> http://mytam.info/forum/member.php?u=50973 If u got problem, plz PM or post your link, I'll check & fix 2u. |
Quote:
|
Quote:
|
Quote:
|
they look exactly like your screen shot. I remember the first Rainbow script would vary the colors in the names each time you refreshed,
|
If you want to variations in your color, you can do follow instruction below:
Edit file rainbow.js: find Line 44: Code:
function nickmausac(classname){ Change :Result: Code:
function nickmausac(classname){ |
thank you
|
Quote:
|
Installed and working well. <3
~ Sean |
This one doesn't work either.
|
It works, txnx!
To make it e.g. bold: <span class="rainbow" style= "font-weight: bold"> |
good job, thank you
Installed |
Nevermind my previous post! This is working brilliantly! The other one didn't work at all, but this one is working and my users are in heaven! Thanks heaps!
|
Is there a way to automate the template edit? that way when I upgrade I don't forget to do this. thanks.
|
I thought it wasnt working but then realised it just took a few extra seconds to load the rainbow affect over the username. Thanks.
|
How do I : 1. Upload clientscript directory (included rainbow.js) on your server in ASCII mode??
I have FTP access, but how do I do that, just in the forum? or a specific place? |
Quote:
|
Um lol ok I followed the directions, and it is not working at all for me...
<span class="rainbow" style= "font-weight: bold"> </span> is what I used I see the bold but no rainbow, I upload the js file in the clientscript folder of my ftp under "ASCII" I did the footer and headinclude templates, and its not working :( |
Why are the usernames not able to be seen in rainbow color in Cyb - Chatobox?
|
any possible way to get this to work with 4.0?
|
does work to 4.02???
|
Bump
|
I get rainbow colours in
currently active list postbin profile usergroup colorbar mgc chatbox evo archive I dont get rainbow colours in active in last 24 hours list mgc chatbox - main chat page cyb advanced stats anyone now why this is and how i can make the last 3 rainbow coloured thanks |
Seems like this could easily be made into a bbcode by making a bbcode that says:
Code:
<span class="rainbow">{param}</span> |
Thanks , working on vb4 with a small edit of mine :D
|
Quote:
|
Quote:
Code:
<script type="text/javascript" src="$vboptions[bburl]/clientscript/rainbow.js"></script> Code:
<script type="text/javascript" src="/forums/clientscript/rainbow.js"></script> Code:
<script type="text/javascript" src="/clientscript/rainbow.js"></script> |
how do you use it as an ...HTML with: <span class="rainbow"> your content </span>
|
Quote:
dont suppose thers anyway of getting rainbow to show up in chatbox and active in last 24 hours |
Sorry, I wouldn't know about those. :(
|
no worries, shows up in last 24 hours list any way this time , but not cb
|
After I did a clean install on the same server and with the same vB install, rainbows suddenly stopped working. I put the .js file back in the clientscript, templates still had the old changes, so I'm not sure what's wrong.
PS. What's that ASCII mode? |
i just see the colour static, and not in movement.
|
All times are GMT. The time now is 04:54 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|