Presentation is loading. Please wait.

Presentation is loading. Please wait.

Bulletin Board Part 1 – Files and Changes CIS 254.

Similar presentations


Presentation on theme: "Bulletin Board Part 1 – Files and Changes CIS 254."— Presentation transcript:

1 Bulletin Board Part 1 – Files and Changes CIS 254

2 Overview of Forum Flash/PHP/MySQL Based Contains Standard Forum Items –Forums –Threads –Posts –Registration

3 Descriptions Post –A single message on the message board Thread –A collection of posts on a single topic Forum –A collection of threads

4 Needed Views Forum View Thread Vieew Post New View Post Reply View Registration View

5 Forum View Shows a list of threads –Topic –Topic Starter –Replies –Last Post Button for Refreshing list Button for new thread Registration Button

6 Thread View Listing of posts –Author –Post time –Message Back button to Forum Post New Button Post reply Button Registration

7 Post New New Post –Username –Password –Thread Title –Message Submit Button Cancel Button Registration

8 Post Reply View Post Reply –Username –Password –Thread Title –Message Submit Button Cancel Button Registration

9 Register Screen Registration Area –Username –Password –Confirm Password –E-mail Address Register Button Cancel Button

10 Tables – Created by phpforflash.sql forumCatagories forumForums forumPosts forumThreads forumUsers

11 forumCatagories catagoryID int(11) NOT NULL auto_increment, title varchar(50) default NULL, displayOrder int(11) default '0', PRIMARY KEY (catagoryID)

12 forumForums forumID int(11) NOT NULL auto_increment, catagoryID int(11) default NULL, title varchar(40) default NULL, displayOrder int(11) default '0', threadCount int(11) default '0', lastPost int(11) default '0', description varchar(100) default NULL, lastUserID int(11) default NULL, postNewLevel tinyint(4) default '0', postReplyLevel tinyint(4) default '0', PRIMARY KEY (forumID)

13 forumPosts postID int(11) NOT NULL auto_increment, threadID int(11) default NULL, userID int(11) default NULL, message mediumtext, posted int(11) default NULL, notify tinyint(4) NOT NULL default '0', addsig tinyint(4) NOT NULL default '0', topic varchar(255) default NULL, PRIMARY KEY (postID), FULLTEXT KEY topic (topic,message)

14 forumThreads threadID int(11) NOT NULL auto_increment, userID int(11) default NULL, topic varchar(100) default NULL, replies int(11) default '0', lastPost int(11) default NULL, sticky tinyint(4) default '0', forumID int(11) NOT NULL default '0', announcement tinyint(4) default '0', PRIMARY KEY (threadID)

15 forumUsers userID int(11) NOT NULL auto_increment, username varchar(20) default NULL, password varchar(40) default NULL, title varchar(30) default NULL, email varchar(255) default NULL, userLevel tinyint(11) default '0', signature tinytext, postCount int(11) default '0', PRIMARY KEY (userID)

16 PHP Files common.php db.php index.php login.php movethread.php postedit.php postnew.php postreply.php printable.php profileedit.php register.php search.php viewboard.php viewforum.php viewpost.php viewprofile.php viewthread.php

17 Actionscript File boardmxharmony.as –Used as an include in the flash file –Contains all actionscript for the bulletin board –Called in first frame of boardmxharmony.fla

18 Flash File

19 File Modifications common.php –// Database details –$dbHost = “rs6kc.swc.cc.ca.us"; –$dbUser = “USERNAME"; –$dbPass = “PASSWORD"; –$dbName = “DBNAME";


Download ppt "Bulletin Board Part 1 – Files and Changes CIS 254."

Similar presentations


Ads by Google