Patches from Bobby Cabral to mbsebbs
This commit is contained in:
parent
4cf5ce6699
commit
c74db44255
2
AUTHORS
2
AUTHORS
@ -35,3 +35,5 @@ Johan Lindh
|
|||||||
William McBrine
|
William McBrine
|
||||||
Harald Wuensch
|
Harald Wuensch
|
||||||
NERvOus nervous@nervous.it
|
NERvOus nervous@nervous.it
|
||||||
|
Bobby Cabral bobbyc@digitelone.com
|
||||||
|
|
||||||
|
@ -4249,6 +4249,10 @@ v0.33.19 26-Oct-2001
|
|||||||
simple one will be created.
|
simple one will be created.
|
||||||
If a user saves a new message at the bbs, the message will be
|
If a user saves a new message at the bbs, the message will be
|
||||||
signed using the .signature file.
|
signed using the .signature file.
|
||||||
|
Patches from Bobby Cabral:
|
||||||
|
- Fixed display file with more that stopped after every line.
|
||||||
|
- Added display file "mainlogo" before the "welcome" file.
|
||||||
|
- Added display files "welcome2..9" after "welcome1" file.
|
||||||
|
|
||||||
mbtask:
|
mbtask:
|
||||||
Changed to handle the External Doors flag in the lastcaller
|
Changed to handle the External Doors flag in the lastcaller
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: bbs/misc.c
|
* $Id$
|
||||||
* Purpose ...............: Misc functions
|
* Purpose ...............: Misc functions
|
||||||
* Last modification date : 26-Oct-2001
|
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2001
|
* Copyright (C) 1997-2001
|
||||||
@ -60,7 +59,7 @@ int LC_Door = FALSE;
|
|||||||
|
|
||||||
int MoreFile(char *filename)
|
int MoreFile(char *filename)
|
||||||
{
|
{
|
||||||
char Buf[80];
|
char Buf[81];
|
||||||
static FILE *fptr;
|
static FILE *fptr;
|
||||||
int lines;
|
int lines;
|
||||||
int input;
|
int input;
|
||||||
@ -77,7 +76,7 @@ int MoreFile(char *filename)
|
|||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
while (fgets(Buf,80,fptr) != NULL) {
|
while (fgets(Buf,80,fptr) != NULL) {
|
||||||
if ( (lines != 0) || (ignore) ) {
|
if ((lines != 0) || (ignore)) {
|
||||||
lines--;
|
lines--;
|
||||||
printf("%s",Buf);
|
printf("%s",Buf);
|
||||||
}
|
}
|
||||||
@ -107,9 +106,8 @@ int MoreFile(char *filename)
|
|||||||
else
|
else
|
||||||
lines = maxlines;
|
lines = maxlines;
|
||||||
}
|
}
|
||||||
printf("\n\n");
|
|
||||||
Pause();
|
|
||||||
}
|
}
|
||||||
|
Pause();
|
||||||
fclose(fptr);
|
fclose(fptr);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,9 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: bbs/user.c
|
* $Id$
|
||||||
* Purpose ...............: Main user login procedure. Checks for limits,
|
* Purpose ...............: Main user login procedure. Checks for limits,
|
||||||
* new ratio's cats all the welcome screens, and
|
* new ratio's cats all the welcome screens, and
|
||||||
* does a lot of checking in general.
|
* does a lot of checking in general.
|
||||||
* Last modification date : 27-Oct-2001
|
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2001
|
* Copyright (C) 1997-2001
|
||||||
@ -1042,6 +1041,7 @@ void user()
|
|||||||
Time2Go += usrconfig.iTimeLeft * 60;
|
Time2Go += usrconfig.iTimeLeft * 60;
|
||||||
iUserTimeLeft = usrconfig.iTimeLeft;
|
iUserTimeLeft = usrconfig.iTimeLeft;
|
||||||
|
|
||||||
|
DisplayFile((char *)"mainlogo");
|
||||||
DisplayFile((char *)"welcome");
|
DisplayFile((char *)"welcome");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -1050,6 +1050,14 @@ void user()
|
|||||||
*/
|
*/
|
||||||
if (exitinfo.ieNEWS) {
|
if (exitinfo.ieNEWS) {
|
||||||
DisplayFile((char *)"welcome1");
|
DisplayFile((char *)"welcome1");
|
||||||
|
DisplayFile((char *)"welcome2");
|
||||||
|
DisplayFile((char *)"welcome3");
|
||||||
|
DisplayFile((char *)"welcome4");
|
||||||
|
DisplayFile((char *)"welcome5");
|
||||||
|
DisplayFile((char *)"welcome6");
|
||||||
|
DisplayFile((char *)"welcome7");
|
||||||
|
DisplayFile((char *)"welcome8");
|
||||||
|
DisplayFile((char *)"welcome9");
|
||||||
|
|
||||||
sprintf(temp, "%s", (char *) GetDateDMY() );
|
sprintf(temp, "%s", (char *) GetDateDMY() );
|
||||||
if ((strcmp(usrconfig.sDateOfBirth, temp)) == 0)
|
if ((strcmp(usrconfig.sDateOfBirth, temp)) == 0)
|
||||||
|
Reference in New Issue
Block a user