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.

Change A Name in the Chatbox Only?

View previous topic View next topic Go down

Change A Name in the Chatbox Only?

Post by Kfalash on April 5th 2016, 2:58 am

Hello there. I was wondering if it was possible to change a name only in the chatbox. For example, your forum name would stay the same but anytime you're in the chatbox it would be something else.

Forum name; Shudaar
Chatbox name; Fancy Shu

Thanks for any help in advance ^^

Kfalash
New Member

Female Posts : 22
Reputation : 1
Language : English

http://thebeyond.forumotion.com/

Back to top Go down

Re: Change A Name in the Chatbox Only?

Post by Genesis on April 5th 2016, 3:03 am

I don't believe this is possible with the Forumotioh ChatBox, you can do this however by installing an outside Shoutbox. All you got to does just search on Google or whatever search engine you use.

Genesis
Helper
Helper

Male Posts : 2331
Reputation : 322
Language : English
Location : Forumountain

http://forumpromocean.com

Back to top Go down

Re: Change A Name in the Chatbox Only?

Post by Ange Tuteur on April 5th 2016, 4:34 pm

Hi @Kfalash,

Yes it's possible, however, the names can only be managed by administrators. Add the following CSS rules to your stylesheet :
Admin Panel > Display > Colors > CSS stylesheet
Code:
span[data-user="1"] { font-size:0; }
span[data-user="1"]:after {
  content:"NO NAME";
  font-size:12px;
}

The rules above can be used to change the name of any user in the chatbox, you just need to edit the following parts :

1. The Id
Replace the 1 in both
Code:
data-user="1"
with the user id of the user whose name you want to change. For example, I'm 88576 http://help.forumotion.com/u88576 so my code would look like this :
Code:
span[data-user="88576"] { font-size:0; }
span[data-user="88576"]:after {
  content:"NO NAME";
  font-size:12px;
}


2. The name
To change the username all you need to do is replace "NO NAME" with whatever you like. Coffee Monster for example :
Code:
span[data-user="88576"] { font-size:0; }
span[data-user="88576"]:after {
  content:"Coffee Monster";
  font-size:12px;
}

Follow the same steps above for each user whose name you want to change. Note that commands like "/me" will still show your original name.

If you have any questions let me know. Wink

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Re: Change A Name in the Chatbox Only?

Post by Kfalash on April 6th 2016, 12:07 am

Thanks Ange Tuteur ^^
Just one thing though, it works fine on a regular member without a glow, icon, ect. But when I did it on myself it did this...

http://i.imgur.com/UHjGxRD.png

Normally, without the name change, I'd look like this

http://i.imgur.com/f6jb3Aq.png

So, is there a way to fix that? Other than that it's great and thank you for it. This might just be something in the glow code I'd need to fix but I just wanted to make sure. Razz

Kfalash
New Member

Female Posts : 22
Reputation : 1
Language : English

http://thebeyond.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