![]() |
You don’t have to learn a new language to use Open Scripting; simply use the scripting language you’re most comfortable with. WebBoard works with any scripting engine that is compatible with the Windows Scripting Host. Assuming you’ve got the scripting engine, WebBoard runs the script, identifying the engine to use by your script’s file extension. WebBoard is configured to recognize two common scripting languages, VBScript and JavaScript; you make a single Registry edit to add others.
WebBoard’s object-based Open Scripting exposes WebBoard’s internal information and some WebBoard features to scripts you write in your choice of scripting language. Scripts can perform a variety of tasks, such as overriding basic or cookie authentication with your own authentication routine or checking user profile information for accuracy (missing fields, state abbreviations, and so on) and correcting it where necessary. You can also use scripts to gain access to administrative features such as user paging and board and system-wide broadcasting. Another possible application is to use a script to display random or sequential advertisements.
The WebBoard object methods and properties available to scripts provide information about the board, the users, and the web server and allow you to manipulate many aspects of the board and user input, including:
In addition to editing the HTML to make changes to text and graphics, you can use WebBoard-specific tags for adding dynamic information to pages, such as the date or the visiting user’s name. The new WebBoard <WB-INCLUDE> tag lets you include text files. Special WebBoard URLs aid navigation by taking users to specific tasks or locations in WebBoard. Enabling optional fields on the user profile let you gather information specific to your board—and use it via WebBoard tags. You can change the text files WebBoard sends as email to new users, to notify users of new messages posted to a conference, and to mailing-list subscribers. WebBoard’s help files are also HTML files and can be changed as necessary to meet your users’ needs.
Where to find files
WebBoard’s HTML, help, and text files reside in the \WebBoard\Html folder and
subfolders, Chat, Help, and Wizards. Note that if you installed WebBoard into a
folder other than WebBoard, Html is a subfolder of that folder. Do not move these
files from this folder, or WebBoard will not function properly.
Images included in the WebBoard HTML files reside in the Images folder. (The
default location is \WebBoard\Images, but this can be changed from the Change
Board Appearance page as described in Chapter 6.) The Images folder is mapped
to the URL /wbimages/. You can change the default images called by the
WebBoard files simply by replacing those files with new image files. Make sure
the names you use for the new images are the same as those for the original files
or that you change the names of the images called in the HTML file.
Backing up
Before you make any changes to a WebBoard file, make a backup copy of it. In
fact, we recommend you make a backup of the entire Html folder in case you
need to recover a file.
Customizing one board only
Avoid unpleasant surprises by paying close attention to whether you are changing
HTML pages that are used by the entire site or those used only by a particular
board. When you create a board (see Chapter 6, Managing Boards), WebBoard
uses the default HTML, help, and text files from the Html folder. You can maintain
a custom set of these files (any or all of them) for a specific board by copying
the desired files to the board’s subfolder in the Html folder. Board folders have the
same name as their alias (for example, the marketing board has an HTML folder
named marketing).
If you customize the HTML pages in the Html folder, your changes affect all boards on the site. To customize one board, copy the desired pages to that board’s subfolder and edit the copied files. For example, to customize the text notification files and the introductory message users receive on the marketing board, copy welcome.txt, notify.txt, and intro.html to the subfolder marketing and edit them as necessary.
For more information about customizing your WebBoard, please refer to chapters 10 and 11 in the manual "Conferencing with WebBoard".
![]() |
Copyright ©2001 ChatSpace, Inc.