Category : BBS Programs+Doors
Archive   : TONSMOD.ZIP
Filename : ALIAS.MOD
The POST WITH ALIAS Mod
VERSION: WWIV v4.11 (will NOT work with 4.10)
Affected: MSGBASE.C
WHAT: This mod will allow users to choose a name to post under, providing that
you (the sysop) have allowed it on that sub.
PURPOSE: This mod has no real, practical purpose. I saw it on another board
(not WWIV), and the sub was definately the most interesting I've ever seen, so
I added it to WWIV. It is an interesting alternative to Dear Abby and/or the
Forced Anonymous subs.
HOW: Install the mod as instructed later in this message. Adding this mod will
make the following changes to the BBS:
- The "Real Name" option which Wayne added to version 4.11 is no
longer active.
- The Dear Abby format now allows messages to be saved as the user's
name, Abby, or Anonymous. The Problemed Person name has been
eliminated, so that the PP flag can be used for another
purpose. Any messages posted as "Problemed Person" before
the mod was installed will appear as normal messages when
read, but Anonymous messages in all other regards (replies,
etc.)
To set up a sub using this format, go to BOARDEDIT and set the Anony option
to "Real Name" (which is a misnomer, since it is actually a FAKE name that
the users are using). After a message is posted on that sub, and before it
is saved, the user will be prompted with "Enter name to post under:". If a
name is typed, that name will be used at the message header, and the message
will be considered Anonymous in all other regards. If you have MrBill's
BY-LINE mod installed, all replies will refer to the name that the user has
entered when saving the message. If you have Bruce Guthrie's "User Name in
Sub Title Scan" mod installed, these messages will have an author of >UNKNOWN<.
(If the user just hits ENTER or RETURN at this prompt, it will be a regular
message: Name: Sysop Hitchhiker #1 @9807)
THE MOD: Finally!
* Step One *
Make a backup of your files! I use PKZIP -F BACKUP.ZIP *.C *.H, but you may
use a different compressor and/or filename (if you don't have a backup file
yet, omit the -F switch).
* Step Two *
Load up the MSGBASE.C file, and go to void inmsg (blah).
= Existing Line
+ Add line
* Change Line
- Delete line
= void inmsg(messagerec *m1, etc..)
= {
* char s[LEN],s1[LEN],s2[LEN],ro[81],fnx[81],chx,*ss,*ss1,nombre[20];
= int maxli,curli,done,save,savel,i,i1,i2,i3,i4,i5,f,setanon,gati[50],gatp;
Skip down a bit and make the following changes:
= case anony_enable_dear_abby:
= nl();
= print("1. ",nam(&thisuser,usernum),"");
= pl("2. Abby");
* pl("3. Anonymous");
= nl();
= prt(5,"Which? ");
= chx=onek("\r123");
= switch (chx) {
= case '\r':
= case '1':
= *anony=0;
= break;
= case '2':
= *anony=anony_sender_da;
= break;
= case '3':
* *anony=anony_sender;
And a bit farther down...
= l1=0;
* if (real_name) { /*Note the brace at the end */
- addline(b,thisuser.realname,&l1); /*Dont want this line*/
+ nl();
+ *anony=anony_sender_pp;
+ prt(2,"Enter name to save under: ");
+ inputl(nombre,20);
+ if (nombre[0]==0) {
+ *anony=0;
+ addline(b,nam1(&thisuser,usernum,syscfg,systemnumber),&l1);
+ }
+ else addline(b,nombre,&li);
+ }
= else
= addline(b,nam1(&thisuser,usernum,syscfg,systemnumber),&l1);
* Step Three *
Find void read_message1 (blah...) and make the following changes:
= if (m.storage_type!=255) switch (an) {
= default:
= case 0:
+ case anony_sender_pp:
And a little farther down:
= case anony_sender_da:
- case anony_sender_pp:
= osan("Name: ",&abort,next);
= ansic(MSG_COLOR);
= plan("Abby",&abort,next);
= strcpy(byline,"BY: Abby"); /* If you have MrBill's BY-LINE mod */
- } else {
- osan("Name: ",&abort,next);
- ansic(MSG_COLOR);
- plan("Problemed Person",&abort,next);
- strcpy(byline,"BY: Problemed Person"); /* If BY-LINE mod installed */
- }
= if (readit) {
* Step Four *
Hit F9 and compile
Well, that's the mod (I'm pretty sure I got it all in there). If you have any
questions or comments, send me mail. Or just send me mail to let me know if
you're using the mod. My WWIVnet address is 1@9807 (this is my first mod, I
want to know if I should continue, even with my zero knowledge of C... all the
C I learned was by reading the source to WWIV).
And the usual disclaimer stuff. I take no responsibility for anything that may
happen to you, your computer, your BBS, your users, your kids, your house, your
town council, or anything else as a result of this mod.
One side note: When you read a message, it looks like this:
46/50: This is the title
Name: The Funky Chicken
Date: today's date.. I forgot WWIV's weird format
This is the Ctrl-D Macro
This is the Ctrl-F Macro
Read (1-50,^46,?):
You'll notice that the real name or handle is not shown, not even to the sysop
(that ruins all the fun!). Some smart-alec might decide to take advantage of
this and post something inappropriate, or, God forbid, illegal. If that
happens, type "A" at the end of the message, and it will give you the name of
the person (If you don't want to send them mail, hit ENTER at the title).
You need sysop access, obviously, otherwise you'll be sending E-mail to
Anonymous.
- The Hitchhiker 1@9807 -
- Sysop, The River Styx BBS, (908) 521-2307 -
- 300/1200/2400 baud, messages only -
- Open all the time (except when I write these dumb mods) -
Oh yeah, for the record, I hate tag lines and long signoffs, but I'm just
trying to remind you to, in some way, let me know if you use the mod. I don't
expect you to send money, but if you happen to have a $100 bill in your wallet
saying "Spend me! Spend me!", leave me a message and we can work something out.
-
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/