OK folks, I have written some Perl, PHP, shell scripts, but I am not any kind of serious programmer.at
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
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 anykin
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 ignoramusenter
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
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
outRe: 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
butthe 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,
interface)?I am guessing this is probably for something else (the Web
acheiveIt'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
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!
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 370 |
Nodes: | 16 (2 / 14) |
Uptime: | 126:16:38 |
Calls: | 7,905 |
Calls today: | 1 |
Files: | 12,972 |
Messages: | 5,792,847 |