home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
MISSING
/
REGISTRY.ZIP
/
REGISTRY.DOC
< prev
next >
Wrap
Text File
|
1992-02-13
|
15KB
|
358 lines
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ +
+ REGISTRY OF USERS +
+ Version 1.31 +
+ +
+ by Jon Dietrich +
+ Dietrich Software Enterprises +
+ +
+ February 13, 1992 +
+ +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
┌──────────────┐
│ INTRODUCTION │
└──────────────┘
One of the most interesting aspects of using a bulletin board is the
variety of people that use it. Many times you have a lot in common with other
users. But I find it very hard on WWIV BBSs to get to know things about other
people, such as age, sex, etc, without asking them. Having used some Galacti-
comm Multiline BBSs, I found that their "Registry of Users" aspect was very
helpful. If you wanted to know what a person was like, you just did something
and typed their name and you got a brief description.
That is the basic idea behind REGISTRY OF USERS for WWIV. It is a way for
users to better get to know each other and to have more fun. There have been
many times I've scanned a message base, and wondered what that person was like
who wrote the message. With this mod, you can press a button and get a
description of them.
Simply put, the sysop sets up prompts to be questions for the registry,
such as age, interests, likes, dislikes, BBSs Owned, BBSs called, etc. When a
user logs on who does not have a registry, he/she is prompted to fill one out.
After filling it out, that user's registry can be viewed by everybody else on
the BBS.
Hopefully, through knowing more about each other, users will get to know
each other better, which should cause more e-mail, messages, etc. I've tested
it on two BBSs already (Thanks Karen and Larry) and both the sysops and the
users have found it very worthwhile.
The following files should be in the file REGISTRY.ZIP:
REGISTRY.C - The source code file
REGISTRY.H - The header file
REGISTRY.HLP- The "help" file
REGISTRY.DOC- The file you are reading right now
┌──────────────────────────────────┐
│ HOW TO USE THE REGISTRY OF USERS │
└──────────────────────────────────┘
The Registry of Users can be accessed by pressing the '$' key at the main
menu. At that point a very brief title screen will be shown, along with the
Registry Main Menu.
At the prompt, the standard user (not a co-sysop or sysop), the following
options are available: E,L,U,I,?,and Q.
Q : This simply quits back to the main menu of WWIV and allows the user
to access any other aspect of the BBS.
I : This displays the file REGISTRY.HLP, which tells about the registry
and how to use it.
? : This redisplays the Registry Main Menu.
U : This displays a list of users who have filled out a registry in
alphabetical order.
E : This allows you to edit your registry. If you do not have a registry,
the program will prompt you to press this key, which will allow you to
create your registry. If you already have a registry, this will first
display your registry, then allow you to change any of the responses
that are in it.
L : This lets you look at the registry of any user. At the prompt, you
may enter either the alias or the number of the user whose registry
you wish to view. You only need to enter part of the name of a user.
If you enter a name which does not exist as an alias, it will go back
to the Registry Main Menu, and if the user does not yet have a
registry it will tell you so.
That's it for the regular aspects of this mod. The following aspects are
available for the sysop or co-sysop: S,1,2,3,4,5,and 6.
S: This displays the Registry of Users Sysop Menu.
1: This allows you to edit the questions. This is probably the most
important sysop function because this is where you in fact set up the
registry. When you start off, there will only be one question, which
will be blank. A prompt will be displayed with the following options:
E: Edit a question. Here you can select the number of a
question, and then change what the question asks. It will
appear in registries exactly how you typed it at this prompt.
The colon is put there automatically, so you don't need to
include it. There is a maximum length of a question, which
is set when you create the data file.
C: This changes the length of the response for a question. A
response can be allowed to be anywhere from 1 character to
the maximum length you set when you created the data files.
You would want to do this if for instance you were asking for
an age. You would not want to have 50 characters available
for someone to enter something that only would take two.
The default value is fifty characters.
I: Insert a question. This will allow you to insert a question
after another question in the list. It will also insert a
blank response in the space for the new question in all of the
registries. Use this if you want to add another question.
You can have up to 35 questions.
D: Delete a question. This deletes a question from the list, and
also deletes all the responses to that question that were in
the registries of the users. Obviously, you must have at
least one question.
Q: Quit. This will take you back to the registry main menu.
2: This allows you to edit several things that will alter the appearance
of the registry. The following options are available:
1: This will toggle whether or not "User Name: " and then the
name and number of the user will be displayed when a registry
is viewed.
2: This will toggle whether on not usage of the registry will be
chronicled in the sysop's log.
3: This lets you set the minimum SL (Security Level) to access
any aspect of the registry. You may not want non-validated
users to have access, and you can set that here. The default
value is 10.
4: This will allow you to change the minimum Security Level (SL)
to access the Registry Sysop Functions. The default is 100,
which would allow all users with a SL of 100 or greater to
edit questions and to have access to the other Registry Sysop
functions. For security concerns, the system password is
required in order to change the minimum SL.
5: This changes the colors that questions will be displayed in
when a registry is viewed.
6: This changes the response color.
3: This allows you to edit the registry of any user. It is similar to
pressing 'E' at the main menu to edit your own registry, except you
can choose which user to edit.
4: This lets you delete the registry of a user. When a user is deleted
from UEDIT, or automatically, the registry will be deleted.
5: This creates the data files REGISTRY.DAT and REGISTRY.OFF. This will
delete the existing registry, if there is one. The system password
is required to do this. If no registry file exists, you will be
prompted to do this. See the "Installation" section of this file for
additional help with this.
The next feature is probably the most useful of the functions in the registry.
While scanning the message base (for example during a N-Scan) you can view the
registry of the author of the message by pressing '$' at the prompt. If your
BBS is on a net, users will not be able to view the registries of users on other
systems (at least not in this version!). Registries of anonymous users also
may not be viewed.
Users spend the most time in the message scanning area, and pressing '$'
allows quick access to the registries of users. Be sure to tell your users
about this feature, and possibly even put it onto the message scanning menu.
┌────────────────────────────────────────────────────────────────────────┐
│ ********************* MODDING DIRECTIONS ********************* │
└────────────────────────────────────────────────────────────────────────┘
1.) Move the files from REGISTRY.ZIP to the appropriate directories.
REGISTRY.C - the source code directory, where all the .C files are
REGISTRY.H - also place this file in the source code directory
REGISTRY.HLP- your GFILES directory, where all the menus are
2.) Call the file BBS.C into your text editor.
A.) There are going to be one or more #include statements at the very
beginning. Insert the following directly after them:
#include"registry.h"
#include"registry.c"
B.) Search for the mainmenu() function and find the following:
case '.':
helpl=26;
do_chains();
break;
And immeditaley afterwards, insert:
case '$':
REGISTRY
Keep in mind that C is a case sensitive language, and the word
"REGISTRY" *MUST* be in all capital letters.
C.) Save your BBS.C file.
3.) If you are using WWIV v4.2, call up the file LILO.C into your editor, and
if you have any other version, call up the file BBSUTL.C.
A.) At the beginning there will be one or more #include statements.
Insert the following immediatley after them:
#include"registry.h"
B.) Search for the function logon(), and find the following:
prt(3,"You haven't voted yet.");
nl();
nl();
}
And immeditaley afterward insert the following:
REGISTRY_LOG_ON_STUFF
Since C is case-sensitive, this *MUST* be in all capital letters
C.) Save the file.
4.) Call up the file MSGBASE1.C into your editor.
A.) At the beginning there will be one or more #include statements.
Insert the following immediatley after it:
#include"registry.h"
B.) Search for the function scan() and find the following:
if (s[1]==0) {
switch(s[0]) {
And immeditaley afterward insert the following:
case '$':
REGISTRY_FROM_MESSAGE_BASE
C.) Save the file
5.) Load the file UEDIT.C into your editor.
A.) Find the function deluser() and search for the following:
write_user(un,&u);
And immeditaly after it add the following:
deleteregistry(un);
B.) Save the file
6.) Re-compile the program and see the "Installation" section to install the
Registry of Users onto your system.
This mod was tested using Turbo C++ Version 1.01, and should be compatible
with most other versions of C compilers.
It was also tested using WWIV v4.20 and v4.12. Keep in mind that it was
tested on a virgin copy of WWIV source code. There might be (there shouldn't
be, but there might be) a conflict between this mod and another. For those
boards out there that are really modded, this mod I think only uses 8 bytes
of DGROUP. Originally it used about 5K of DGROUP, but that bug has been
fixed.
Good luck and type carefully!
┌──────────────┐
│ INSTALLATION │
└──────────────┘
After you recompile the BBS, log on at the keyboard. When you log on, it
with prompt you to create the registry files. If you don't do it now, it will
keep asking every user that logs on until the files are created.
That will create the files REGISTRY.DAT and REGISTRY.OFF in the main
directory of WWIV. It will ask you for the maximum length of a response. When
you create the questions, you can set up the maximum length for the responses
to that question. However, when you must specify this maximum length when you
create the data files. This can be anywhere in the range of 50 to 255. THIS
CANNOT BE CHANGED AFTER creating the files.
The smaller the number, the less space the data file will occupy on the
disk, but the downturn to this is that less space will be available for
responses to questions. If you aren't intending on having questions with long
responses, then set the length to 60 or 70 or so. Just experiment and find the
best value.
After doing that, you will need to set up the questions. Do this by
pressing '1' at the main menu. See the "How to Use" section of this file for
help with that. It should be pretty much self-explanatory.
The only other things you should have to do is put something about the
registry in your menu files for the main menu and also for the message scanning
menu. You should also notify your users of the existence of the registry, and
in general, have fun!
┌───────┐
│ NOTES │
└───────┘
I hope this will be a worthwhile addition to your BBS. All programming was
done by Jon Dietrich, with a tiny bit of consulting from John Reames. Thanks
to Karen "Freddie" of The Furnace BBS and Larry Rubin of Microline BBS for
letting me test this mod out on their systems.
If there are ANY problems at all with this mod, or you have suggestions or
donations (heheh doesn't hurt to try) feel free to ask. I can be reached at
the following address:
Jon Dietrich
1337 Brook Road
Catonsville, MD 21228
Also, I can be reached as "Gilligan" on The Furnace BBS (410)433-1149 or
Microline BBS (410)922-3843.
Please distribute this mod as much as you want. I am declaring this
in the public domain, but I only require that if you upload it to other boards
you MUST upload the REGISTRY.ZIP file, with no changes made to it.
Thank you for your support....
-- Jon
2/13/92
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ +
+ REGISTRY OF USERS Version 1.3 +
+ +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++