home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / Dloads / SYSOP / MODS1.ZIP / ALF4.MOD < prev    next >
Text File  |  1995-06-12  |  3KB  |  104 lines

  1. Alfalfa #1 @9001
  2. Sat Jun 10 15:16:16 1995
  3. 4Msg. Status:3▄ 1Please reply!
  4. 3 ▀▀▀▀▀▀▀▀▀▀▀▀
  5.  
  6.     ┌─────────────────────────────────────────────────────────────────────┐
  7.     │ Mod Name       » ALF4.MOD                                           │ 
  8.     │ Difficulty     » ██▒▒▒▒▒▒▒▒▒ (2/10)                                 │ 
  9.     │ WWIV Version   » 4.23                                               │ 
  10.     │ Files Affected » NEWUSER.C                                          │ 
  11.     │ Description    » Disables the ask for callsign when applying        │ 
  12.     └─────────────────────────────────────────────────────────────────────┘ 
  13.  
  14. Long Description
  15.         As a SysOp, I have often wondered why the WWIV newuser routine asks
  16. the user for a callsign.  I know that I only have about 4 of 239 users that
  17. actually have a callsign, and many newusers are confused by this (I was my
  18. first time on a WWIV system).  All this mod does it disable the part of the
  19. newuser routine that asks for the callsign.  You have to delete a lot of stuff
  20. so be very careful, because mistakes can be very maddening (where the hell is
  21. the error on line 399?).  Well, here goes.
  22.  
  23. ______legend_______
  24.  + add line
  25.  - delete line
  26.  = leave line alone
  27.  * modify this line
  28. ___________________
  29.  
  30. [Step 1]
  31.    Backup your source!  This is the most important step!
  32.  
  33. [Step 2]
  34.    Open NEWUSER.C and make the following changes:
  35.  
  36. =   }
  37. = }
  38. =
  39. - void input_callsign(void)
  40. - {
  41. -  nl();
  42. -  ansic(3);
  43. -  pl(get_string(525));
  44. -  ansic(3);
  45. -  pl(get_string(526));
  46. -  prt(2,":");
  47. -  mpl(6);
  48. -  input(thisuser.callsign,6);
  49. - }
  50. -
  51. = int valid_phone(char *phone)
  52. = {
  53.  
  54.  
  55. ...Then go down a little further and make these changes:
  56.  
  57. = #endif
  58. =     }
  59. -     input_callsign();
  60. =     input_sex();
  61. =     input_age(&thisuser);
  62.  
  63.  
  64. ...Then go down a little further and make these changes:
  65.  
  66. =        outstr(get_string(574)); pl(thisuser.realname);
  67. =       }
  68. -       outstr(get_string(575)); pl(thisuser.callsign);
  69. =       outstr(get_string(576)); pl(thisuser.phone);
  70.  
  71.  
  72. ...Then go down a little further and make these changes:
  73.  
  74. =             input_realname();
  75. =           break;
  76. -         case '3': input_callsign(); break;
  77. =        case '4':
  78. = #ifdef OPT_CALLBACK
  79.  
  80. ...Close NEWUSER.C
  81.  
  82.  
  83. [Step 3]
  84.    Now, you get to do a MAKE FCNS, and then a full re-compile.  The MAKE FCNS
  85. is really needed, but it is best to do it and keep your FCNS.H updated, since
  86. you removed VOID INPUT_CALLSIGN(VOID).  You can just comment out the code that
  87. I said to delete and it will do the same thing, it is your call.  This mod has
  88. been tested under virgin WWIV 4.23 source, but I doubt it will work on 4.24.
  89. If you need any help with this mod, or have comments or ideas for new mods,
  90. you can call my board, EarthSiege, at (910) 723-2599, or E-Mail me at the
  91. following addresses:
  92.  
  93.           112@5182   WWIVnet
  94.           1@9054     TerraNET
  95.           1@9001     DigiNet
  96.           1@9953     FANTASYnet
  97.           1@9951     HolisticNet
  98.           1@5        Subtle Net
  99.           1@1        GrooveNet
  100.  
  101. Well, another WWIV modification comes to an end...  Hope you like this one.
  102. And feel free to contact me if you need help.  Thanks for using my mod.
  103.                                                 -Alfalfa    6-10-95
  104.