Welcome Guest [Log In] [Register]

Welcome to Big Boards. We hope you like what you see and decide to visit often. Big Boards offers the Zathyus network our long famous Resource Archives, our extensive search indexes, and our info-packed resource forums.

Our team has recently opened a new project called Planet Nexus, where a bold new experiment in forum promotion is taking place. We call it nexworking. NexusTree offers social networking pages for forums in a fully automated format. Your NexusTree page is created instantly when your join the nexus. Find out more by visiting Planet Nexus, and become part of the nexworking revolution.

Posted Image Posted Image
If you're already a member please log in to your account for additional access:

Username:   Password:
Closed Topic
Multi-Coloured Usernames ; I would really appreciate some help...:)
Topic Started: Apr 30 2009, 05:24 PM (246 Views)
Moraled Rain
BB Alpha
[ * ]
Board URL: The Morales Of Sioux
What browser(s) are you using? I am using 'Internet Explorer'...:)
Your Forum System (IF or ZB): InvisionFree (IF)
Your Issue/Question: Upon looking at many 'Proboards' sites, I have seen that there are a number of them that use a code allowing for particular 'Usernames' to be 'Multi-Coloured'. I am just wondering if there is such a code for 'InvisionFree', as the one used for 'Proboards' does not seem to work on an 'InvisionFree' board and if so, where I may find it?...:) Upon looking in your 'Code Index', I can't seem to find one; I do hope that someone may be able to help...:)

The 'Code' I have found is located below (Please Note: This unfortunately only seems to work on 'Proboards'...:[):

Code:
 
<script type="text/javascript">
<!--
/* multi-colored names - ross - open source but please keep header intact */
var a = document.getElementsByTagName('a');
function changeName(username, displayname) {
for(i=0; i<a.length; i++) {
if(a.item(i).href.match(new RegExp('user='+username+'$', 'i'))) {
a.item(i).innerHTML = displayname;
}
}
}

changeName('xxxxxxxxxx', '<font color=76c014>xxxx</font><font color=69a511>xxxx</font><font color=609c10>xxxx</font><font color=52810d>xxxx</font><font color=4b720c>xxxx</font><font color=41600a>xxxx</font><font color=99CCFF>xxxx</font><font color=395208>xxxx</font><font color=2b3c06>xxxx</font><font color=283606>xxxx</font><font color=222d05>xxxx</font><font color=192004>xxxx</font><font color=070901>xxxx</font>');

//-->
</script>

<script type="text/javascript">
<!--
var i = document.getElementsByTagName('i');
for(t=0; t<i.length; t++)
if(i[t].innerHTML == 'Last Edit:')
i[t].parentNode.style.display = 'none';
//-->
</script>


I apologise if I have done something wrong in asking this; I hope I am posting this query in the appropriate board...:(

All the best to you and thank you so much again for everything,

Moraled Rain
Offline
Profile
Goto Top
 
HelenaZF
Member Avatar
advanced techno-feeb

You posted in the right spot. :)

I haven't been able to locate an invisionfree code that does what you are looking for, but perhaps one could be written, as there are several codes that manipulate user name colors for individual users. It's possilble that someone here could write a code for you. However, if that offer is not made shortly, You may request a code in this member shop forum: Slayer's Coding Shop for BB credits. You can also request a code at http://zbcode.com/ , but be aware that there is a posting requirement before you can make a request. there.
Posted Image Visit the Planet Nexus page!Posted Image

Posted Image
Download some of my graphic sets HERE
Offline
Profile
Goto Top
 
Reid
cool ZN coder

This should work for you... tell me if it doesn't.. I don't do much with IF anymore. Footers:
Code:
 
<script type='text/javascript'>
<!--
function cName(user,newName) {
var l = document.getElementsByTagName('a');
var _l = l.length;
while (_l--) {
if (l[_l].parentNode.parentNode.nodeName == 'TD' && l[_l].parentNode.parentNode.className == 'row4' && l[_l].innerHTML.indexOf(user)!=-1) {
l[_l].innerHTML = newName;
}}}
cName("Reid","<span style='color:red'>R</span><span style='color:green'>e</span><span style='color:blue'>i</span><span style='color:purple'>d</span>");
//-->
</script>
Make note of the last line. The function goes like so: cName("before","after") and you just keep adding that over and over if you want more names changed.

The above code would change my name (Reid) to Reid on the boards... or it should anyways..

Edit: oh yeah and I should note that this script can change the username entirely too if you want. You could do cUser("Reid","Fancy") and it would change my name to fancy. Isn't that neat?!? :P
:zreid:
Offline
Profile
Goto Top
 
Moraled Rain
BB Alpha
[ * ]
Hi HelenaZF and Reid,

I really appreciate all of your help and I can't thank you enough for all of the time that you have spent in replying, it really is appreciated...:) If there is anything I can ever do, please do not hesitate to let me know...:)

Thank you so much Reid, I can't tell you how wonderful it is and most of all, it works! :D I was really giving up hope that I would be able to find anything but due to you, you have now helped me to see that it is possible to use such a code on 'InvisionFree'...:) I wish to thank you so much; for not working so much on 'Internet Explorer' anymore, you are a brilliant coder...:)

All the best to you both and thank you so much again for all the help you have provided me with,

Moraled Rain
Offline
Profile
Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · InvisionFree Support Archive · Next Topic »
Closed Topic