Saturday, August 24, 2013

How to Easily Cycle Rainbow Username On IP. Board

How to Easily Cycle Rainbow Username On IP. Board. Want to make color with iridescent colors like a rainbow on IP.Board? Quite easy just follow the tutorial to be distributed today.

Example of what it will look like : 

This is an example of what the cycling rainbow username will look like!


I've only tested this on IPB 3.4.2, but I'm sure it will work with earlier version and later versions. Let me know if it doesn't though.



Follow the tutorial How to Easily Cycle Rainbow Username On IP. Board below :
  • Go to your ACP
  •  Look & Feel
  • Your Skin
  • globalTemplate


Place the following code near the bottom of your globalTemplate. I put mine above the <!-- ::: Footer ::: --> part of the globalTemplate.

The code:
<script>
var speed=80
var hex=new Array("00","14","28","3C","50","64","78","8C","A0","B4","C8","DC","F0")
var r=1
var g=1
var b=1
var seq=1
function changetext(){
for(i=0;i<document.getElementsByName("Rainbow").length;i++){
var storetext=document.getElementById? document.getElementsByName("Rainbow")[i] : document.all.highlight
rainbow="#"+hex[r]+hex[g]+hex[b]
storetext.style.color=rainbow
}
}
function change(){
if (seq==6){
b--
if (b==0)
seq=1
}
if (seq==5){
r++
if (r==12)
seq=6
}
if (seq==4){
g--
if (g==0)
seq=5
}
if (seq==3){
b++
if (b==12)
seq=4
}
if (seq==2){
r--
if (r==0)
seq=3
}
if (seq==1){
g++
if (g==12)
seq=2
}
changetext()
}
function starteffect(){
if (document.all||document.getElementById)
flash=setInterval("change()",speed)
}
starteffect()
</script>

Once you put that code somewhere in there, click 'Save', then head over to Members > Member Groups > Manage Member Groups.
Click on the group you want to use the rainbow username style on.


For the group prefix, use this: 
<span name="Rainbow">

For the group sufix, use this:
</span>

Click on 'Complete Edit' and you're done!


How to Easily Cycle Rainbow Username On IP. Board

Enjoy!

It it How to Easily Cycle Rainbow Username On IP. Board,  Good Luck!

thumbnail Title: How to Easily Cycle Rainbow Username On IP. Board
Posted by:Stuard Van
Published :2013-08-24T10:00:00-07:00
Rating: 5
Reviewer: 5 Reviews
How to Easily Cycle Rainbow Username On IP. Board
Share :
Related articles:

0 comments :

Post a Comment