The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

new "multi-colored names on chatbox" codes

2 posters

Go down

Solved new "multi-colored names on chatbox" codes

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

https://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.
avatar
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 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
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

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

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

it works, nice.
what about the code that hide @ on left and right side of chatbox?
avatar
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 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
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

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

Post by gunsmaker 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
new "multi-colored names on chatbox" codes 7BIqsrz
after i applied this code, it become like this
new "multi-colored names on chatbox" codes ZGJzbDX
avatar
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 February 25th 2015, 4:28 am

sorry but this is a bump. Sad
avatar
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 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
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

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

Post by gunsmaker 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-
avatar
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 February 25th 2015, 11:20 am

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

Topic archived
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

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