SMF For Free Support Forum
Signup For Free Forum
July 28, 2014, 05:19:29 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register Chat  

Pages: [1]
  Print  
Author Topic: COLORING MEMBERS NAMES  (Read 6704 times)
0 Members and 1 Guest are viewing this topic.
junker
SMF For Free Sr. Member
*
Offline Offline

Posts: 271



View Profile WWW
Total Badges: 17
Badges: (View All)
Third year Anniversary Level 4 Search Webmaster Second year Anniversary
« 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/
« Last Edit: July 16, 2011, 12:32:35 pm by junker » Logged
simply sibyl
Helpers
*
Offline Offline

Posts: 14347


On hiatus


View Profile WWW
Total Badges: 31
Badges: (View All)
Level 6 Poll Voter Webmaster Arcade Highscore Windows User
« Reply #1 on: July 13, 2011, 03:48:56 pm »

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.
Logged
junker
SMF For Free Sr. Member
*
Offline Offline

Posts: 271



View Profile WWW
Total Badges: 17
Badges: (View All)
Third year Anniversary Level 4 Search Webmaster Second year Anniversary
« Reply #2 on: July 13, 2011, 03:55:17 pm »

 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
Logged
simply sibyl
Helpers
*
Offline Offline

Posts: 14347


On hiatus


View Profile WWW
Total Badges: 31
Badges: (View All)
Level 6 Poll Voter Webmaster Arcade Highscore Windows User
« Reply #3 on: July 13, 2011, 04:30:11 pm »

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.
Logged
junker
SMF For Free Sr. Member
*
Offline Offline

Posts: 271



View Profile WWW
Total Badges: 17
Badges: (View All)
Third year Anniversary Level 4 Search Webmaster Second year Anniversary
« Reply #4 on: July 13, 2011, 07:35:29 pm »

sorry  sibyl  but  I  can  only  color  one  user  name .   I  use  the  code
 
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
« Last Edit: July 16, 2011, 12:12:49 pm by junker » Logged
simply sibyl
Helpers
*
Offline Offline

Posts: 14347


On hiatus


View Profile WWW
Total Badges: 31
Badges: (View All)
Level 6 Poll Voter Webmaster Arcade Highscore Windows User
« Reply #5 on: July 14, 2011, 10:18:44 am »

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.
Logged
junker
SMF For Free Sr. Member
*
Offline Offline

Posts: 271



View Profile WWW
Total Badges: 17
Badges: (View All)
Third year Anniversary Level 4 Search Webmaster Second year Anniversary
« Reply #6 on: July 14, 2011, 06:33:16 pm »

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
 
Code:
<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>
« Last Edit: July 16, 2011, 12:11:21 pm by junker » Logged
junker
SMF For Free Sr. Member
*
Offline Offline

Posts: 271



View Profile WWW
Total Badges: 17
Badges: (View All)
Third year Anniversary Level 4 Search Webmaster Second year Anniversary
« Reply #7 on: July 16, 2011, 08:44:39 am »

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
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("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
« Last Edit: July 16, 2011, 12:20:57 pm by junker » Logged
simply sibyl
Helpers
*
Offline Offline

Posts: 14347


On hiatus


View Profile WWW
Total Badges: 31
Badges: (View All)
Level 6 Poll Voter Webmaster Arcade Highscore Windows User
« Reply #8 on: July 16, 2011, 08:59:38 am »

Topic moved to the Codes Board...    junker please use the codes tag when posting codes in posts here.
Logged
junker
SMF For Free Sr. Member
*
Offline Offline

Posts: 271



View Profile WWW
Total Badges: 17
Badges: (View All)
Third year Anniversary Level 4 Search Webmaster Second year Anniversary
« Reply #9 on: July 16, 2011, 09:42:28 am »

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
Logged
simply sibyl
Helpers
*
Offline Offline

Posts: 14347


On hiatus


View Profile WWW
Total Badges: 31
Badges: (View All)
Level 6 Poll Voter Webmaster Arcade Highscore Windows User
« Reply #10 on: July 16, 2011, 10:07:47 am »

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:

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("Member Number","Colour");  
</script>

Its easier to read and with larger codes takes up much less space Wink

Logged
junker
SMF For Free Sr. Member
*
Offline Offline

Posts: 271



View Profile WWW
Total Badges: 17
Badges: (View All)
Third year Anniversary Level 4 Search Webmaster Second year Anniversary
« Reply #11 on: July 16, 2011, 12:01:33 pm »

thanks  sibyl
Logged


Pages: [1]
  Print  
 
Jump to:  



Powered by SMF 1.1.19 | SMF © 2013, Simple Machines