OK folks, I have written some Perl, PHP, shell scripts, but I am not any kind of serious programmer.
WHAT I AM TRYING TO ACCOMPLISH:
I want to print a text file to new users before they start filling out the new user questionairre. This would be printed right after they enter New at the main login prompt.
HEARTACHE AND IGNOMINY:
At first I started modding newuser_signup.js in hopes this was it, but I am guessing this is probably for something else (the Web interface)?
I did track down /src/sbbs3/newuser.cpp
OK folks, I have written some Perl, PHP, shell scripts, but I am not any kin of serious programmer.
WHAT I AM TRYING TO ACCOMPLISH:
OK folks, I have written some Perl, PHP, shell scripts, but I am notany
kind of serious programmer.the
WHAT I AM TRYING TO ACCOMPLISH:
I want to print a text file to new users before they start filling out
new user questionairre. This would be printed right after they enterNew at
the main login prompt.
Re: Modifying CPP files for a complete ignoramus
By: The Dust Council to All on Wed Dec 18 2019 04:43 pm
OK folks, I have written some Perl, PHP, shell scripts, but I am not any kind of serious programmer.
WHAT I AM TRYING TO ACCOMPLISH:
I want to print a text file to new users before they start filling out the new user questionairre. This would be printed right after they enter New at the main login prompt.
HEARTACHE AND IGNOMINY:
At first I started modding newuser_signup.js in hopes this was it, but I am guessing this is probably for something else (the Web interface)?
It's an unused experiment. You can ignore it.
I did track down /src/sbbs3/newuser.cpp
I would not recommend modifying the C/C++ source files unless you've exhausted all other methods of configuration and customization to acheive the desired result.
In this case, I think you want to edit one of the following:
- ctrl/text.dat (StartingNewUserRegistration line)
- text/newuser.msg
... or worst case, edit newuser.js (copy to "mods" directory first).
digital man
Re: Modifying CPP files for a complete ignoramus
By: The Dust Council to All on Wed Dec 18 2019 04:43 pm
OK folks, I have written some Perl, PHP, shell scripts, but I am not any kind of serious programmer.
WHAT I AM TRYING TO ACCOMPLISH:
I want to print a text file to new users before they start filling out the new user questionairre. This would be printed right after they enter New at the main login prompt.
HEARTACHE AND IGNOMINY:
At first I started modding newuser_signup.js in hopes this was it, but I am guessing this is probably for something else (the Web interface)?
It's an unused experiment. You can ignore it.
I did track down /src/sbbs3/newuser.cpp
I would not recommend modifying the C/C++ source files unless you've exhausted all other methods of configuration and customization to acheive the desired result.
In this case, I think you want to edit one of the following:
- ctrl/text.dat (StartingNewUserRegistration line)
- text/newuser.msg
... or worst case, edit newuser.js (copy to "mods" directory first).
digital man
topographically speaking ... /sbbs/exec/login.js (line 56)
// New user application
if(str.toUpperCase()=="NEW") {
var still_apply;
if(bbs.menu_exists("somefile")) bbs.menu("somefile");
if(!still_apply = console.yesno("Continue with New User Application")) {
console.clear();
console.writeln("Whatever, Dude!\r\n");
bbs.hangup();
}
if(bbs.newuser()) {
bbs.logon();
exit();
}
continue;
}
seems easier then mucking around with other scripts ... correct me if I am incorrect, please.
PS Merry Christmas to you and Yours from me and Mine!
Re: Re: Modifying CPP files for a complete ignoramus
By: Mortifis to Digital Man on Mon Dec 23 2019 11:36 pm
Re: Modifying CPP files for a complete ignoramus
By: The Dust Council to All on Wed Dec 18 2019 04:43 pm
OK folks, I have written some Perl, PHP, shell scripts, but I am not any kind of serious programmer.
WHAT I AM TRYING TO ACCOMPLISH:
I want to print a text file to new users before they start filling out the new user questionairre. This would be printed right after they enter New at the main login prompt.
HEARTACHE AND IGNOMINY:
At first I started modding newuser_signup.js in hopes this was it, but I am guessing this is probably for something else (the Web interface)?
It's an unused experiment. You can ignore it.
I did track down /src/sbbs3/newuser.cpp
I would not recommend modifying the C/C++ source files unless you've exhausted all other methods of configuration and customization to acheive the desired result.
In this case, I think you want to edit one of the following:
- ctrl/text.dat (StartingNewUserRegistration line)
- text/newuser.msg
... or worst case, edit newuser.js (copy to "mods" directory first).
digital man
topographically speaking ... /sbbs/exec/login.js (line 56)
// New user application
if(str.toUpperCase()=="NEW") {
var still_apply;
if(bbs.menu_exists("somefile")) bbs.menu("somefile");
if(!still_apply = console.yesno("Continue with New User Application")) {
console.clear();
console.writeln("Whatever, Dude!\r\n");
bbs.hangup();
}
if(bbs.newuser()) {
bbs.logon();
exit();
}
continue;
}
seems easier then mucking around with other scripts ... correct me if I am incorrect, please.
My first suggestion was to modify display files, no scripts.
Sysop: | MCMLXXIX |
---|---|
Location: | Prospect, CT |
Users: | 333 |
Nodes: | 10 (0 / 10) |
Uptime: | 147:35:30 |
Calls: | 581 |
Messages: | 237925 |