home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
bbs
/
yinfo130.zip
/
YOURINFO.DOC
< prev
next >
Wrap
Text File
|
1992-07-20
|
9KB
|
189 lines
YourInfo v1.30 : By Keith Reid (aka Titus Crow =8)
==================================================
- A piece of QUALITY software Written FROM SCRATCH.
What does this thing do?
========================
Well, seeing as how configurable Telegard is as far as commands and the
general look of the system goes. I started to notice that there was one
command that would display a rather boring record of your user record.
Now, I've seen some really nice displays on boards that would make your
eyes bug out. Boards like Maximus and Remote Access have MCI-like codes
for everything from Username to # of uploads and a lot in between. So why
doesn't TG?
Good question! Well, here you are! This program will take any ansi file
you create and plug in the needed words and stats where you tell it to,
and then you just let TG display the output. Voila! Beautiful!
What's new with this version? v1.30
====================================
This version uses faster search routines to find the user data. You'll find
that it runs about twice as fast as v1.25.
I've hardcoded the directory that the output file is placed in. It will now
be written to your AFILES directory.
What do I do to make it work?
=============================
YourInfo must be run from your main bbs directory or where your STATUS.DAT
file is located. So if you're using the default settings for directories
that Telegard gives you, you would run it from your \BBS dir.
All YOURINFO does is take in an ansi file that you make, and fill in the
blanks with a users information, and then write that information to disk.
What YOU have to do is get TG to run YOURINFO and then display the output
file. For those of you that are lazy (you know who you are!), I've included
a simple YOURINFO.MNU file that will do just that. Plop this MNU file in
your menus directory, and then set up your menus so that they go to the
YOURINFO menu when the users push "Y".
So for example, from your main menu you want to have the yourinfo display
shown when the user pushes "Y". So you change the "Y" menu command to
look like this :
1. Long descript :(Y)our User information
2. Short descript:(Y)ourInfo
3. Cmd letters :Y
4. ACS required :""
5. Cmdkeys :-/
6. MString :YINFO.BAT @R
Flags :None
Q. Quit
...and that'll do it. You just do that from whichever menus you want, and
there you have it. All done!
Where your YINFO.BAT file would be something like : ------------
YOURINFO %1 USERINFO.ANS USER.ANS AP
Don't forget to have TG display the USER.ANS file after this menu command is
completed.
The format of the commandline for YOURINFO is as follows :
YOURINFO <UserNumber> <Filename of Input ansi file> <output filename> [a,p]
The input ansi file can be anywhere as long as you give a full path for it,
otherwise you must also put it in your main bbs directory.
The output filename will be placed in your AFILES directory.
The last parameter is optional. In it, you have either or both of the
switches. The `A' switch will make the output ansi "unabortable" when
being displayed through TG. The 'P' switch will insert a Telegard (PAUSE)
at the end of the display.
Example:
YOURINFO 20 C:\TheDraw\USERINFO.ANS YOURINFO.ANS AP
Will make an ansi file for user #20, using the file C:\TheDraw\USERINFO.ANS
as an input file, and writing C:\BBS\AFILES\YOURINFO.ANS as the output file
to be displayed. The output file will be unabortable and will have a pause
inserted at the end.
How do I make my input ansi?
============================
In order for the output ansi to be easily readable (in other words, in
order for this thing to work nicely) the INPUT ansi must be specifically
formatted. (I'll assume that you're using THEDRAW to create your ansi's.)
1. Make yourself a normal ansi file (no animation yet please!) without
any of the YOURINFO control codes in it. Make sure you have enough space
for each of the result strings like names and such, on each area. SAVE
THIS FILE SOMEPLACE SAFE! You don't want to go messing it up.
2. With the ansi screen you made in step #1, press ALT-J : this puts you
into ANIMATION mode. Choose any mode you like! The simplest and fastest
will be to use the Top->Bottom (thats T on the menu).
3. When it's done fiddling with your ansi screen. Go to the position
where you will have your first entry where you want to have a bit of user
info entered, and then type ALT-J, and then M. This turns on the STORED-
CURSOR-MOVEMENTS. From now on EVERY movement you make with the arrow keys
will be stored in your ansi. It is a good idea to turn it off again after
you've typed in each bit of info. This will keep the ansi neat and make it
display quicker as well.
4. Enter your control codes at each position where you would have the text
displayed, using the arrow keys to move from one place to another. You may
use any color you like, as long as the color you use for the @ part of the
control code is the same as the second part of the control code. You may
also have other characters entered AFTER the text entered.
For example : if you were displaying the # of uploads, you may want to have
the word `Uploaded' appear after the number of uploads. So you would put
"@8 Uploaded" at the position you would have it displayed. The `Uploaded'
part can be of a different color than the displayed (control code) color if
you like.
5. TG will continue on from the last position where you left your cursor,
so when you're done inserting all your codes. Move your cursor to the
very last line of your ansi, and save your final ansi there. Otherwise
after your ansi is displayed, TG will start by overwriting your ansi.
What kind of user info can I display in the ANSI?
=================================================
Valid control codes are preceded by a @ symbol. Control codes can be
any of the following...
$ Users Password
1 Users display line length
2 Users display page length
3 User's Sex, M or F
4 last message base #
5 # Public Message Posts
6 # Private Message Posts
7 # NetMail Posts
8 # Uploads
9 # Downloads
> #k Uploaded
< #k Downloaded
( Up/Down k ratio
) Up/Down #files ratio
0 # Filepoints
A Street Address
B Birthday
C City and State/Prov
D DSL level
E Total Time Online
F First logged on Date
G # times logged on
H Time left [mins] today
I # of Illegal Logon attempts since last call
J Amount of time in Timebank
K Sysop Note (if you actually want to show them this!)
L Last logged on Date
N User's Pseudo
O User's Job
P User's Voice #
Q User's PCR
R User's Real Name
S SL Level
T User's Computer Type (I use this for a USER NOTE)
U User's average time/call
W Where user got bbs # from
Z User's ZipCode
How do I register this AWESOME program?
=======================================
Don't bother. The file is free, use it as you will. If you find that you
like it, drop me a line in the Fidonet Pascal Echo, or through the official
Telegard Sysops network and tell me so! If you like it enough, send me
some CASHOLA to pay for my tuition! Thanks...
Keith Reid
7731-#4 Moffatt Rd.
Richmond, BC
V6Y-1X9
-------------------------------------------------------------------------------
Programmed in Turbo Pascal v6.0 by Titus Crow
Yet another piece of COMPLETELY ORIGINAL PROGRAMMING! Take the HINT!
------------------------------------------------------------------------Tc-----