mojopanel Posted January 16, 2009 Share Posted January 16, 2009 Hello. i am wanting to make a forum script like phpbb2 (the one they made before phpbb3), as i own a free hosting script that i am wanting to add a forum to... Can any one help me please.. Quote Link to comment Share on other sites More sharing options...
trq Posted January 16, 2009 Share Posted January 16, 2009 How much php do you know? Where exactly are you stuck? Quote Link to comment Share on other sites More sharing options...
Maq Posted January 17, 2009 Share Posted January 17, 2009 Hello. i am wanting to make a forum script like phpbb2 (the one they made before phpbb3), as i own a free hosting script that i am wanting to add a forum to... Can any one help me please.. Read a tutorial. Quote Link to comment Share on other sites More sharing options...
mojopanel Posted January 17, 2009 Author Share Posted January 17, 2009 Well i made a forum that is a simple one, but i want to make one that is very simple.. Well i am learning php, i am willing for some one to help me as much as they want.. And i have read a tutorial.. Well this forum is more or less needed for my free hosting script (mojo-panel.com) so people can have a support forum for people to get help when people download my script and set it up..etc... You get me Quote Link to comment Share on other sites More sharing options...
corbin Posted January 17, 2009 Share Posted January 17, 2009 Why not mod an existing forum? Quote Link to comment Share on other sites More sharing options...
mojopanel Posted January 17, 2009 Author Share Posted January 17, 2009 coz then it would not be made by me, and i would need to check with them if i can use it with my script./ Quote Link to comment Share on other sites More sharing options...
corbin Posted January 17, 2009 Share Posted January 17, 2009 You could just find one with a very permissive license. Don't take this the wrong way, but I would guess you're a beginner, and if you're a beginner, you shouldn't try to write a forum for actual use. Quote Link to comment Share on other sites More sharing options...
mojopanel Posted January 18, 2009 Author Share Posted January 18, 2009 This is what i ended up with (i found a tutorial) {http://punbber.com/Tutorials/mojopanel%20-%20simple%20forum%20script/}. all i need is for some one to help me make it into catogorys, so people are not having to go through loads of pages. Quote Link to comment Share on other sites More sharing options...
corbin Posted January 18, 2009 Share Posted January 18, 2009 Well, you'll need separate forums, which can be achieved by having a forum column in your topics table. Then, you'll show a list of the forums (stored in a separate table for normalization). Once a user clicked on a category, it would show only posts of that category. When creating a thread, the thread would be in the category under which it was created. I don't know what your current table schema looks like, but I would do something pretty much like this: CREATE TABLE users ( user_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, user_name varchar(64), user_password char(32) --md5'd ); CREATE INDEX idx_user_name ON users(user_name); CREATE TABLE forums ( forum_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, forum_name varchar(255), forum_description varchar(255) --You would probably want other columns ); CREATE TABLE posts ( post_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, post_title varchar(255), post_content text user_id INT NOT NULL, forum_id INT NOT NULL --you would of course have other columns ); See how it would all map together? I'm assuming you can do the PHP part since you've managed to make a free hosting script. Quote Link to comment Share on other sites More sharing options...
mojopanel Posted January 18, 2009 Author Share Posted January 18, 2009 Thank's for that.. that will help alot.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.