Re: Re: Strange happenings for new users
By: Geo to Digital Man on Wed Mar 28 2018 11:38 am
Re: Strange happenings for new users
By: Geo to All on Tue Mar 27 2018 10:10 pm
Hi All,
I am not sure what I have done whilst rebuilding my BBS but I am seeing some strange behavior when New users log in and register with my BBS "The Dungeon"
The process flows through normally as expected, and then for some reason at the end the new user is asked for a second time, their name (supposedly "for the record") like a guest would be, as well as where they heard about the BBS and there ANSI settings etc. This is after they have already answered all of those whestions in the New user section, and set their PWD etc.
I must have configured something strangely or set a toggle wrong somewhere, but I spent an hour looking through scfg and the config files and couldn't work out what is going on.
Any thoughts???
Can you provide a copy/paste or screen shot of the prompts you have questions about?
Sounds like you might have a custom newuser module (SCFG->System->Loadable Modules->New User) or an external program (SCFG->External Programs->Online Progarms) configured to run on the "New User" event?
Hi DM,
Yeah I did have an entry in SCFG->System->Loadable Modules->New User.
I removed it and it still happens? So even weirder! 8-)
The default new user module is "newuser" (newuser.js), I suggest you put it back in place in SCFG.
The second set of questions appear immediately after the Password setting process and
before the BBS shows the SYNCHRONET Banner. It askes the ANSII questions again and
then the Name questions. In a different font too? I have A screen shot, how should I get it to
you?
Normally, you can just copy and paste (e.g. using SyncTERM).
I was gunna UUENCODE it but its way to big to put in an Echo msg and not get roasted. 8-)
So I logged into your BBS (the address is not in your tagline, btw) and I think the problem is you're giving new user the 'G' (Guest) restriction. This restriction is for the 'Guest' account only - you don't want to be putting that on new user accounts (e.g. in SCFG->System->New User Values->Restrictions).
The questions are coming from this code in exec/logon.js:
if(user.security.restrictions&UFLAG_G) {
while(bbs.online) {
printf("\1y\1hFor our records, please enter your full name: \1w");
name=console.getstr(LEN_NAME,K_UPRLWR);
if(!name || !name.length)
continue;
bbs.log_str("Guest: " + name);
user.name = name;
break;
}
digital man
This Is Spinal Tap quote #43:
I feel my role in the band is ... kind of like lukewarm water.
Norco, CA WX: 68.8oF, 31.0% humidity, 6 mph NNW wind, 0.00 inches rain/24hrs --- SBBSecho 3.03-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)