FAQ 757 Document


Introduction
FAQ 757 Introduction


FAQ 757, created with PHP and MySQL is an online FAQ management system. It is a completely rewritten version of its predecessor FAQ 747. As you know, having a FAQ section is an ideal way to support your customers and visitors as well as to reduce your valuable time you spend on customer support. We are pretty sure that FAQ 757 will help you build your FAQ section very easily. FAQ 757 can be used not only for your FAQ database but for your manuals, documents, glossary dictionary ... etc. So, a knowledge base management system might be a more proper description of the script. You can even use this script as a simple content management system (via record markers). FAQ 757 is designed for small to medium size web sites. There are no limitations in the number of categories or records, but if you are going to have very many categories (say hundreds) or more than a thousand records, we do not recommend you use this script. FAQ757 is really simple and quick to install. One click. That's it. We hope you add a nice FAQ section to your site with FAQ 757.
100% source code is being provided Unlimited number of categories Unlimited depth of subcategories Unlimited number of records Supports visitor rating Supports visitor comments Free downloable back-end admin skin Free downloadable front-end user templates Can be used as a simple CMS via markers Single language file for admin area Integrate it with your existing sites through API Very easy to use admin area One click installation
Server UNIX (Linux) System (Not tested on Windows) PHP 4.1.1+ or PHP5 MySQL 3.23.23+ Browser Most current browsers as long as they support HTML 4.0
Server PHP 4.3.0 + MySQL 4.0.13 PHP 4.4.4 + MySQL 4.0.27 PHP 5.2.1 + MySQL 4.0.27 PHP 5.3.0 + MySQL 5.1.36 Tested on UNIX (Linux) only Not tested on Windows system Browser Internet Explorer 6.0 Firefox 1.5 Firefox 2.0
Download FAQ 757 script. You'll have one zip file. Unpack the zip file you downloaded. Edit config file 'faq757/user/config.php'. FAQ757_DATABASE_SERVER_HOST : database hostname, usually 'localhost' FAQ757_DATABASE_NAME : database name FAQ757_DATABASE_TABLE_NAME_PREFIX : table name prefix if you want to run multiple FAQ 757 instances on one database. This is optional. FAQ757_DATABASE_USERNAME : database user name FAQ757_DATABASE_PASSWORD : password for the database user Rename the faq757 directory to whatever you want. ex. faq, support Upload the whole directory to your server. Run installation program faq757/admin/install.php. ex. http://www.your-domain.com/faq757/admin/install.php Confirm the database information provided. Click the installaton button. After successful installation, rename the installation script file faq757/admin/install.php to something else.
Delete system files. Everything under faq757/ directory Delete FAQ 757 database tables. FAQ757_CONFIG FAQ757_CATEGORY FAQ757_RECORD FAQ757_RATING FAQ757_COMMENT
What should you do after installation? Just get used to it. Launch admin area window and browse around until you get comfortable with it faq757/admin/index.php SYSTEM menu System Info: shows FAQ 757 system info, configuration values etc PHP Info: shows PHP information Language Info: shows currently defined language information Database Backup: Create a new backup & shows backup list SETUP menu System Wide: Change each value to something else and see the differences. Password: Enable/disable admin password CATEGORY menu Root category is a virtual top category which acts as a starting point [add] button is to create a new subcategory. [rec] button is displayed only when records are found under that category. [delete] button is displayed only when the category can be deleted. * if the category is not empty, the category can not be deleted. [edit] button is to edit the category [save] button is to save the list orders of categories Create a category called "Test Category" under "Root Category". Create a category called "Test Subcategory" under "Test Category". Delete "Test Subcategory". Delete "Test Category" RECORD menu It displays list of records under a specific category All available category list is being displayed on the left column Create a category called "Test Category" under "Root Category" using CATEGORY menu. Come back to RECORD menu & see if the "Test Category" is being shown. Delete "Test Category" NEW RECORD menu It creates a new record under a category you specify. Active Status: the record is available to front-end only when it is active Editor's Pick: if picked, this record will be returned when you use f7_record_list_editors_pick() API. Author: Author's name List Order: The position of this record within the specific category. Record Marker: A name of this record. -- You can retrieve a record using the id of a record or using this record marker. ---- ex. f7_record( 'doc_after_installation' ); -- You can retrieve the content of this record via f7_marker() API -- Record marker is the key idea that lets you use FAQ 757 as a simple CMS ---- ex. f7_marker( 'welcome' ); Your Static Contents ... Your Other Static Contents ... Category: This record belongs to this specific category. Subject: Subject of this record. HTML code is allowed. Content box: HTML code is allowed. Create a category called "Test Category" under "Root Category" using CATEGORY menu. Come back to NEW RECORD menu & create a record titled "Hello, World!" under "Test Category". Go to RECORD menu & see if the record is under "Test Category". Edit "Hello, World!" record so that it belongs to "Root Category" See if the change is done properly. Delete "Hello, World!" record. We believe that you are comfortable now with FAQ 757 admin panel. Do whatever you want to - add/ delete/ modify anything
You can use records (you saved via FAQ 757 admin) for your front-end through FAQ 757 API functions. The first step is to tell where FAQ 757 is by including faq757.php. You may use include() or require() or include_once() or require_once() whatever you want. You may also use either a relative path or absolute path for faq757.php. For example, suppose that you installed FAQ 757 under faq757/ directory and that you are going to use it in a script support.php which is under support/ directory. So, the directory structure is like this: ./faq757/ ./faq757/faq757.php ./faq757/admin/ ... ./support/index.php ... Then, you will be including faq757.php in support/index.php like this: To confirm that you included FAQ 757 correctly and that FAQ 757 is working properly, try the following code: If you see a number, like this: 1174351410 Congratulations! You are ready to use FAQ 757 API. We hope you add a nice section with FAQ 757. Very Simple Example Show records under root category. Hello, FAQ 757 Records under Root Category