SMF For Free Support Forum
SMF For Free Support => SMF For Free Codes and Support => Topic started by: junker on July 13, 2011, 03:43:29 pm
-
Forum Url: www.chatjunkershouse.net
I understand about changing the color of members names in a group
but how can a member change the color of the page they are
posting on ? case in point check out this link
http://www.smfsupport.com/support/general-support/please-help-33090/
-
Not possible.
There is a modification here at Support that does that to help with showing solved and unsolved posts. That mods installed only here on the Support Forum. Green means the Op thought the post was helpful... red means it wasnt.
-
thanks Sibyl
I understand that part but is something in place for a member to
change the color of their name without asking the admin to do it ?
and how can you color the name of the group they are in from black
-
There are no settings in the software to color Members names. The only way to do so is to use one of the Codes in the Codes Board. There is an Index at the top of that board that makes it easier to find codes.
You can color the Membergroups (only in the online list) by modifying the Membergroup and changing the color code.
If you want it changed all over the forum you will have to use a code from the Codes Board to do so.
-
sorry sibyl but I can only color one user name . I use the code
<script>
function Color_Username(ethan,troy){
//Created by Agent Moose (revolutionx.smfforfree3.com)
var Vikhyat = document.links;
for(simply_sibyl=0;simply_sibyl<Vikhyat.length;simply_sibyl++){
if(Vikhyat[simply_sibyl].href.match("profile;u=" + ethan + "$")){
Vikhyat[simply_sibyl].style.color = troy;
};};};
Color_Username("junker"," blue");
</script>
it doesn't matter what I do I can't seem to color more than one name .
it doesn't work when I copy the whole thing again using another name
and color or just adding another Color_Username(" bbhhmki"," red");
what am I doing wrong ? there isn't anything in the header. but my name is colored
-
Help with the code should be posted in the Codes thread. Otherwise we have to try to figure out which code it is, and where the thread is located. Please find the thread for that specific code. Read the directions thoroughly. It also helps to read down thru the thread and see if others have had problems as you will many times pick up tips and help that way.
-
OK here we go again. I made sandwiches and then went to the codes board.spent a lot of time . I only want to color each members name with a different color in their posts and home page without being in a group
this code only works for one member. is there a way to change colors for more than one member without being in a group?
I can't get Agent Mooses codes to work.
I would like to add sibyl that one member in my research did ask the same question that I am asking but no one answered him
<script>
/*Change username colors across board by Vitality of TCZ || Revolution X*/
var a = document.getElementsByTagName('a')
function changer (xid,xuser,xcolor){
for(i=0,n=a.length;i<n;i++){
if(a.href.match(xid) && a.innerHTML.match(xuser)){
a.style.color=xcolor
}}}
changer("u=1","Vitality","blue");
</script>
-
figured it out. I am posting the solution for those that want a simple explanation on how to turn your members names to different colors without being in a group.
first paste this in to your headers
<script src="/jquery.js"></script>
second, paste this in your footers
<script>
function Color_Username(ethan,troy){
//Created by Agent Moose (revolutionx.smfforfree3.com)
var Vikhyat = document.links;
for(simply_sibyl=0;simply_sibyl<Vikhyat.length;simply_sibyl++){
if(Vikhyat[simply_sibyl].href.match("profile;u=" + ethan + "$")){
Vikhyat[simply_sibyl].style.color = troy;
};};};
Color_Username("Member Number","Colour");
</script>
<example-change Color_Username("Member Number","Colour"); TO ColorUsername("6","blue"); and so on. be careful that you use the symbols above the 9 and 0 instead of the [ and ] watch your caps
go to admin then to members for their ID #
here is a wonderful color chart link that I use http://www.colorhunter.com/tag/FF00FF/1
thanks for the code Agent Moose
-
Topic moved to the Codes Board... junker please use the codes tag when posting codes in posts here.
-
Sibyl
since I wasn't raised around computers , I have to sort through the computer talk to try and figure out things for my own understanding. and then you mentioned
junker please use the codes tag when posting codes in posts here.
I tried to explain the solution to my problem in a way that I thought was
simpler to other people like myself but you will have to let me know what in the world you are talking about using code tags. lol
-
junker -
You know how using the quote button in the message editor will put the post you are quoting into a nice neat box?
example:
Sibyl
since I wasn't raised around computers , I have to sort through the computer talk to try and figure out things for my own understanding. and then you mentioned
junker please use the codes tag when posting codes in posts here.
I tried to explain the solution to my problem in a way that I thought was
simpler to other people like myself but you will have to let me know what in the world you are talking about using code tags. lol
You do the same when posting codes. Except use the # button (its to the left of the quote button in the editor)
Or you can just do: [code]put the code here[/code]
example:
<script>
function Color_Username(ethan,troy){
//Created by Agent Moose (revolutionx.smfforfree3.com)
var Vikhyat = document.links;
for(simply_sibyl=0;simply_sibyl<Vikhyat.length;simply_sibyl++){
if(Vikhyat[simply_sibyl].href.match("profile;u=" + ethan + "$")){
Vikhyat[simply_sibyl].style.color = troy;
};};};
Color_Username("Member Number","Colour");
</script>
Its easier to read and with larger codes takes up much less space ;)
-
thanks sibyl