Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
module:avatars [2019/06/04 02:13] – [Commands] Added msg-default command digital man | module:avatars [2019/07/17 00:28] – Use syntax highlighting digital man |
---|
Other than command-line parameters, the only configuration options for ''avatars.js'' are stored in the ''[avatars]'' section of the ''[[dir:ctrl]]/[[config:modopts.ini]]'' file: | Other than command-line parameters, the only configuration options for ''avatars.js'' are stored in the ''[avatars]'' section of the ''[[dir:ctrl]]/[[config:modopts.ini]]'' file: |
| |
<file modopts.ini> | <file ini> |
[avatars] | [avatars] |
sub = dove-syncdata | sub = dove-syncdata |
| export_freq | Maximum export (to message-base) frequency, in days (default: ''7'') | | | export_freq | Maximum export (to message-base) frequency, in days (default: ''7'') | |
| msg_default | Default avatar (base64-encoded) for displaying messages from users without an avatar | | | msg_default | Default avatar (base64-encoded) for displaying messages from users without an avatar | |
| //<sub-code>//_default | Default avatar (base64-encoded)for the specified message sub-board | | | //<sub-code>//_default | Default avatar (base64-encoded) for the specified message sub-board (internal code, lowercase) | |
| //<group-name>//_default | Default avatar (base64-encoded) for the specified message group | | | //<group-name>//_default | Default avatar (base64-encoded) for the specified message group (name, lowercase)| |
| |
When user avatars or shared avatar collections (''.bin'' files) are updated, they will be exported immediately (or when the ''AVAT-OUT'' event is executed). | When user avatars or shared avatar collections (''.bin'' files) are updated, they will be exported immediately (or when the ''AVAT-OUT'' event is executed). |
Also in the ''[[dir:ctrl]]/[[config:modopts.ini]]'' file: | Also in the ''[[dir:ctrl]]/[[config:modopts.ini]]'' file: |
| |
<file modopts.ini> | <file ini> |
[newuser] | [newuser] |
avatar = <base64-encoded avatar data> | avatar = <base64-encoded avatar data> |
The new user default avatar, if you have one, will be set with the ''avatar'' value in the ''[newuser]'' section of the ''[[dir:ctrl]]/[[config:modopts.ini]]'' file: | The new user default avatar, if you have one, will be set with the ''avatar'' value in the ''[newuser]'' section of the ''[[dir:ctrl]]/[[config:modopts.ini]]'' file: |
| |
<file> | <file ini> |
[newuser] | [newuser] |
avatar=IH8gfyB/3H/cf9x/3H8gfyB/IH8gfyB/3n/bf9t/23/bf91/IH8gfyB/IH/ef9t/23/bf9t/3X8gfyB/IH8gf9x/23/bf9t/23/cfyB/IH8gf9t/23/bf9t/23/bf9t/238gfyB/23/bf9t/23/bf9t/23/bfyB/ | avatar=IH8gfyB/3H/cf9x/3H8gfyB/IH8gfyB/3n/bf9t/23/bf91/IH8gfyB/IH/ef9t/23/bf9t/3X8gfyB/IH8gf9x/23/bf9t/23/cfyB/IH8gf9t/23/bf9t/23/bf9t/238gfyB/23/bf9t/23/bf9t/23/bfyB/ |