|
|||||||||||||||||||||
|
|||||||||||||||||||||
|
Announcements
Services
Chapters
Feature Zones
|
ContentsIntroductionbttlxeForum 2.0 is free software for providing extensive online forums to web users. The software can be easily configured to suit uses ranging from product support web sites to bustling web communities, and has been designed in such a way to allow its functionality to be used even with heavy customisation. The latest version of bttlxeForum can be seen in action at http://forums.bttlxe.com/. OverviewThis article attempts to show not only how to get bttlxeForum running for you but also to explain how the software works and can be developed for. It is hoped that readers will feel confident enough after reading to dig into the source code and start working with the software rather than simply using it. The software is written using Active Server Pages and JScript and so targets
the Microsoft Windows server platform. It may be possible to use it successfully
on another platform with the aid of an ASP emulator but such usage is not
supported. bttlxeForum makes extensive use of CSS1 and modular page components
to make it simple and logical for an experienced web developer to fully
customise the appearance of the forums. ConsiderationsNo assumptions of familiarity with bttlxeForum are made, but the reader should be confident with the way Internet software and web sites work, and general web development terms and techniques. An understanding of online forum software would be advantageous but is not critical. It is not recommended that you upgrade previous versions of bttlxeForum to
2.0. Future upgrades will be handled by the software. FeaturesbttlxeForum 2.0 has many unique features and lots of enhancements over previous versions: General
Forums
Groups
Users
Administration
Misc. changes over previous versions
Requirements
InstallationThe release of bttlxeForum 2.0 is provided with this article in a convenient zip archive. Once downloaded extract the contents of the zip archive to a temporary directory. The software now needs to be installed to set it up correctly for your target environment by running the bttlxeForum.exe setup program. Follow the remainder of the installation steps as guided by the setup program.
(For the following sections "offline" means installed on your local development machine or internal network and "online" means installation on a live web server.) OfflineDuring the installation you will have specified your local development machine or server name and the location the scripts would be installed to on that machine. You should locate your now-configured installation of bttlxeForum and copy it in the correct location on the target machine. If you have not previously done so, for example if the forums are not being added to an existing web site, create a web site or virtual directory with Internet Information Services on the target machine that exposes the installation. Access the target directory through a web browser and run the onetimesetup.asp script to complete the installation. The script is automatically deleted after execution if your access permissions allow it, but if not you must delete it manually. If you completed the process correctly the software should be able to detect
it is being accessed offline and ensure that all relevant links and database
connections are correct for the installation. OnlineAgain during the installation you will have specified your live web server name and the location the scripts would be installed to on that machine. You should locate your now-configured installation of bttlxeForum and copy or upload it in the correct location on the target machine. (Note if uploading via FTP: ensure that any image files and/or database files are uploaded as binary files. If your installation choices require it there may be a ReadMe.txt file accompanying your installation that will explain any directories that need special access permissions or locations.) Access the target directory through a web browser and run the onetimesetup.asp script to complete the installation. The script is automatically deleted after execution if your access permissions allow it, but if not you must delete it manually. If you completed the process correctly the software should be able to detect
it is being accessed online and ensure that all relevant links and database
connections are correct for the installation. Advanced NoteIf you wish to use the same database for both offline and online
installations, or wish to make changes to your configuration before you run the
onetimesetup.asp script, you can edit the database connection string and
associated details in the createdatabase.asp file in the target
directory. Note that changes to the connection string will need to be copied to
the appropriately named files in the /include/config directory. UsageThis section will provide basic walkthroughs of a typical end user and administrator. End User WalkthroughThe main page of the forum software shows a list of the available forums that are visible to the current user (logged in anonymously or with a member account) organised according to their category. The user chooses a forum to view it's messages.
When viewing a forum the messages, format and actions that are shown to the user will be determined by their current "view" settings that can be seen and changed at any time from the top of the message list. The user can search that forum for keywords by entering search terms into the search box, or can search the forums with more advanced criteria using the separate "Search" page.
If allowed new messages and replies can be created, and formatting options shown to the user to aid them in formatting their message.
Users can send private messages to other members that will be sent to their virtual mailbox within the software.
A users public profile contains the personal information that they explicitly choose to expose to other users, such as their name and e-mail address.
Administrator WalkthroughThe Forum Administration pages are made available when logging on using an Administrator account and provide easy access to all the important areas of the software: bttlxeForum configuration View and modify the global bttlxeForum settings such as the site name, e-mail server, default user settings and whether the site is live or disabled for maintenance.
Template Configuration Change the template/theme being used. Installed templates will be shown as a list that you can choose from. Members View either summary or detailed views of your registered forum members
including links to update their information.
Forums Add, remove or modify forums and their categories, and manage group access
and permissions to specific forums.
Groups Add, remove or modify groups and manage group members. Clean Member Accounts This lets you remove users who never activated their accounts or those who have not used their accounts in the last year from the database. Help and Tips View helpful information and tips for administering the bttlxeForum software. Currently this page links to this article and the online support forums. Update Scripts bttlxeForum 2.0 includes a new method for updating the software by
automatically upgrading the software and your databases when a new version is
published. These pages will tell you more and guide you through any update if
available. DevelopmentThis section outlines the structure of the forum software and where various actions are performed. OrganisationThe scripts are split into six sections according to their task that are reflected in the directory structure:
Where To LookUsing the organisation information above it should be easy to find the section in which specific functionality is implemented or should be added. The scripts in each section are named so as to be self-descriptive to their purpose, for example a script that inserts new forum messages would be called new.asp and be located in the Forums section. Consider the following examples:
Known Issues
LicensebttlxeForum 2.0 is licensed software. You must agree to the full license when you install the software but for quick reference the summarised version is shown here: You are permitted to use or hold the software free of charge for any purpose, including learning and modification, but not to pass it on at cost to another party or claim ownership. If you make changes to the software and wish to release them in source code
form to another party then you must obtain permission to do. There are some
other conditions to and restrictions on using the software that are outlined in
the opening sections of the full license. CreditsI would like to thank:
Finally I would like to thank the owners of CodeProject.com for continuing to provide such a wonderful resource for developers at no cost to its members. History12 June 2004 - Third release of this article to accompany version 2.0 of the software being released. A complete rewrite - too many changes to list! 18 September 2002 - Second release. Numerous enhancements to the scripts have been made, including:
14 February 2002 - Initial release. | ||||||||||||||||||||