HTML INBOX NOTIFICATION FOR WINS
by Earl Borah, Chemeketa Online BBS                 http://bbs.chemek.cc.or.us

version 1.01 (additional GIFs added, minor documentation changes, no changes
              to the program code itself)




What's in this ZIP??

FILE:                      REQUIRED LOCATION:     ADDT'L INFO:

HTML-NEWINBOX.WCX          \wc5\                  Program file
INBOX_EMPTY_1.GIF          \wc5\http\images\      WIDTH=64 HEIGHT=64
INBOX_FULL_1.GIF           \wc5\http\images\      WIDTH=64 HEIGHT=64
INBOX_EMPTY_2.GIF          \wc5\http\images\      WIDTH=33 HEIGHT=32
INBOX_FULL_2.GIF           \wc5\http\images\      WIDTH=33 HEIGHT=32
INBOX_EMPTY_3.GIF          \wc5\http\images\      WIDTH=68 HEIGHT=74
INBOX_FULL_3.GIF           \wc5\http\images\      WIDTH=68 HEIGHT=74
README.TXT (this file)     anywhere               This Documentation




What does this file do??

This program will allow you to put a link on any web page on your site (after
the user has logged in -- it is not intended for and will not work on pages in
the /http/public directory) that will show them whether or not they have new
mail waiting in their inbox. It uses the same routines that are already built
into WINS to allow users to see if they have mail in their inbox on the page
that lists conferences, but it goes a step further by allowing you to put this
information on any page, such as their home page.




How does this work??

First, you must copy the files above into their proper locations. At this
time, all filenames are hardcoded. You must rename one of the pairs of GIF 
files to "INBOX_EMPTY.GIF" and "INBOX_FULL.GIF" and place them in the
\wc5\http\images\ directory. If you'd rather use your own GIF files, you can
select any files you like, as long as they're renamed properly. Next, add the
following code to any web page:

<A HREF="/client?message&inbox.wcn"><IMG SRC="/code/html-newinbox" WIDTH=64
HEIGHT=64 ALT="Check your mail"></A>

This code will check the user's account to see if they have anything in their
inbox. If they do, then the image displayed will be INBOX_FULL.GIF. If not,
they will see INBOX_EMPTY.GIF. In either case, they can click on the graphic
to view the contents of their inbox.

NOTE: The HEIGHT and WIDTH tags are *VERY* important. The graphic may not
display properly if you leave them off. If you use a different graphic, make
sure the HEIGHT and WIDTH tags are adjusted appropriately.




How much does this cost??

Nothing. Zero. Nada. It's free, call it a gift, from me to you.
If you want to send me some cash or some software, more power to you. If not,
just enjoy.




Who's this thing from??

Earl Borah, Computer Support Specialist, Chemeketa Community College.
Home of Chemeketa Online, where you can take college courses over the net.
20 modem nodes at (503) 315-4289
HTTP/Telnet/FTP at bbs.chemek.cc.or.us




How do I get support??

Technically, you don't. Remember that whole free thing?? If you're really
stuck, though, then let me know (earl.borah@bbs.chemek.cc.or.us, or Earl Borah
on MSI's board) and I'll see what I can do. No promises, however...I have lots
of other things going on (like thinking up new programs for WINS).




Legal Junk:

I make no guarantees about this program, and you use it at your own risk. I do
not promise, represent, or warantee that the program will be useful for any
particular purpose, or that it will not cause damage, directly or indirectly,
to your system. If your hard drive gets thrashed, your users stop calling, and
your dog leaves you, don't blame me.