Chat_XH

Ein CMSimple Support Forum für deutsch sprechende Nutzer und Entwickler
Tata
Posts: 2880
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Chat_XH

Post by Tata » Sun Dec 10, 2017 6:53 am

Thanks, I try it. One more question - where does the plugin get my chat-name (nick) from?
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

cmb
Posts: 12934
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: Chat_XH

Post by cmb » Sun Dec 10, 2017 12:29 pm

Tata wrote:[…] - where does the plugin get my chat-name (nick) from?
That's the user name of Register or Memberpages (which is stored in $_SESSION).
Christoph M. Becker –Plugins for CMSimple_XH

Tata
Posts: 2880
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Chat_XH

Post by Tata » Sun Dec 10, 2017 1:35 pm

I see. I have tested it on Localhost without active Memberspages/Register. The plugin works without them, but uses "Nobody" as a nick.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Tata
Posts: 2880
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Chat_XH

Post by Tata » Tue Dec 12, 2017 8:05 pm

Finaly I have extended the code by variable in the placeholder

Code: Select all

$inputs = tag('input type="text" name="chat_message" placeholder="'.$plugin_tx['chat']['your_comment'].'"');
and extended language files by this variable. Works fine.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Post Reply