• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

Changing specific user nick color (nickmeta) disables chat

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
1 post • Page 1 of 1

Postby circlesquared » Sun Nov 07, 2010 3:19 am

Hello,

I have followed the instructions on the "Customize" page of this website (http://www.phpfreechat.net/customize).

In my customize.js.php file I have this code:

pfcClient.prototype.buildNickItem_modify_nick_style = function(CircleSquared, span) {
span.style.color = this.getUserMeta(CircleSquared, 'red');
}

Ideally this would change my Nick (CircleSquared) to red. But what it does it seemingly disable the chat, as all of the past conversations in the chatroom disappear, and sending new messages results in no new messages appearing.

Am I writing the code properly? Do I need to identify a parameter in the index.php page regarding nickmeta? It all seemed pretty straightforward but attempting to do this is breaking my chatroom.

Thank you in advance for any offered solutions.

- CircleSquared
circlesquared
New member
 
Posts: 1
Joined: Sun Nov 07, 2010 3:09 am
Top

Post a reply
1 post • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 22 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
cron
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub