Simple Forum Website using PHP and SQLite3 Source Code Free Download

Language

This is a simple project entitled Simple Forum Website. It is a web-based application that provides an online platform to a small organization to discuss certain and different topics that only their verified and approved users are allowed to access. It was mainly developed using PHP Language and SQLite3 Database. The application has a pleasant and simple user interface using the Bootstrap v5 Framework. It consists of multiple user-friendly features and functionalities.

How does the Simple Forum Website work?

The Simple Forum Website is only accessible to certain organizations and requires the users to register their accounts which is subject to approval upon successful registration. The site consists of 2 different user roles which are the Administrator and Users.

On the Administrator site, admin users are only allowed to manage the list of system users. They can update the newly registered users' status (Pending, Approved, Denied, and Blocked). They can also change the type or role of the user from User to Administrator or vice-versa.

On the User site, approved users can list all the published created topics of all users including his/her created topic on the home page. They can simply click the topic card or item they wanted to read or view all of the topic details. On the topic view page, users can read all the details about the topic and read the comments of different users on the selected topic. Any users can leave a comment on each topic but they can only manage their own. Users can also list only their created (Published/Unpublished) topics by redirecting to the My Topic List page. On the said page, the user can filter the list by created date and manage each item row.

Features and Functionalities

The Simple Forum Website is containing the following features and functionalities:

Administrator

  • Login and Logout
  • Home Page
  • List All Site Users
  • Manage User accounts
  • Update User Account Status
  • Update User Account Role
  • Change Password

Users

  • Login and Registration
  • List All Published Topic
  • View Topic Details
  • Read Topic Comment
  • Leave a Comment to a Topic
  • Update posted comment
  • Delete posted comment
  • Add New Topic
  • Update Created Topic
  • Delete Create Topic
  • Change Password
  • Logout

Technologies

Here are the following technologies I used to develop this Simple Forum Website:

  • XAMPP
  • VS Code Editor
  • HTML
  • CSS
  • PHP
  • SQLite3 Database
  • JavaScript
  • jQuery
  • Ajax Request
  • Bootstrap Framework

Snapshots

Here are some of the Simple Forum Website snapshots.

Login Page

Simple Forum Website Source Code using PHP and SQlite3

Registration Page

Simple Forum Website Source Code using PHP and SQlite3

Home Page/All Published Topic List

Simple Forum Website Source Code using PHP and SQlite3

Topic Details

Simple Forum Website Source Code using PHP and SQlite3

Topic Comment Section

Simple Forum Website Source Code using PHP and SQlite3

User-Created Topic List

Simple Forum Website Source Code using PHP and SQlite3

The Simple Forum Website project source code zip file is available on this website and it is free to download. It was mainly developed for educational purposes only and not commercially. Feel free to download and modify the source code the way you wanted.

How to Run

Requirements

  • Download and Install any local web server such as XAMPP/WAMP.
  • Download the provided source code zip file. (download button is located below)

Installation/Setup

  1. Open your XAMPP/WAMP php.ini file and uncomment the sqlite3 extension. Then, save the file.
  2. Open your XAMPP/WAMP's Control Panel and start Apache.
  3. Extract the downloaded source code zip file.
  4. If you are using XAMPP, copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory. And If you are using WAMP, paste it into the "www" directory.
  5. Browse the Simple Forum Website in a browser. i.e. http://localhost/php-sqlite-forum/.

Default Admin Access

Username: admin
Password: sourcecodester&123

That's it! I hope this Simple Forum Website using PHP and SQLite Source Code will help you with what you are looking for and that you'll find something useful for your current and future web application projects.

Explore more on this website for more Tutorials and Free Source Codes.

Enjoy =)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Add new comment