Jump to content
Larry Ullman's Book Forums

Recommended Posts

I was wondering if there is an example from Larry's other books that explains how to create a regular forum (like the ones here) instead of the forum with the languages and words in chapter 17.

Share this post


Link to post
Share on other sites

Too bad...

 

I'm stuck at understanding how to modify the example to regular forums. I know I should drop the 'words' table, but where do I go from there? Do I just change the drop-down menu of the languages to a list of forums' names and then modify the code? It seems quite complex.

Share this post


Link to post
Share on other sites

Well, it depends on what type of forum you want to create and also what you want the interface to look like.

 

In general though, I would think that you'd have a table for the boards, a table of threads, a table of messages, and a table of users.

From there, you'd likely need some sort of intermediary table that keeps track of the board, thread, message number and user for each message that's posted.

 

That all make sense?

Share this post


Link to post
Share on other sites

Yes, it does.

I'm assuming that a thread is the start of a series of messages, but threads aren't messages themselves, right?

Basically, when a user starts a new topic, a thread is created, yes?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...