Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
module:chat_sec [2020/09/22 22:00] – Update the menu paste and link to chat_sec.js 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 ^ |
| imsg | true | Allow inter-BBS instant messenger use | | | imsg | true | Allow inter-BBS instant messenger use | |
| irc | true | Allow IRC client use | | | irc | true | Allow IRC client use | |
| irc_server | irc.synchro.net 6667 | IRC Server address and TCP port | | | irc_server | irc.synchro.net 6667 | Comma-separated list of IRC Server addresses and (optional) TCP port | |
| irc_channel | #Synchronet | IRC Channel to auto-join | | | irc_channel | #Synchronet | Comma-separated list of IRC Channels to auto-join | |
| irc_seclevel | 90 | Security level required to change IRC server/channel parameters | | | irc_seclevel | 90 | Security level required to change IRC server/channel parameters | |
===== 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: |