Thread Rating:
  • 5 Vote(s) - 3.4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Animated Rainbow Usernames
#1
Heart 
I will be showing you how to make a specific group have rainbow usernames.

1- Go to Admin Control Panel >>> Templates >>> Ungrouped Templates >>> headerinclude >>> and add the following code in it .
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/midori_rainbow_username.js"></script>

2. Now go to the "footer" template and insert this ad the very end.
<SCRIPT language="JavaScript">
while(shimmercount>0) {
   var shimmerstring=shimmercount+ 'shine';
   eval('var colcon= shimmercolor' +shimmercount);
   eval('var shimspeed="shimmerspeed' +shimmercount+ '"');
   eval('var shimcolor="' +colcon+ '"');
   shine(shimmerstring, shimcolor, shimspeed);
   var shimmercount=shimmercount-1;
};
while(glitcount>0) {
   var glitstring=glitcount+ 'glitter';
   eval('var colcon= glitcolor' +glitcount);
   eval('var glitspeed="glitspeed' +glitcount+ '"');
   eval('var glitcolor="' +colcon+ '"');
   glitter(glitstring, glitcolor, glitspeed);
   var glitcount=glitcount-1;
};
while(rainbowcount>0) {
    eval('var rain'+rainbowcount+'=document.getElementById("rain'+rainbowcount+'");');
    eval('var rainbowspanning'+rainbowcount+'=new RainbowSpan(rain'+rainbowcount+', 0, 360, 255, 50, 348);');
    eval('rainbowspanning'+rainbowcount+'.timer=window.setInterval("rainbowspanning'+rainbowcount+'.moveRainbow()", 50);');
    var rainbowcount=(rainbowcount-1);
};


</script>
3. Next this is to give a specific group a rainbow name.
Go to Admin Control Panel >>> Users & Groups >>>Groups >>> your aim group >>>Option>>Edit user group>>Username Style -----> And insert :
<span style="font-weight: bold; color:#27A727;"><i><SCRIPT language="JavaScript">var rainbowcount=(rainbowcount+1); document.write("<span id='rain"+rainbowcount+"'>"); </SCRIPT>{username}</i></span>
4. Upload " midori_rainbow_username.js" into your "jscripts" file in root .

Now whatever group you picked will now have a rainbow colored username.

.js   midori_rainbow_username.js (Size: 6.88 KB / Downloads: 2,392)
Reply
#2
Wow, it's beautiful. I'll be adding this, thanks.
[Image: 76561198094087316.png]
Reply
#3
pandora can be heard screaming in the distance
Reply
#4
doesnt work for me.
Reply
#5
Gosh. Just....gosh.
Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved


Reply
#6
I could see this working with a retro style of theme.
I fold for team 52482. Do you fold?
Reply
#7
This user has been denied support. This user has been denied support.
Good job.
Reply
#8
(05-25-2012, 08:53 PM)Snapy888 Wrote: Doesn't work, can you help me?
Hi
you can see my demo forum source for your errors.
Reply
#9
we shouldn't need to check your source. you guide obviously doesn't work,
Reply
#10
Has anyone got this to work?
[Image: wPk6qao.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)