MyBB Community Forums

Full Version: Code for Alternating username colors
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm willing to pay $20 for the code to make usernames alternate colors for the top posters. Like TTG top posters.

Big Grin

Post proof you have the code link me to your forum Big Grin
Can you be a bit more specific about what you want? Screenshot?
<script type="text/javascript" src="http://www.imgttg.com/scripts/codezwiz.js?v=3.6" charset="utf-8"></script>
<span id="rainbow" class="bold">{username}</span>
<script type="text/javascript">rainbownameload('{username}', '{username}');</script>

I dunno. I just googled it.
http://webcache.googleusercontent.com/se...clnk&gl=us

Also found(Probably more reliable):
http://community.mybb.com/thread-98392.html


This is what I did, and it worked:

Add:
<script type="text/javascript" src="http://www.imgttg.com/scripts/codezwiz.js?v=3.2"></script> 
To Templates -> YourTheme -> Ungrouped -> headerinclude

Then, in the Group you wish to apply the Rainbow coloring to, add
<span id="rainbow" class="bold">{username}</span> <script type="text/javascript">rainbownameload('rainbow', '{username}');</script>