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

  1. Alfalfa #1 @9001
  2. Wed Jun 14 23:16:58 1995
  3.     ┌─────────────────────────────────────────────────────────────────────┐
  4.     │ Mod Name       » ALF10.MOD                                          │ 
  5.     │ Difficulty     » █▒▒▒▒▒▒▒▒▒▒ (1/10)                                 │ 
  6.     │ WWIV Version   » 4.24                                               │ 
  7.     │ Files Affected » MSGBASE1.C                                         │ 
  8.     │ Description    » Thanks users for posting a message                 │ 
  9.     └─────────────────────────────────────────────────────────────────────┘ 
  10.  
  11.         Many times, users don't post, and the users that do don't get enough
  12. credit for what they did.  This mod simply gives the users that do post a
  13. "Thank you" message.  It isn't much, but it is the little touches that make a
  14. BBS nice.  This mod was inspired by The Wanderer, and is really good when used
  15. with ALF8.MOD.  There are two good, different ways to tell your user's thank
  16. you, and both are documented...
  17.  
  18. ______legend_______
  19.  + add line
  20.  - delete line
  21.  = leave line alone
  22.  * modify this line
  23. ___________________
  24.  
  25. [Step 1]
  26.    (C'mon, everybody knows this step) Backup your source!
  27.  
  28. [Step 2]
  29. ***This step simply prints a one-liner telling the user thank you.
  30.    Open MSGBASE1.C, go down to VOID POST and make these changes:
  31.  
  32. =       ++thisuser.postnet;
  33. =       if (!(p.status & status_pending_net))
  34. =         send_net_post(&p, subboards[curlsub].filename, curlsub);
  35. =     }
  36. +     prt(2,"Thank you for posting a message!");
  37. =   }
  38. = }
  39. =
  40. =
  41. = void grab_user_name(messagerec *m, char *fn)
  42. = {
  43.  
  44. ...Close MSGBASE1.C and go to STEP 4...
  45.  
  46. [Step 3]
  47. ***This step prints an ANSI or MSG file saying thank you.
  48.    Open MSGBASE1.C, go down to VOID POST and make these changes:
  49.  
  50. =       ++thisuser.postnet;
  51. =       if (!(p.status & status_pending_net))
  52. =         send_net_post(&p, subboards[curlsub].filename, curlsub);
  53. =     }
  54. +   printfile("THANKS");
  55. =   }
  56. = }
  57. =
  58. =
  59. = void grab_user_name(messagerec *m, char *fn)
  60. = {
  61.  
  62. ...Close MSGBASE1.C...
  63.  
  64. [Step 4]
  65.    Compile your source code.  A full re-compile isn't necessary.  This mod
  66. should work, but incase it doesn't, or you have comments or ideas, you can
  67. E-Mail me at the following addresses, or call my BBS, EarthSiege, at
  68. (910) 723-2599.
  69.  
  70.           1@9054     TerraNET
  71.           1@9001     DigiNet
  72.           1@9953     FANTASYnet
  73.           1@9951     HolisticNet
  74.           1@5        Subtle Net
  75.           1@1        GrooveNet
  76.  
  77.  
  78. Below is my UUENCODED thanks.ans.  You can make yours however you want, but
  79. it is best to keep it short.  Make sure you make an THANKS.MSG file, because
  80. without it, non-ANSI users will get a FILE NOT FOUND message!
  81.  
  82. section 1 of uuencode 5.10 of file thanks.ans    by R.E.M.
  83.  
  84. begin 644 thanks.ans
  85. M&ULR-35$&ULT,&T-"AM;.$,;6S`[,S)MVL3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$
  86. MQ,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$OPT*&ULX0[,;
  87. M6S5#&ULQ.S,T;51H86YK('EO=2!F;W(@<&]S=&EN9R$@($ME97`@=7`@=&AE
  88. M(&=O;V0@=V]R:R$;6S5#&ULP.S,R;;,-"AM;.$/`Q,3$Q,3$Q,3$Q,3$Q,3$
  89. MQ,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,39#0H;
  90. %6S!M#0IM
  91. `
  92. end
  93. sum -r/size 47372/347 section (from "begin" to "end")
  94. sum -r/size 59107/230 entire input file
  95.  
  96. [end of UUENCODED thanks.ans]
  97.  
  98. Anyway, that's the end.  Hope you like this little mod.  There shall be more
  99. to come, and thanks to The Wanderer for the great idea.
  100.                                         -Alfalfa  6-14-95
  101.  
  102. EarthSiege Productions 1995
  103.