home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
WWIVMODS
/
MODSUNKN.ZIP
/
8BSUBHST.MOD
next >
Wrap
Text File
|
1992-12-01
|
2KB
|
43 lines
═════════════════════════════════════════════════════════════════════════════
EIGHT BALL'S MOD #24: Adds [Sub-board Host System] after all posts on net
subs that you host
Another Presentation of the Dead Sysops Society
Estimated Installation time: 30 seconds (another block read mod)
═════════════════════════════════════════════════════════════════════════════
The mod adds the words [Sub-board Host System] after all posts on net subs
that you host. So posts on my system show up as
Name: Some Loser User #666 @6909 [Sub-board Host System]
Note that the change will not show up on YOUR BOARD but it will show up
on other boards. So the only way to really test out if this works or not is
to have someone on another system send you mail about it.
Load up MSGBASE.C and look for void inmsg. Look waaaay down to the bottom of
this function (in fact, a better way might be to look for the function
int forwardm(unsigned short *u, unsigned short *s) and work your way up. It
should come right after inmsg if you haven't messed around too much)
The lines marked with /*==*/ are already there. Lines with /*++*/ should be
added or block read in. REMOVE lines marked with /*--*/
/*==*/ m1->stored_as=0xffffffff; /* EXISTING CODE */
/*==*/ return; /* EXISTING CODE */
/*==*/ } /* EXISTING CODE */
/*==*/ /* EXISTING CODE */
/*==*/ l1=0; /* EXISTING CODE */
/*==*/ if (real_name) /* EXISTING CODE */
/*--*/ addline(b,thisuser.realname,&l1); /* REMOVE THIS LINE */
/*++*/ strcpy(s,thisuser.realname); /* ADD THIS LINE */
/*==*/ else /* EXISTING CODE */
/*--*/ addline(b,nam1(&thisuser,usernum,syscfg.systemnumber),&l1);/*REMOVE*/
/*++*/ strcpy(s,nam1(&thisuser,usernum,syscfg.systemnumber)); /* ADD THIS */
/*++*/ sprintf(s1,"%sN%u.NET",syscfg.datadir, /* ADD THIS LINE */
/*++*/ subboards[curlsub].type); /* ADD THIS LINE */
/*++*/ if (exist(s1)) /* ADD THIS LINE */
/*++*/ strcat(s," [Sub-board Host System]"); /* ADD THIS LINE */
/*++*/ addline(b,s,&l1); /* ADD THIS LINE */
/*==*/ time(&ll); /* EXISTING CODE */
/*==*/ strcpy(s,ctime(&ll)); /* EXISTING CODE */
That's it! Re-compile and test it out.