Subj : Re: New User Script
To   : Nightfox
From : Digital Man
Date : Mon Mar 10 2014 03:29 am

 Re: Re: New User Script
 By: Nightfox to Digital Man on Sat Mar 08 2014 03:49 pm

>   Re: Re: New User Script
>   By: Digital Man to Bill McGarrity on Tue Feb 18 2014 22:30:58
>
>  > DM>> There's no script in control at that point.
>
>  >> For my own knowledge, when New is answered on the Login, what
>  >> generates the questions regarding Alias, Full Name, etc...
>
>  DM> src/sbbs3/newuser.cpp. The strings come from ctrl/text.dat.
>
> I had the same question as Lab Rat, but for a different reason..  I was
> thinking of writing a custom new user signup script (so I could have more
> control over things like screen location, etc. for the new user question
> prompts) - but it sounds like there's no way to change the new user signup
> process?  I see that login.js simply calls bbs.newuser(), which starts that
> process..

Correct. Of course, you could modify login.js to *not* call bbs.newuser() for
new user signups, but then you'd have to reproduce everything that the internal
(newuser.cpp) code does in JavaScript. Not an impossible task (see the web
server newuser.ssjs for example), but potentially problematic.

You can disable many of the new user questions with toggles in
SCFG->System->New User Values, or by setting the text.dat strings to blank
strings (which eliminates many prompts).

                                           digital man

Synchronet "Real Fact" #32:
The Synchronet web user interface was contributed by Robert Couture, Runemaster.
Norco, CA WX: 60.9�F, 31.0% humidity, 0 mph ESE wind, 0.00 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net