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.

Change A Name in the Chatbox Only?

3 posters

Go down

Change A Name in the Chatbox Only? Empty Change A Name in the Chatbox Only?

Post by Kfalash 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
Kfalash
New Member

Female Posts : 24
Reputation : 1
Language : English

http://thebeyond.forumotion.com/

Back to top Go down

Change A Name in the Chatbox Only? Empty Re: Change A Name in the Chatbox Only?

Post by Take Notes 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.
Take Notes
Take Notes
Helper
Helper

Male Posts : 2337
Reputation : 324
Language : English
Location : Forumountain

Back to top Go down

Change A Name in the Chatbox Only? Empty Re: Change A Name in the Chatbox Only?

Post by Ange Tuteur 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 https://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
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Change A Name in the Chatbox Only? Empty Re: Change A Name in the Chatbox Only?

Post by Kfalash 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...

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

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

https://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
Kfalash
New Member

Female Posts : 24
Reputation : 1
Language : English

http://thebeyond.forumotion.com/

Back to top Go down

Back to top


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