The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

new "multi-colored names on chatbox" codes

View previous topic View next topic Go down

Solved new "multi-colored names on chatbox" codes

Post by gunsmaker on February 23rd 2015, 10:21 am

http://help.forumotion.com/t138440-multi-colored-usernames-in-chatbox

@Ange Tuteur, since the chatbox updated, the codes wont work anymore, is there new codes of this?
my forum using phpbb3.

gunsmaker
Forumember

Posts : 34
Reputation : 1
Language : English and Indonesian

http://tcga.forumn.org

Back to top Go down

Solved Re: new "multi-colored names on chatbox" codes

Post by Ange Tuteur on February 23rd 2015, 10:25 am

I haven't given it a try, but see if this works for the chatbox :
Code:
span[data-user="1"] { font-size:0 }
span[data-user="1"]:before {
  font-size:10px;
  content:"Ange ";
  color:#00A5CD;
}
span[data-user="1"]:after {
  font-size:10px;
  content:"Tuteur";
  color:#7CBA2C;
}

Change the "1" to the ID of the user.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: new "multi-colored names on chatbox" codes

Post by gunsmaker on February 23rd 2015, 12:41 pm

it works, nice.
what about the code that hide @ on left and right side of chatbox?

gunsmaker
Forumember

Posts : 34
Reputation : 1
Language : English and Indonesian

http://tcga.forumn.org

Back to top Go down

Solved Re: new "multi-colored names on chatbox" codes

Post by Ange Tuteur on February 23rd 2015, 12:53 pm

Try this :
Code:
.user-msg .user, #chatbox_members li { font-size:0 }
.user-msg .user .chatbox-username, #chatbox_members li .chatbox-username { font-size:12px }

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: new "multi-colored names on chatbox" codes

Post by gunsmaker on February 23rd 2015, 1:14 pm

@Ange Tuteur wrote:Try this :
Code:
.user-msg .user, #chatbox_members li { font-size:0 }
.user-msg .user .chatbox-username, #chatbox_members li .chatbox-username { font-size:12px }

before i applied this code its like this

after i applied this code, it become like this

gunsmaker
Forumember

Posts : 34
Reputation : 1
Language : English and Indonesian

http://tcga.forumn.org

Back to top Go down

Solved Re: new "multi-colored names on chatbox" codes

Post by gunsmaker on February 25th 2015, 4:28 am

sorry but this is a bump. Sad

gunsmaker
Forumember

Posts : 34
Reputation : 1
Language : English and Indonesian

http://tcga.forumn.org

Back to top Go down

Solved Re: new "multi-colored names on chatbox" codes

Post by Ange Tuteur on February 25th 2015, 8:02 am

replace this :
Code:
span[data-user="1"] { font-size:0 }

by this :
Code:
span[data-user="1"] { font-size:0 !important }

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: new "multi-colored names on chatbox" codes

Post by gunsmaker on February 25th 2015, 11:01 am

its working, i didnt realize just adding the "!important" thing to do the job. xD

once again, thankyou very much @Ange Tuteur

-Solved-

gunsmaker
Forumember

Posts : 34
Reputation : 1
Language : English and Indonesian

http://tcga.forumn.org

Back to top Go down

Solved Re: new "multi-colored names on chatbox" codes

Post by Ange Tuteur on February 25th 2015, 11:20 am

You're welcome, I should've tested it first. Razz

Topic archived

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum