Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| config:webv4 [2021/01/27 19:28] – i typed some shit ecbbs | config:webv4 [2022/03/14 20:05] (current) – [See Also] tags Andre | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== webv4 Configuration ====== | ====== webv4 Configuration ====== | ||
| - | The optional webv4 user interface is located in the '' | + | The optional |
| - | ===== Enabling webv4 ===== | + | ===== Enable |
| To enable webv4, edit [[config: | To enable webv4, edit [[config: | ||
| Line 24: | Line 24: | ||
| To disable webv4 (or switch back to the old web UI), edit [[config: | To disable webv4 (or switch back to the old web UI), edit [[config: | ||
| - | ===== Configuring webv4 ===== | + | ===== Configure |
| webv4' | webv4' | ||
| Line 87: | Line 87: | ||
| ; Enable with caution due to security implications (eg. user-uploaded HTML files) | ; Enable with caution due to security implications (eg. user-uploaded HTML files) | ||
| files_inline = false | files_inline = false | ||
| + | ; Offer dark mode to users | ||
| + | darkmode_allow = true | ||
| + | ; Enable dark mode by default: | ||
| + | darkmode_on = false | ||
| </ | </ | ||
| Line 108: | Line 112: | ||
| If these settings are absent, then the system defaults (as set in scfg) will be used. | If these settings are absent, then the system defaults (as set in scfg) will be used. | ||
| - | ==== Optional | + | ==== Optional |
| Advanced settings are available but not included by default. These are: | Advanced settings are available but not included by default. These are: | ||
| Line 127: | Line 131: | ||
| * Tweaking the `max_messages` setting may help if you get _out of memory_ errors or find your site being hit hard by bots / search indexers. | * Tweaking the `max_messages` setting may help if you get _out of memory_ errors or find your site being hit hard by bots / search indexers. | ||
| + | |||
| + | ===== fTelnet ===== | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | fTelnet **does not** connect directly to your telnet server. fTelnet connects to a '' | ||
| + | |||
| + | To enable the WebSocket service, ensure that you have the following section in '' | ||
| + | |||
| + | <code ini> | ||
| + | [WS] | ||
| + | Port=1123 | ||
| + | Options=NO_HOST_LOOKUP | ||
| + | Command=websocketservice.js | ||
| + | </ | ||
| + | |||
| + | If you server your website via '' | ||
| + | |||
| + | <code ini> | ||
| + | [WSS] | ||
| + | Port=11235 | ||
| + | Options=NO_HOST_LOOKUP|TLS | ||
| + | Command=websocketservice.js | ||
| + | </ | ||
| + | |||
| + | You must also ensure that the above ports are open in your firewall, and forwarded to your BBS if necessary. | ||
| + | |||
| + | **Before you request support for fTelnet, please double-check that the above sections exist in '' | ||
| ===== See Also ===== | ===== See Also ===== | ||
| * [[: | * [[: | ||
| - | {{tag>}} | + | {{tag>configuration web_server}} |