| 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:
Installation Procedure
![]()
How to set your own colors and settings 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)
|
![]() | ![]() | |