Jump to content
#FlattenTheCurve ×
PrinceTaz

Category Forum System

Recommended Posts

Hey there, so as a personal project, I've been working on creating a forum software. You can check out what I have so far here: https://www.taziamoma.com/Forum/index.php

What I'm currently having trouble with right now is connecting a Category with a forum with the threads inside of it. For example, I have a Category that has 3 forums attached to it. How do I link that in the database and how do I indicate which threads belongs to which forums?

Share this post


Link to post
Share on other sites

Do you have already have a concept of posts inside threads? How did you manage that?

Share this post


Link to post
Share on other sites
18 minutes ago, requinix said:

Do you have already have a concept of posts inside threads? How did you manage that?

I don't yet, I created the least complex stuff first. Like dynamically displaying forum and category names, registration/login system. 

Share this post


Link to post
Share on other sites
8 hours ago, requinix said:

Not sure I would call a registration and login system less complex than threads and posts, but I guess it depends...

I suggest you take a look at MariaDB's knowledge base section on database theory.

Well only reason its less complicated to me is simply because I've done it so many times :P. I'll take a look at that.

 

So my other idea was to create a tuple relating to each individual table. For example, for each forum, create a forum_cat attribute to define which category it belongs to. Same with topics/replies. 

Edited by PrinceTaz

Share this post


Link to post
Share on other sites

If you want forums to have/belong to multiple categories and replies to multiple threads, yes. But that second one doesn't sound right.

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.   Restore formatting

  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.


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.