Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
module:chat_sec [2021/02/14 13:33] – irc_server and irc_channel can now be a comma-separated list digital man | module:chat_sec [2023/02/26 21:40] – [Install] Updated for v3.20 digital man |
---|
====== Chat Section ====== | ====== Chat Section ====== |
| |
This module (''[[dir:exec]]/[[http://cvs.synchro.net/cgi-bin/viewcvs.cgi/*checkout*/exec/chat_sec.js|chat_sec.js]]'') displays the "Chat" [[http://cvs.synchro.net/cgi-bin/viewcvs.cgi/*checkout*/text/menu/chat.asc|menu]]/prompt from the [[server:Terminal]] Server accepts/acts upon user input (hot keys) to perform chat-related functions. | This module (''[[dir:exec]]/[[https://gitlab.synchro.net/main/sbbs/-/blob/master/exec/chat_sec.js|chat_sec.js]]'') displays the "Chat" [[https://gitlab.synchro.net/main/sbbs/-/blob/master/text/menu/chat.msg|menu]]/prompt from the [[server:Terminal]] Server accepts/acts upon user input (hot keys) to perform chat-related functions. |
<file> | <file> |
┌───────────┐ | ┌───────────┐ |
</file> | </file> |
| |
The [[https://gitlab.synchro.net/sbbs/sbbs/-/blob/master/exec/chat_sec.js|default chat section module]] is ''[[dir:exec]]/chat_sec.js'' and supports the following configuration options in the ''[chat]'' section of the ''[[dir:ctrl]]/[[config:modopts.ini]]'' file: | This module supports the following configuration options in the ''[chat]'' section of the ''[[dir:ctrl]]/[[config:modopts.ini]]'' file: |
| |
^ Option ^ Default ^ Description ^ | ^ Option ^ Default ^ Description ^ |
===== Install ===== | ===== Install ===== |
| |
This module should be installed in stock command shells by default (over-riding the hard-coded "Chat" menu logic). To install into additional command shells, replace the following line(s) in ''[[dir:exec]]/*.src'': | ==== SBBS v3.20 ==== |
| |
| In Synchronet v3.20, [[util:SCFG]]->System->Loadable Modules->Chat Section is set by default to "chat_sec" and will be automatically invoked with the [[custom:JavaScript]] ''bbs.chat_sec()'' method or the Baja ''chat_section'' function call. |
| |
| ==== SBBS v3.19 and earlier ==== |
| With older versions of Synchronet, this module should be installed in stock command shells by default (over-riding the hard-coded "Chat" menu logic). To install into additional command shells, replace the following line(s) in ''[[dir:exec]]/*.src'': |
chat_section | chat_section |
with: | with: |