Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
module:avatars [2019/06/04 02:10] – [New User Default Avatar] Added Message Default Avatar section digital man | module:avatars [2019/06/06 12:17] – [modopts.ini] clarification and fixed typo digital man |
---|
| 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). |
==== Message Default Avatar ==== | ==== Message Default Avatar ==== |
| |
A default message avatar may be imported into the ''msg_default'' key of the ''[[avatars]]'' of the ''[[dir:ctrl]]/[[config:modopts.ini]]'' file using [[util:JSexec]]: | A default message avatar may be imported into the ''msg_default'' key of the ''[avatars]'' section of the ''[[dir:ctrl]]/[[config:modopts.ini]]'' file using [[util:JSexec]]: |
jsexec avatars msg-default=/sbbs/text/avatars/silhouettes.bin -offset=0 | jsexec avatars msg-default=/sbbs/text/avatars/silhouettes.bin -offset=0 |
| |
| disable | Disable current user's avatar | | | disable | Disable current user's avatar | |
| disable=<usernum> | Disable specified user's avatar | | | disable=<usernum> | Disable specified user's avatar | |
| newuser <filename> | Import a new user default avatar from specified avatar collection file | | | newuser <filename> | Import a new user default avatar from specified avatar collection file (use with ''-offset'') | |
| | msg-default <filename> | Import a default message avatar from specified avatar collection file (use with ''-offset'') | |
| normalize <filenames> | Normalize one or more avatars | | | normalize <filenames> | Normalize one or more avatars | |
| normalize | Normalize the current user's avatar | | | normalize | Normalize the current user's avatar | |