Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: Forums Help

  1. #1
    New Coder
    Join Date
    Jun 2012
    Posts
    57
    Thanks
    13
    Thanked 0 Times in 0 Posts

    Question Forums Help

    Hi, I am trying to make a forum in PHP code, does anyone have an idea on how to structure this? I have made a basic attempt at writing the code, but I am having trouble right away, and hope for expert advice in making this part of my site.

    Does anyone have any good ideas?

  • #2
    Regular Coder Redcoder's Avatar
    Join Date
    May 2012
    Location
    /dev/null
    Posts
    333
    Thanks
    2
    Thanked 47 Times in 46 Posts
    Okay, you don't have to code a new forum yourself. There are many free open source forum software on the web. You can easily customize them for your own use using themes that are free or being sold on the forum themes section. You can also code your own once you master the code.

    If you don't want to use those softwares and insist on coding your own, you can still use the software to give you an idea of how to do it. Just study the code which is in PHp format e.g PHPBB, VBulletin etc and you'll get ideas on how you should design your forum program.

  • #3
    Regular Coder
    Join Date
    Nov 2011
    Posts
    250
    Thanks
    8
    Thanked 4 Times in 4 Posts
    I'm with Redcoder on this. Use PHPBB or something similar.

  • #4
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,281
    Thanks
    57
    Thanked 523 Times in 510 Posts
    Blog Entries
    5
    Depends.. sometimes you just want a challenge in order to gain experience. There isn't much point using a pre-existing forum if you won't learn much from it and personally from my POV, it can often be harder trying to hack into an existing software product simply because you don't always know what other things your code may inadvertantly affect.

    IF you're planning to start something thats going to use a DB, plan out the features and then the database first. Get the DB tables setup and populated with some test data and then build up the site around that. Doing the site first and the DB after can be quite counter productive as add new features and then have to go back and adjust everything..
    See my new CodingForums Blog: http://www.codingforums.com/blogs/tangoforce/

    Many useful explanations and tips including: Cannot modify headers - already sent, The IE if (isset($_POST['submit'])) bug explained, unexpected T_CONSTANT_ENCAPSED_STRING, debugging tips and much more!

  • #5
    New Coder
    Join Date
    Jun 2012
    Posts
    57
    Thanks
    13
    Thanked 0 Times in 0 Posts
    Thanks guys, I'll take a look at those programs.
    I'll also look at the code to see if I can learn anything.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •