| Next revision | Previous revision |
| custom:node_status [2024/12/07 20:33] – created digital man | custom:node_status [2026/03/31 20:09] (current) – [Static] Fix typo digital man |
|---|
| * NodeActivityRetrievingFile | * NodeActivityRetrievingFile |
| * NodeActivityCustom | * NodeActivityCustom |
| | |
| | **Note**:\\ |
| | These strings may be contain [[custom:Ctrl-A codes]] for customized attributes, but not [[custom:atcodes|@-codes]] for variable expansion or any other purpose. |
| |
| ===== Dynamic ===== | ===== Dynamic ===== |
| To replace "in-use" node action/activity strings //dynamically// (during run-time, e.g. while a user is connected to a terminal server node), use the Baja or JavaScript ''replace_text'' functionality to replace the ''NodeAction*'' ''[[custom:text.dat]]'' string corresponding with the current node action value (e.g. set the ''NodeActionCustom'' string when setting the current node action value to ''NODE_CUSTOM'' from ''[[dir:load]]/nodedefs.js''). | To replace "in-use" node action/activity strings //dynamically// (during run-time, e.g. while a user is connected to a terminal server node), use the Baja or JavaScript ''replace_text'' functionality to replace the ''NodeAction*'' ''[[custom:text.dat]]'' string corresponding with the current node action value (e.g. set the ''NodeActionCustom'' string when setting the current node action value to ''NODE_CUSTOM'' from ''[[dir:load]]/nodedefs.js'') before using the appropriate ''sync'' or ''nodesync'' function to write the changes to the ''node.dab'' and ''node.exb'' files. |
| |
| * NodeActionMainMenu | * NodeActionMainMenu |
| * NodeActionRetrievingFile | * NodeActionRetrievingFile |
| * NodeActionCustom | * NodeActionCustom |
| | |
| | **Note**:\\ |
| | These strings may contain [[custom:Ctrl-A codes]] (for custom attributes) or [[custom:atcodes|@-codes]] (for variable expansion). |
| | |
| | ==== Backward Compatibility ==== |
| | In versions prior to 3.20, Synchronet treated the NodeAction* ''text.dat'' strings [[https://synchro.net/docs/customization.html#NodeActionText|quite differently]], supported some very specific format specifiers for the inclusion of variables such as user name, age, etc. and was used to replace the entire node status text. As of v3.20, Synchronet now treats the contents of these ''text.dat'' strings as **only** the user activity portion of the node status (nothing else) and supports optional [[atcodes|@-codes]] for additional variables if any are desired. Most of these ''text.dat'' string IDs were renamed slightly as well. |
| |
| ===== Display ===== | ===== Display ===== |