Section One BBS

Welcome, Guest.


Subject: Is there a self-service option for editing ones own personal details? Date: Mon Sep 05 2022 09:22 pm
From: MRO To: Waethorn

  Re: Is there a self-service option for editing ones own personal details?
  By: Waethorn to All on Mon Sep 05 2022 06:21 pm

 > Is there any way for a user to edit their own personal user details besides
 > just their avatar, sig, and password?  For instance, if they want to edit
 > their own email address (external netmail one registered in first-time user
 > setup), location, computer details, phone number, etc.

some of that is in the user preferences.
anything else you can script with javascript or baja

it seems everyone here tries to discourage baja, but baja makes it real
easy and simple.

!include sbbsdefs.inc
!include nodedefs.inc
!include userdefs.inc

:top

str alias realname chathandle computer usernote address location
str zipcode password birthdate phonenum modem comment
copy alias  _USERON.ALIAS
copy realname _USERON.NAME
copy chathandle  _USERON.HANDLE
copy computer  _USERON.COMP
copy usernote  _USERON.NOTE
copy address  _USERON.ADDRESS
copy location  _USERON.LOCATION
copy zipcode  _USERON.ZIPCODE
copy password  _USERON.PASS
copy birthdate  _USERON.BIRTH
copy phonenum  _USERON.PHONE
copy modem  _USERON.MODEM
copy comment  _USERON.COMMENT

async
cls
print "                        @BBS@ user editor"
print "\r\nalias: "
print alias
print "\r\nreal name : "
print realname
print "\r\nchat handle:"
print chathandle
print "\r\ncomputer:"
print computer
print "\r\nuser note:"
print usernote
print "\r\naddress:"
print address
print "\r\nlocation:"
print location
print "\r\nzipcode:"
print zipcode
print "\r\npassword:"
print password
print "\r\nbirthdate:"
print birthdate
print "\r\nphone number:"
print phonenum
print "\r\nmodem:"
print modem
print "\r\ncomment:"
print comment
crlf
print "\r\n[h]andle/real name/chat handle "
print "[p]hone number [c]omputer [n]ote/caller id"
print "\r\n[a]ddress [l]ocation "
print "[w]password [b]irthday [m]odem [*]comment"
print "\r\n[q]uit"
sync

print "\r\ncommand:"
getcmd "hpcnlzwbmc*q"
cmdkey h
print "\r\nalias:"
getstr
set_user_string USER_STRING_ALIAS
#User's alias or real name on real name based BBSs
print "\r\nchat handle:"
getstr
set_user_string USER_STRING_HANDLE
#User's chat handle
print "\r\nreal name:"
getstr
set_user_string USER_STRING_REALNAME
#User's real name or company name
goto top
end_cmd
cmdkey c
print "\r\ncomputer description:"
getstr
set_user_string USER_STRING_COMPUTER
#User's computer type description
goto top
end_cmd
cmdkey n
print "\r\nuser note/caller id:"
getstr
set_user_string USER_STRING_NOTE
#User's note/Caller-ID
goto top
end_cmd
cmdkey a
print "\r\naddress:"
set_user_string USER_STRING_ADDRESS
#User's street address
goto top
end_cmd
cmdkey l
print "\r\ncity/state:"
getstr
set_user_string USER_STRING_LOCATION
#User's city, state
print "\r\nzipcode:"
getstr
set_user_string USER_STRING_ZIPCODE
#User's zip/postal code
goto top
end_cmd

cmdkey w
print "\r\npassword:"
getstr
set_user_string USER_STRING_PASSWORD
#User's password
goto top
end_cmd

cmdkey b
print "\r\nmm/dd/yy"
getstr
set_user_string USER_STRING_BIRTHDAY
#User's birthday (MM/DD/YY or DD/MM/YY)
goto top
end_cmd

cmdkey p
print "\r\nphone number:"
getstr
set_user_string USER_STRING_PHONE
#User's phone number
goto top
end_cmd

cmdkey m
print "\r\nmodem description:"
getstr
set_user_string USER_STRING_MODEM
#User's modem type description
goto top
end_cmd

cmdkey *
print "\r\nenter sysop comment:"
getstr
set_user_string USER_STRING_COMMENT
#User's secret sysop comment
goto top
end_cmd
---
 ■ Synchronet ■ ::: BBSES.info - free BBS services :::

Previous Message       Next Message
In Reply To: Is there a self-service option for editing ones own personal details? (Waethorn)
Replies: Is there a self-service option for editing ones own personal details? (Waethorn)