Frug / AJAX-Chat

A fully customizable web chat implemented in JavaScript, PHP and MySQL which integrates nicely with common forum systems like phpBB, MyBB, FluxBB, SMF and vBulletin. A Flash and Ruby based socket connection can be used to boost performance.
http://frug.github.io/AJAX-Chat/
548 stars 300 forks source link

A symbolic sign after username click in file 'chat.js' - event onClick #211

Closed marioene closed 8 years ago

marioene commented 9 years ago

Can you change the onClick event on line 1271 in chat.js to put " > " or a configurable parameter?

Example:

                + '" onclick="ajaxChat.insertText(this.firstChild.nodeValue);">'

to

                + '" onclick="ajaxChat.insertText(this.firstChild.nodeValue + \' > \');">'

Thank you!

Frug commented 8 years ago

This would have to be configurable or it would interfere with how people already use this feature (assuming people do). It's such a specific request I think it's better that you modify your chat to do it with a plugin than add it to base chat.