In this week, I have include threads and posts into my database, and created the individual thread page, shown in the image below:
The design of the page is actually done by the other group member, as I am responsible for the back-end of the website. Anyways, I have managed to retrieve data for individual thread and the comments specifically for the thread, and placed them in this format as shown above. This is the page the users will see when they clicked on a one individual thread in the homepage. I have also applied pagination to it, so that the users can click to multiple pages, instead of having all the comments in just one page.
Currently, I haven't create the button to create new thread and post new comments. I have to implement it in such a way that only users that are logged in as members can comment and create new threads, so that the admins can better manage the members. More updates coming soon!
Comentarios