Synchronet v3.21e-Win32 (install) has been released (Mar-2026).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
module:avatars [2020/11/22 23:22] – [modopts.ini] New msghdr_draw_* options digital manmodule:avatars [2026/03/01 23:45] (current) – [modopts.ini] Document the enabled option (defaults to true) digital man
Line 43: Line 43:
 | ''[[dir:exec]]/load/graphic.js''       | ANSI "graphics" library | | ''[[dir:exec]]/load/graphic.js''       | ANSI "graphics" library |
 | ''[[dir:exec]]/load/ansiterm_lib.js''  | ANSI terminal library | | ''[[dir:exec]]/load/ansiterm_lib.js''  | ANSI terminal library |
 +| ''[[dir:exec]]/load/identicon.js''     | Identicon library |
 | ''[[dir:exec]]/showmsghdr.js''         | Module to display a message header, with avatar (i.e. executed via ''msghdr.asc'' for v3.16 ) | | ''[[dir:exec]]/showmsghdr.js''         | Module to display a message header, with avatar (i.e. executed via ''msghdr.asc'' for v3.16 ) |
 | ''[[dir:exec]]/showmsgavatar.js''      | Module to display a message avatar, only (using ''text.dat'' approach or custom ''msghdr.asc'') | | ''[[dir:exec]]/showmsgavatar.js''      | Module to display a message avatar, only (using ''text.dat'' approach or custom ''msghdr.asc'') |
Line 202: Line 203:
  
 ^ Option       ^ Default  ^ Description ^ ^ Option       ^ Default  ^ Description ^
 +| enabled      | ''true'' | Set to ''false'' to disable avatar prompting and display from the various avatar-enabled JS modules |
 | sub          | //auto// | Sub-board internal code for import and export command (your networked //sync-data// message area) | | sub          | //auto// | Sub-board internal code for import and export command (your networked //sync-data// message area) |
 | export_freq  | ''7''    | Maximum export (to message-base) frequency, in days | | export_freq  | ''7''    | Maximum export (to message-base) frequency, in days |
Line 210: Line 212:
 | msghdr_draw_above | ''true'' | Display message header avatar above current cursor position | | msghdr_draw_above | ''true'' | Display message header avatar above current cursor position |
 | msghdr_draw_right | ''true'' | Display message header avatar right-justified | | msghdr_draw_right | ''true'' | Display message header avatar right-justified |
 +| auto_identicon    | ''true'' | Auto-generate [[wp>identicons]] for users or message-authors/file-uploaders that don't have an avatar set |
  
  
Line 221: Line 224:
 avatar_file = <filename of avatar collection> avatar_file = <filename of avatar collection>
 avatar_offset = <0-based record number of avatar to use> avatar_offset = <0-based record number of avatar to use>
 +avatar_identicon = <set to true to auto-generate an identicon based on new user's alias for their default avatar>
  
 [logon] [logon]
Line 258: Line 262:
 Once imported into the ''modopts.ini'' file, you can rename or copy the ''msg_default'' key to ''//<sub-code>//_default'' or ''//<group-name>//_default'' as desired. The ''//<sub-code>//'' and ''//<group-name>//'' must be lower-case. Once imported into the ''modopts.ini'' file, you can rename or copy the ''msg_default'' key to ''//<sub-code>//_default'' or ''//<group-name>//_default'' as desired. The ''//<sub-code>//'' and ''//<group-name>//'' must be lower-case.
      
 +===== Disable =====
 +
 +While the Avatar system can be disabled by deleting the events and changing ''set_avatar'' to ''false'' in the ''[login]'' section of ''modopts.ini'', the events will be re-added and ''set_avatar'' set back to ''true'' the next time you run the ''update.js'' script. To prevent this, you must delete all the ''text/avatars/*.bin'' files, which will cause the ''install'' option of ''avatar.js'' to fail.
 +
 ===== Specifications ===== ===== Specifications =====
  
Line 371: Line 379:
 | -v              | Increase verbosity of console output (e.g. for trouble-shooting) | | -v              | Increase verbosity of console output (e.g. for trouble-shooting) |
 | -offset=<value> | Specify a record offset of an avatar in an avatar collection file | | -offset=<value> | Specify a record offset of an avatar in an avatar collection file |
-| -realnames      | When exporting user avatar, include the user's real name as well as their alias - required if the message network uses/requires real names |+| -realnames      | When exporting user avatars, include the user'full real name as well as their alias 
 +-aliasonly      | When exporting user avatars, do not include even an MD5-digest of the user'real name |
 | -ptr=<value>    | Over-ride the stored import/export message pointer value | | -ptr=<value>    | Over-ride the stored import/export message pointer value |
 | -all            | Import/export all messages (even those exported locally) - not normally recommended | | -all            | Import/export all messages (even those exported locally) - not normally recommended |