Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ![]() Interested in joining? Click here. If you are already a member of ZBCode, feel free to login right here: |
- Pages:
- 1
- 2
| Coding A Forum Software? | |
|---|---|
| Topic Started: Feb 7 2010, 04:28 PM (229 Views) | |
| Connor | Feb 7 2010, 04:28 PM Post #1 |
|
I know some HTML/CSS and PHP. Well, Kinda...
![]()
|
I have edited forum scripts in the past but never started from scratch. Can someone please tell me the first steps in coding a PHP code that will make a basic index and forum pages and such. Once I have a simple script to start off of, I can take it from there. |
![]() |
|
| slayer766 | Feb 7 2010, 07:07 PM Post #2 |
![]()
Hello all
![]()
|
A forum software is quite a process if you want a lot of stuff to it. Something I've had in development for almost a year, with work on and off occasionally: http://slayforum.slayer766.com/forumindex.php Your forumindex file would be the main file, containing information stored in a MySQL database such as topics, users, online users, messages, posts, categories, etc. Do you have a registration & login system? Will you find a free one on the net or create your own? It's best to create your own so you can get more practice with settings cookies/sessions, doing a proper error check for login/registration details and such. You can start off by having a basic registration & login system to store registered users in your database and then on another php file you would throw in some HTML tables to have a forum layout have just some space holders for the topics at the time. On login, you would need to decide with either a session or cookie. Recommend you to set with a cookie, later on you can have the option to make a checkbox for the remember me and just log them in with a session. Sessions are best kept with admin control panels. You would need tables in your database for category, topic, posts, users. Create a category and a topic manually in your database, and then your forum index file you would just pull the info from that table to output the info, and make a link for a forum page(showtopic/topic/viewforum/whatever). Just let me know what you think and if you need help getting the registration & login system or however you want to start. |
![]() Thanks Helena for the siggah!!! | |
![]() |
|
| Reid | Feb 7 2010, 08:07 PM Post #3 |
![]()
What? The land of the free? Whoever told you that was your enemy.
![]()
|
Just be sure your login details are stored securely... instead of storing passwords directly, use hashes. For example, if I put in the password roflcopters then you should: 1. Add a random salt to the end of it, i.e. yes,IdoinfactlikeCheese,butthereareonly388typ3sof{}thatArefancyenoughforme will do. 2. Take that and use SHA to make it into a hash Hashes are unique in that they are one way, so if someone gets your database somehow all they have are a bunch of hashes; they don't know the actual passwords. |
| |
![]() |
|
| slayer766 | Feb 7 2010, 08:12 PM Post #4 |
![]()
Hello all
![]()
|
I'll hash you... <_< |
![]() Thanks Helena for the siggah!!! | |
![]() |
|
| Connor | Feb 8 2010, 10:29 AM Post #5 |
|
I know some HTML/CSS and PHP. Well, Kinda...
![]()
|
Looks Cool slayer. Mind making a basic index script for me to base mine off of please? |
![]() |
|
| Connor | Feb 8 2010, 10:48 AM Post #6 |
|
I know some HTML/CSS and PHP. Well, Kinda...
![]()
|
I found a ful tutorial. I may use. Anyone want to help? |
![]() |
|
| slayer766 | Feb 9 2010, 03:47 PM Post #7 |
![]()
Hello all
![]()
|
I'll help you, post what you have. |
![]() Thanks Helena for the siggah!!! | |
![]() |
|
| Connor | Feb 9 2010, 05:48 PM Post #8 |
|
I know some HTML/CSS and PHP. Well, Kinda...
![]()
|
I have http://softbb.ulmb.com so far. |
![]() |
|
| Gorgor | Feb 9 2010, 05:51 PM Post #9 |
|
Hello
![]()
|
That makes Google Chrome freeze as well as make Adobe stop working for me... |
|
This forum is closed. Please visit http://zetascript.co.cc This forum is closed. Please visit http://zetascript.co.cc This forum is closed. Please visit http://zetascript.co.cc This forum is closed. Please visit http://zetascript.co.cc This forum is closed. Please visit http://zetascript.co.cc This forum is closed. Please visit http://zetascript.co.cc This forum is closed. Please visit http://zetascript.co.cc This forum is closed. Please visit http://zetascript.co.cc This forum is closed. Please visit http://zetascript.co.cc This forum is closed. Please visit http://zetascript.co.cc This forum is closed. Please visit http://zetascript.co.cc This forum is closed. Please visit http://zetascript.co.cc This forum is closed. Please visit http://zetascript.co.cc This forum is closed. Please visit http://zetascript.co.cc This forum is closed. Please visit http://zetascript.co.cc This forum is closed. Please visit http://zetascript.co.cc This forum is closed. Please visit http://zetascript.co.cc This forum is closed. Please visit http://zetascript.co.cc | |
![]() |
|
| Connor | Feb 9 2010, 05:58 PM Post #10 |
|
I know some HTML/CSS and PHP. Well, Kinda...
![]()
|
Works fine for myself and everyone else... |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · Code University · Next Topic » |
- Pages:
- 1
- 2





















4:18 PM Sep 3