Skip to content

Public guestbook to allow for public submission of comments

Notifications You must be signed in to change notification settings

abbasCoder51/GuestBook

Repository files navigation

GuestBook

A guestbook to let visitors of a website submit messages, messages can then be viewed on the website but only when approved by the administrator. The comments added by visitors can be approved, disapproved, flagged or deleted. Session functionality included to allow for the administrator not to have to login every time
PHP, Bootstrap, HTML5 valid and responsive to different screen sizes.

Program Breakdown

index.php

Submitted comments can be viewed on this page, layout of comment includes person's name, event date, event location, occasion and comment.
Navigation To:
* Add Guest Here * Admin Login

addGuestComment.php

To add guest comments to main page, all fields need to be filled in. It's possible to navigate to main page by link outside the box.

login.php

Administrator needs to fill in their credentials to access admin area.

admin.php

Dashboard items can be seen, status is given to show:
*Total Posts *Approved Posts *Disapproved Posts *Flagged Posts
The overview area shows the comments in a table view, the statuses can be changed by selecting the drop down menu. The statuses that can be selected are approved, disapproved, flagged. When comments are added to the system for the first time, they are set as default. If comments are defined as flagged, this means that some of the words in comments are inappropriate. Also, comments can be deleted.
Note: There is no notification of deleting comments so be careful before deleting. Also when table is shown in mobile view, the table can be scrolled sideways.

insert.php

Allows for an admin user to be added, password is encrypted on the database.

Further Development

Flagged dictionary is present but can't be viewed on admin page, restricted words include 'hate', 'idiot'

Demo

About

Public guestbook to allow for public submission of comments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages