Anyone have a link to a guide to making a forum in php

i know its a monumental project but i have to start somewhere
ive been trying to find a very well commented forum someone has already made, so that i can turn it into a text based browser game, you know where it takes 3 days to build things and users attack eachother and such.
ive looked at phpBB, but its not well commented enough for me to understand every piece of code.
i know it sounds crazy but i think it would be easier for me to start from scratch, ill make it simple at first, all i need is a way to make accounts and sign into them, i dont even need confirmation emails! ill add more complicated stuff like IP banning later
if anyone has a link to a guide or any helpful information at all i would kiss your feet

Javi

No way.

There is no way to learn from the code, even well-commented one. Because 99% of code has no relation to forum itself. But to avatars, polls, smileys and thousands other useless crap.
Yes, it’s a monumental project. And you have to learn first. A year probably, or more.

ill make it simple at first, all i need is a way to make accounts and sign into them, i dont even need confirmation emails! ill add more complicated stuff like IP banning later

sounds very funny
because IP ban is one line of code and user registration is one of most complicated parts

Just go learn PHP, SQL and Javascript, and in a year you’ll be able to make your game. If you’ll still want to :slight_smile:

tirengarfio, your right forum software (at least phpbb and SMF) whilst they may be good forums they suck at code readability and by that I mean that you can’t see at a quick glance what code is associated with what functionality. If they were to make use of MVC and OOP then it would make their code easier to read.

If you are new to PHP and MySQL then I would recommend that you read a book like “Build Your Own Database Driven Web Site Using PHP & MySQL, 4th Edition” By Kevin Yank. Towards the end of that book you would create a simple CMS which could be used as a starting point for the design of a simple forum. The PHP Anthology is a reasonable introduction to OOP.

If you are going to create a game and forum, you need to sit down with a pen/pencil and a pad of paper and plan it out, keep it very, very simple at first. Think out the processes that need to happen for various parts and try and break them down into sub processes.

One option for the forum would be to only have it linked to the game as far as user authentication by “bridging” it to the game so that when a player logs into the forum, if they also play the game they will also be logged into the game.

Agreed. Plan it out. It will save you a ton of time later and give you the best chance of actually finishing it. Take it one step at a time. I’d recommend a framework that has most of what you need like authentication, ACLs, file management, etc. GL