Doteasy Tutorial - Scripting - Discussion Boards
Easy Forum: version 2.5
Easy Forum! is a Bulletin Board System written in PHP. The output produced by Easy Forum! is very small, 100% XHTML1.1 compliant and also looks fine with any modern browser which supports HTML4+ and JavaScript.

Features included are:
  • Fast processing and low web traffic
  • Easy to install. No MySQL database required
  • Up to 99 forums
  • User registration and more


Installation Procedure 
Quick Tips 



The script can be downloaded from here.


The file that you will download is saved in .zip format; this is a compressed bundle containing the files in the distribution. Unzip this archive in a temporary directory on your computer using decompression software.


Start your FTP software and upload all content to your web server preserving the file structure.

Note: Let's assume you install the contents of the script to /var/www/html/forum/


CHMOD the following folders and file:
The subdirectory: /data to 777
The subdirectory: /backup to 777
The file: -members.php to 777

To change file permissions using your FTP client, select the file by clicking on it once on the remote system side and then right-click on the file to bring up the option menu and select CHMOD.


Run a browser, type the URL: http://www.mywebsite.com/forum/index.php and post a test topic.


Enter the admin panel to setup an ADMIN password: http://www.mywebsite.com/forum/admin.php


To add a second or third forum: you can create two new subdirectories (data2 and backup2), CHMOD them to 777 and register these changes in config.php.


Congratulations, the installation of Easy Forum is now complete.


How to set your own colors and settings

First of all, open config.php by a text editor and go through the settings!

 
If you'd like to involve some parts of your site in the forum, you can do it using the files incl/cust-top.inc (header) and incl/cust-bot.inc (footer). Everything in both files will appear at the top and respectively at the bottom of the forum pages.

Take a note that you mustn't put there any starting and ending HTML tags such as <html></html>, <head></head>, <body></body>.
<html>
<head></head>
<body>

--- any data from 'incl/cust-top.inc' goes here ---

... forum goes here ...

--- any data from 'incl/cust-bot.inc' goes here ---

</body>
</html>

The file incl/cust-top.inc currently contains two different multi-forum navigation bars and links to the wap version and the RSS feeds.

You can replace the title EasyForum! 2.x appearing at the top of the forum with any other title you wish or just insert an image tag: (lang-xx.inc, line #6).

If you do not expect visitors from other countries you can make the forum show your local time, the months in your language etc. Replace the function time_offset(){...} (config.php) with the following lines:

---
function time_offset($s){
setlocale (LC_TIME,'xx_XX');
$time_format="%d %b %Y, %H:%M";
return strftime($time_format,$s);}
---

where xx_XX is your country code:
NETHERLANDS = nl_NL (on Win systems: nld_nld)
FRANCE = fr_FR (on Win systems: fra_fra)
UNITED KINGDOM = gb_GB (on Win systems: gbr_gbr)
SWEDEN = se_SE (on Win systems: swe_swe)
SOLOMON ISLANDS = sb_SB (on Win systems: slb_slb)
etc etc etc
more country codes: http://www.unicode.org/onlinedat/countries.cfm
arguments for $time_format: http://www.php.net/manual/en/function.strftime.php
Finally, replace $show_time=gmdate('H:i',$current_time+$user_time*3600); (config.php) with: $show_time='';

It is recommended to hide the IP addresses of your users by using a .htaccess files in all data and backup directories (an example can be found in /data).
For best results (an obligation on systems that do not support .htaccess) we recommend changing the names of all data and backup directories.
(Do not forget to register these changes in config.php)


If you require additional assistance, please feel free to contact our customer service team: https://www.doteasy.com/ContactUs/SMS/

Top