home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / Dloads / WWIVMODS / PRE412.ZIP / SYSPMENU.MOD < prev    next >
Text File  |  1990-06-25  |  4KB  |  121 lines

  1. Suicidal Maniac #1 @6865
  2. Fri Jun 22 20:20:22 1990
  3.  
  4.                        SysOp Menu Modification
  5.                          By: Mad Dog Binkley
  6.  
  7.  
  8.   Ever get tired of trying to remember all those // commands, or sick of
  9. typing //GFILEDIT instead of //GFILEEDIT?  Well, I did, and, contrary to my
  10. nature, I decided to do something about it.  This mod cr eates an entirely
  11. separate menu from the main and transfer menus containing all of the 4.10
  12. cosysop and sysop commands.  Also included is a file (SYSMENU.407) that will
  13. accomplish the same for those of you who haven't switched to 4.10 yet.  There
  14. should be a total of 4 files included with this mod.  These are:
  15.  
  16. SYSMENU.MOD     This file.
  17. SYSMENU.C       File containg major portion of mod code.
  18. SYSMENU.407     File containg major portion of mod code for 4.07 users.
  19. MENU5.ANS       Menu file for mod.
  20.  
  21.  
  22. Ok, this mod is pretty simple to install. (Heard that one before?  <grin>)
  23. Just follow these steps and you'll have no problems.
  24.  
  25.  
  26. Step 1:
  27. -------
  28.  
  29. In BBS.C, search for "void mainmenu".  Just before this function, block read
  30. (^KR) SYSMENU.C or SYSMENU.407 depending on which version you're using.
  31.  
  32.  
  33. Step 2:
  34. -------
  35.  
  36. In BBS.C, search for "void mainmenu", then search for "case 'K':".  Just before
  37. this case, add:
  38.  
  39. case 'J':
  40.   if (cs())
  41.     cursys=1;
  42.   break;
  43.  
  44. Note: You could change the J to anything that is not already used by mainmenu.
  45.  
  46.  
  47. Step 3:
  48. -------
  49.  
  50. Still in BBS.C, search for "main_menu_label".  Change the code under this to:
  51.  
  52. main_menu_label:
  53.       while (!hangup) {
  54.         if (curdloads)
  55.           dlmainmenu();
  56.         else if (cursys)        /* add */
  57.           sysopmenu();          /* add */
  58.         else
  59.           mainmenu();
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. Step 4:
  71. -------
  72.  
  73. In VARS.H, search for "curdloads".  Change this line to:
  74.  
  75. int cursub,curdir,curdloads,cursys,msgreadlogon;
  76.  
  77.  
  78. Step 5:
  79. -------
  80.  
  81. Press F9 and recompile.  See, told ya it was easy.  After your sucessful
  82. recompile (attitude guys!), copy MENU5.ANS to your gfiles directory.  That's it.
  83. Fire up the BBS and press 'J' and give it a try.
  84.  
  85.  
  86. Step 6: (Optional)
  87. ------------------
  88.  
  89. I would recommend that you do not do this step until you decide whether you
  90. like the mod or not and wish to do away with the // commands altogether.  The
  91. BBS will perform just fine as it is, but this will take some size out of the
  92. BBS.C file and make the .EXE file a bit smaller (and we all know how important
  93. that is when we do a lot of modding).  Anyway, in BBS.C, search for 'void
  94. mainmenu' then for 'if (strcmp(s,"BOARDEDIT")==0'.  You can safely remove all
  95. the code from the /**** ...**/ just above that line, to the 2nd one below it.
  96. Stop just before the line:
  97.  
  98. if ((strcmp(s,"UPLOAD")==0) && (thisuser.sl>10))
  99.  
  100. Do NOT remove any after that.  Those / commands are the ones available to all
  101. users.  Wayne marked off the sysop commands by the first set of /***...***/ and
  102. the cosysop commands by the second set.  Also, you'll probably want to make a
  103. MENU5.B&W (same as .ANS but no color) and a MENU5.MSG (pure ASCII), but this
  104. isn't necessary if you will always have your ansi colors turned on.
  105.  
  106.  
  107.  
  108. Well, hope you like this one.  If not, then do it yerself.  <grin>  As always,
  109. if your user list mysteriously disappears or your modem refuses to answer the
  110. phone, it ain't my fault!  If you have any problems installing this, or getting
  111. it to work properly, I'll be glad to help you out.  Unfortunatley, my board is
  112. temporarily down (but this gives me lots of time to get converted over to 4.10 a
  113. nd to do some mods I've been meaning to).  But you can reach me at either Amber
  114. or Mr. Bill's Abode.  On Amber, I'm under my alias of Brad Stowers, and on
  115. Bill's I'm Mad Dog Binkley (No idea what my user numbers are). Or, if you want
  116. to get ahold of me really fast, you can reach me at The Secret Service BBS
  117. (also under Brad Stowers).  The number there is (304)429-6838 (1200/2400, 24
  118. hrs/7 days, etc, etc.).  Later doods.
  119. 
  120. 2Origin ***>1 Dirty Bird's Nest, 618-397-7687, 14,400 HST
  121.