What does a forum need?
- BB Code
If you know this you can think of how to write it.
- Start with users (login + register)
- Create subforum list
- Create topic list under the subforum page
- Create posts under topic
These are the basics thoughts behind a forum. It's more easy than you would think. :)
Yea, but then it doesn't end there.
For example; users..
You need to decide what features users should have, for example users online, user groups, user profiles, etc..
Also, the hardest thing I can think of, is the template system.
I would want a different template for each view.
For example, a template for the postbit, a template for the navbar, a template for the forum index, a template for the thread view, a template for the topic view.
One thing at a time, Tanax. Think and make the basic stuff first, and think about the addons after that. Don't think in advance unless you're absolutely obliged to. Example: start with the user system, as sugested. The most basic authentication scenario is this: user enters his username and password and he is allowed to post a topic. Otherwise, only show that topic, without allowing posting. Then, when you have the most basic system set-up, you will have plenty of time to add more features and options, whilst have a working system.
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
Starting off with don't even knowing how to start... (Nice sentence! I am like Houdini, but with words) That's NOT a good start. One simple question, have you ever made something complex like an advanced login system, something with GD library or or maybe a news system?
Simply an advice, start off with something simple like creating a database, a planing (like Village Idiot, the darkside man said) and then just work your way up from there.
Your scripts don't have to be 100% correct at the first attempt. I know I have rewritten my mySQL Class handle about 5 times. Most of my knowledge gained here is mainly the reason and maybe the problem for that.
if its your first forum or 'big' application, just build somthing small (a very very simple forum, doesnt have to have templates and stuff) just start off basic then build on it.
I think writing a full tutorial on how to create a forum would be a mammoth task, alot of people dont have the time :(.
Just remember : KISS (Keep It Simple Stupid), you cant expect to jump right in and code somthing with as much features as PHPBB etc, it just isnt possible.
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)