Back to vBulletin 3.8 Add-ons

Rainbow (Multicolour) Username for Usergroups
Mod Version: 1.00, by n.sinha.p

vB Version: 3.8.1 Rating: (8 votes - 4.63 average) Installs: 114
Released: 10 Feb 2009 Last Update: Never Downloads: 1203
Not Supported Template Edits Additional Files Re-usable Code Translations  

Info:
  • Rainbow effect (Multicolour) for Usernames

This simple hack enables to display usernames for any usergroup in random multicolour (rainbow) effect.

Having searched for the same effect for my board unsuccessfully where most of the modifications were for BBCodes, I came up with my own and though of sharing.

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.

Installation:
Time Required: 2 minutes

1. FTP rainbow.js to clientscript directory on your server in ASCII mode

2. Open headinclude template and add the following code at any reasonable place:
Code:
<script type="text/javascript" src="$vboptions[bburl]/clientscript/rainbow.js"></script>
3. Open footer template and add the following code at the bottom:
Code:
<!-- rainbow text initialize -->
<script type="text/javascript"> 
<!--
rain();
//  End -->
</script>
<!-- rainbow text end -->
4. Open the Usergroup Manager throug ACP and edit the desired user group.

5. Put start tag as:
Code:
<span class="rainbow">
6. Change the end tag to be:
Code:
</span>
You're Done! Enjoy!!

Versions:
v1.0 - 10 February 2009
- Rainbow text effect for usernames

I may think of creating a plugin for this if I get time and people ask for it. But for now it is pretty simple and I would prefer having a hack rather than going for a plugin which would increase the load on your board's performance.

A Note: If you are using vbshout.. the effect will not show in the AJAX area. However, it will still display the usernames in the AJAX area and the rainbow effect will be available in shoutbox archive.

Added & hidden bonus is that you can use this hack anywhere where you can use HTML code.. in almost any area you can think of!

Download

File Type: %1$s rainbowUsernames_v1.0.zip (127.4 KB, 1200 downloads)

Screenshots

Click image for larger version
Name:	rainbowScreenshot.jpg
Views:	3216
Size:	111.9 KB
ID:	94540  


vblts.ru supports vBulletin®, 2022-2024