Create Account
Sign In

Simple PHP Forum Script - php forum easy simple script code download free php forum mysql


Simple PHP Forum Script - php forum easy simple script code download free php forum mysql Simple PHP Forum Script - php forum easy simple script code download free php forum mysql The 06/12/2014 at 23:16:22
Rating: 4/5
Keywords: php forum simple script source code forum easy script download php mysql free forum discussion topics messages reply free forum php script html css forum online website free download code data base mysql forum small simple easy begginers personnal messages internal users platform designs templates answer ask question online free forum download php mysql javascript css html simple php forum script

Hi,
This script is a php forum very easy to use and very simple to edit. This php forum uses a MySQL database.
It has an internal mailing system, a registering system and users can post topics (discussions) and reply to others.
The home page of the forum has the list of categories of the forum. Each category has topics and their messages.

This forum supports BBcode, that lets your users to format their messages. Available options are: Bold, Italic, Underlined, positioning at left, center and right, inserting links and inserting images.

As said previously, users can communicate between them (privately) through the internal mailing system.

When you are logged as an administrator, you can in addition to the general users privileges add, edit and delete categories, delete topics, edit messages of any user...

You can access a demonstration of the Simple PHP Forum Script following this link:
Demonstration of the Simple PHP Forum Script
You can also download the forum as a .zip or .rar archive:
Image
Download the .ZIP archive

Image
Download the .RAR archive


After downloading the forum's archive, you will have to uncompress (extract) it and to send it to the server of your website.

You also have to create the tables "users", "pm", "categories" and "topics" in the Data Base.
This is the SQL query to execute:
--
-- Table structure for table `categories`
--

CREATE TABLE `categories` (
  `id` smallint(6) NOT NULL,
  `name` varchar(256) NOT NULL,
  `description` text NOT NULL,
  `position` smallint(6) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Table structure for table `pm`
--

CREATE TABLE `pm` (
  `id` bigint(20) NOT NULL,
  `id2` int(11) NOT NULL,
  `title` varchar(256) NOT NULL,
  `user1` bigint(20) NOT NULL,
  `user2` bigint(20) NOT NULL,
  `message` text NOT NULL,
  `timestamp` int(10) NOT NULL,
  `user1read` varchar(3) NOT NULL,
  `user2read` varchar(3) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Table structure for table `topics`
--

CREATE TABLE `topics` (
  `parent` smallint(6) NOT NULL,
  `id` int(11) NOT NULL,
  `id2` int(11) NOT NULL,
  `title` varchar(256) NOT NULL,
  `message` longtext NOT NULL,
  `authorid` int(11) NOT NULL,
  `timestamp` int(11) NOT NULL,
  `timestamp2` int(11) NOT NULL,
  PRIMARY KEY  (`id`,`id2`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Table structure for table `users`
--

CREATE TABLE `users` (
  `id` bigint(20) NOT NULL,
  `username` varchar(255) NOT NULL,
  `password` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `avatar` text NOT NULL,
  `signup_date` int(10) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

When the tables will be created, you have to put the data base IDs in the config.php file.

Then, you have to sign up in your own forum. When it will be done, you have to change the value of the $admin variable of the config.php file to the username you used when you signed up. This variable indicate who is the administrator of the forum based on it username.

Your forum will then be functional.

Thank you and I hope this forum script will be useful :)

You can download the php mailing system separately:
Personal Message System in php mysql

You can download the php members area system separately:
Members Area System in php mysql

Similar Scripts and Tutorials

Members Area System in php mysql - members users system area log sign Members Area System in php mysql - members users system area log sign Personal Message System in php mysql - pm system private message discussion Personal Message System in php mysql - pm system private message discussion Number of mysql queries and execution time - query counter mysql timing php Number of mysql queries and execution time - query counter mysql timing php Top site PHP script - install a php top site on his web site Top site PHP script - install a php top site on his web site Javascript Calendar - (X)html calendar js script Javascript Calendar - (X)html calendar js script