<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">In DXUser.pm. But, be warned, new
fields get added moderately frequently.<br>
<br>
The current list is:<br>
<br>
%valid = (<br>
call => '0,Callsign',<br>
alias => '0,Real Callsign',<br>
name => '0,Name',<br>
qth => '0,Home QTH',<br>
lat => '0,Latitude,slat',<br>
long => '0,Longitude,slong',<br>
qra => '0,Locator',<br>
email => '0,E-mail Address,parray',<br>
priv => '9,Privilege Level',<br>
lastin => '0,Last Time in,cldatetime',<br>
lastseen => '0,Last Seen,cldatetime',<br>
passwd => '9,Password,yesno',<br>
passphrase => '9,Pass Phrase,yesno',<br>
addr => '0,Full Address',<br>
'sort' => '0,Type of User', # A - ak1a, U -
User, S - spider cluster, B - BBS<br>
xpert => '0,Expert Status,yesno',<br>
bbs => '0,Home BBS',<br>
node => '0,Last Node',<br>
homenode => '0,Home Node',<br>
lockout => '9,Locked out?,yesno', # won't
let them in at all<br>
dxok => '9,Accept DX Spots?,yesno', # accept
his dx spots?<br>
annok => '9,Accept Announces?,yesno', #
accept his announces?<br>
lang => '0,Language',<br>
hmsgno => '0,Highest Msgno',<br>
group => '0,Group,parray', # used to
create a group of users/nodes for some purpose or other<br>
buddies => '0,Buddies,parray',<br>
isolate => '9,Isolate network,yesno',<br>
wantbeep => '0,Req Beep,yesno',<br>
wantann => '0,Req Announce,yesno',<br>
wantwwv => '0,Req WWV,yesno',<br>
wantwcy => '0,Req WCY,yesno',<br>
wantecho => '0,Req Echo,yesno',<br>
wanttalk => '0,Req Talk,yesno',<br>
wantwx => '0,Req WX,yesno',<br>
wantdx => '0,Req DX Spots,yesno',<br>
wantemail => '0,Req Msgs as Email,yesno',<br>
pagelth => '0,Current Pagelth',<br>
pingint => '9,Node Ping interval',<br>
nopings => '9,Ping Obs Count',<br>
wantlogininfo => '0,Login Info Req,yesno',<br>
wantgrid => '0,Show DX Grid,yesno',<br>
wantann_talk => '0,Talklike Anns,yesno',<br>
wantpc16 => '9,Want Users from node,yesno',<br>
wantsendpc16 => '9,Send PC16,yesno',<br>
wantroutepc19 => '9,Route PC19,yesno',<br>
wantusstate => '0,Show US State,yesno',<br>
wantdxcq => '0,Show CQ Zone,yesno',<br>
wantdxitu => '0,Show ITU Zone,yesno',<br>
wantgtk => '0,Want GTK interface,yesno',<br>
wantpc9x => '0,Want PC9X interface,yesno',<br>
wantrbn => '0,Want RBN spots,yesno',<br>
wantft => '0,Want RBN FT4/8,yesno',<br>
wantcw => '0,Want RBN CW,yesno',<br>
wantrtty => '0,Want RBN RTTY,yesno',<br>
wantpsk => '0,Want RBN PSK,yesno',<br>
wantbeacon => '0,Want RBN Beacon,yesno',<br>
lastoper => '9,Last for/oper,cldatetime',<br>
nothere => '0,Not Here Text',<br>
registered => '9,Registered?,yesno',<br>
prompt => '0,Required Prompt',<br>
version => '1,Version',<br>
build => '1,Build',<br>
believe => '1,Believable nodes,parray',<br>
lastping => '1,Last Ping at,ptimelist',<br>
maxconnect => '1,Max Connections',<br>
startt => '0,Start Time,cldatetime',<br>
connlist => '1,Connections,parraydifft',<br>
width => '0,Preferred Width',<br>
rbnseeme => '0,RBN See Me',<br>
);<br>
<br>
This is used to provide Automatic Get/Setter subroutines which
could be overridden by real ones. It also is the "valid" list of
user attributes. Use by the code of something not this list will
throw an error, and *may* stop the program, but these is much more
likely to create a huge stack trace and will carry on. Sorry isn't
not in alphabetical order. As it is a hash lookup table, order
isn't relevant.<br>
<br>
As an aside, as sysop (privilege 9) you can see all the attributes
that are defined for a user with stat/user <callsign>. You
will see more or fewer attributes depending on what a user (or the
system) has set. The digit before the description is the privilege
level at which you have to be to see the contents of that field.
Things like 'yesno' are some functions that display the contents
of the attribute in a more human "friendly" way (for certain
values of "human" and "friendly".<br>
<br>
Some of the comments are incomplete... Quite a lot of comments are
missing....<br>
<br>
Many modules have these %value hash tables. To see the full horror
of some of the output, try: stat/chan EA3CV next time you are
connected. There are a fair few of these 'stat/<something>'
commands. <cough> there might be a couple that I have
forgotten to provide help for. See /spider/cmd/stat/* for a
complete list.<br>
<br>
So come on, tell all. What are you up to?<br>
<br>
73 Dirk<br>
<br>
On 15/12/2021 18:33, Joaquin . via Dxspider-support wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAHTVWh1tO0Z_vO6RS8bawoTyAsMyHuQ3HdpU1Voo_FzySqm1WA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi Dirk,<br>
<br>
Where can I find the name of all the fields that the user_json
DB uses?<br>
<div><br>
</div>
<div>73 de Kin </div>
<div>EA3CV</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Dxspider-support mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dxspider-support@tobit.co.uk">Dxspider-support@tobit.co.uk</a>
<a class="moz-txt-link-freetext" href="https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support">https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a>
</pre>
</blockquote>
<br>
</body>
</html>