|
WebBoard name or name on board's subfolder, or name on server:
|
Purpose:
|
|
H_Fwd.htm
|
This goes on your web server,
and is invoked when a staff member forwards a post. Within
the distribution zip, this file is on the HWeb subfolder.
|
|
H_Notify.Htm
|
This goes on your web server,
and is invoked when an e-mail notification
(about a reply to their post) is sent to a poster. Within
the distribution zip, this file is on the HWeb subfolder.
|
|
H_Sent0.htm
|
This goes on your web server,
and it's the redirect URL used by formmail.pl,
which comes up after an e-mail is
sent. It acknowleges that the message has been
sent, and lets the staffer know that the window will
close automatically soon. Within the distribution zip,
this file is on the HWeb subfolder.
|
|
H_Sent1.Htm
|
This goes on your web server,
and is called by H_Sent0.htm (the previous
file). This actually closes the window. Within
the distribution zip, this file is on the HWeb subfolder.
|
|
Intro.html
|
This is Intro.html for your HelpLine board,
and it contains most of the overhead needed to
support staff logins.
intro.html is the page that comes up on the
right (messages frame) when the user first enters a
board.
Intro.html will let the staffer log in,
and set WebBoard's own WB-User and WB-Pass
cookies. It then reloads itself to get
the password from its tag script IntroTag.js,
and if the staffer's got the correct password, it
will set HelpLine's WB_StaffName and
WB_StaffEmail cookies.
Regardless of whether a staffer's logging in or
not, any "ushered URL" will be processed at this
point, i.e. the desired call to /read will
occur, in order to bring up the required post.
|
|
Intro.html (bridge board)
|
This is Intro.html for the "bridge board"
(if any), i.e. it goes on the bridge board's HTML
folder. In the distribution zip, it's
in the folder HBridge, to distinguish it from the
Intro.Html that goes on your HelpLine
boards. For more information about your
"bridge board,", please see
(see section 2).
All the does is to check for the WB_Dest cookie,
and if it's not "NONE", it will presume that it's a URL and
invoke it (before setting it to "NONE").; This satisfies
WebBoard's requirement that staff on a
"no auth." board enter through another
board, because intro.html will set this cookie and
send the user to the "bridge board" whenever WebBoard doesn't
appear to recognize the user as a staffer.
Note that if the bridge board's being used for another
purpose, then this page is probably customized and
you'll have to cut-and-paste out the
code changes in my version of it, in order to preserve
any "customizations" made to the bridge board's
intro.html page.
intro.html is the page that comes up on the
right (messages frame) when the user first enters a
board.
This is the only page that has to be
changed on the bridge board.
|
|
More.html
|
This is More.html for your HelpLine board,
and it contains just one extra link, which is used to
patch a WebBoard bug.
Sometimes, WB "forgets" about the status of a
user in a "no authentication" board.
The result is that a manager or administrator can
click on the more link in the HelpLine board,
and discover that
WebBoard appears not to recognize their status.
So one more link has been added here called
"show again" which will send the user
back to the bridge board and return them to the
"more options" page on the HelpLine board.
This makes it easier (and less frustrating) for
managers administrators to perform their work on
a HelpLine board. For more information about
"bridge boards,", please see
(see section 2).
If you don't have a "bridge board," you can ignore
this new version of more.html.
|
|
PostMsg-F.html
|
This is the HelpLine board's page for posting new messages, for
users who have the "frames" option turned on in their
user profile (Your staff must do this, however
the public is unaffected by this requiremnt.)
If the poster has not selected a preview option,
then PostMsg-F.html will directly invoke
H_Notify.htm on the web server, for fresh (i.e. not an edit)
replies
only, and pass all the opernds which Read/ReadFull.htm
provided on the URL line (these are used to determine the
content of the notification message. As a precaution,
the WB_Notify cookie is set to NONE. If
the poster
has invoked preview
mode, and it's a fresh reply, then
PostMsg-F.html
will set the WB_Notify cookie to the info. needed
to send the e-mail message, and this
cookie will be used by Preview.htm. Otherwise,
if it's a new thread or an edit, then the WB_Notify
will be set to NONE.
Note that
PostMsg-F.html will also omit
the Post button if the post is a reply or an edit,
but the current user isn't known to be a staffer. This
provides an extra measure of "bulletproofing" against
non-staff users who try to post in disallowed
ways.
PostMsg-F.html
will also use the WB_StaffName
and WB_StaffEmail cookies which were originally set by
Intro.html (at staff login time), to fill in these
fields whenever staffers post. That means that a
staffer can reply to the post without providing any information
other than the reply itself.
|
|
Preview.html
|
This is the HelpLine board's page for previewing
posts. If the WB_Notify cookie is
set to a value other than NONE, then Preview.html
will call H_Notify.htm to send the e-mail notification,
and reset the WB_Notify cookie back to NONE.
|
|
Read.html
|
This is the HelpLine board's page for reading posts, specifically:
it's used for the last (or only) post in a thread.
A fair amount of "crunching" is needed here to extract the
fields from each post and put the relevant information on the
URLs for reply, reply/quote
e-mail notifications
will be sent, so all the infromation has to be gathered here),
and for HelpLine's new forward link.
|
|
ReadFull.html
|
This is the HelpLine board's file that's
used for all posts that aren't handled by read.html
(i.e. all-but-the-last-post in a thread), and
it does the same "crunching" needed to format the extra links
that are made available only to staffers.
|
|
UserListing.html
|
This is the HelpLine board's file that's used when the
virtual board manager selects conference moderators (or the
WebBoard administrator selects either managers or
conference moderators.
WebBoard doesn't allow a virtual board manager to "see"
users who haven't logged into that specific board.
Because "no authorization" boards don't
have users, this makes it impossible for a virtual board
manager to select conference moderators (only the WebBoard
adminstrator can).
I've "patched" this page to allow you to put in the
numeric user ID# of a moderator, so that the intervention of
the WebBoard administrator isn't required.
|
|
IntroTag.js
|
This is the HelpLine board's tag script that's loaded by
intro.html, and its only function is to return the
password of the current user, so that intro.html
can verify that a staffer has a valid login.
|
|
PostTag.js
|
This is the HelpLine board's tag script that's loaded by
PostMsg-F.html,
which handles the display of the
Post button. By using a tag script,
I can "hide" the post button when a very clever member
of the general public (who knows WebBoard's URL structure)
tries to post a reply . . . while at the
same time retaining compatibility for WebTV users (because
tag scripts are run on the server, not the client's
browser). This tag script also fills in the name
and e-mail fields for staffers from the
WB_StaffName and WB_StaffEmail
cookies.
|
|
ReadTag.js
|
This HelpLine board
tag script is actually a "code mule" that returns all the
JavaScript functions needed to perform the "crunching" I
previously described in Read/ReadFull.html
These JavaScript functions occupy about 2K of space, and
they repeat for each post in a thread. They're
outputted only for staff members.
|
|
PostMsg.js
|
This is the form script for the HelpLine board's
PostMsg-F.html, which
ensures that double quotes are converted to single quotes
in all fields relevant to a message posting. This
is required in order to capture this data in a form with
hidden fields. It also removes the delimiter
used in the one hidden field to separate all the different
data (poster name, email, date, etc.) in a post, and
replaces the delimiter with a space. The delimiter
is: @!$#.
|
|
Staff.txt
|
This is an include file for the HelpLine board's
intro.html that sends the JS out to put staff members'
logins, names, and e-mail addresses into a
table, from which the WB_StaffName and WB_StaffEmail
cookies are set.
|
|
Vars.txt
|
This is an include file that's shared by the HelpLine board's
Intro.html, PostMsg-F.html, and
Read/ReadFull.html.
It contains all the "configuration" variables needed to
specialize a HelpLine board, except for one variable that
has to be directly coded in Preview.html (due to
a WebBoard bug), and the two e-mail
files (H_Notify.htm and H_Fwd.htm).
|