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 14 of 14

Thread: forum building?

  1. #1
    New to the CF scene
    Join Date
    Jun 2002
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question forum building?

    How do you build a forum? I been wanting to build one for my site. Are their any good sites that show how to create a forum?
    Any help is appreciated!

  • #2
    New to the CF scene
    Join Date
    Jun 2002
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok: do you just need a forum or do want to write it yourself??
    I have found that the best way to learn a language (PHP) to be the "find-what-you-want-and-then-get-info-on-it" approach. I can't say I have found any tutorials on exactly how to write a forum, but there are a lot of (small) forums out there that can give you a guide in the right direction.
    (looking at source code will give you a good start)
    First: choose a language: PHP/CGI/ASP/CF++ whatever you have avaliable and want to.
    Second: choose a way to store the content: text files/MySQL/Postgress+++
    Third: read the manual of whatever you chose in 1 & 2.
    Fourth: get (small) scripts of the net and learn on what others have done

    Well: I can't give you any more specific tips on how to write a forum since I don't know the language you are using, but get back to this thread, and I'll give you some tips!

    Good luck!!

    NuCleuZ

  • #3
    New to the CF scene
    Join Date
    Dec 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Writen by ASP, PHP

    I can use PHP and ASP With SQL.
    But I don't know how to start. That's so difficult. Could everyone tell me which pages I have to write and how to make the best database for a simple forum.
    And coding is not problem, I think.

  • #4
    Senior Coder
    Join Date
    Apr 2003
    Location
    England
    Posts
    1,192
    Thanks
    5
    Thanked 13 Times in 13 Posts
    *ducks under the millions of nutters saying use php cos asp is the spawn of bill "satan" gates..etc*

    ive made a few asp forums and this is basically what you need (if you can, use asp.net with c#/vb [this requires a server running windows server 2003] and use a mssql database)

    tables: users, categories, forums, threads, posts

    users stores login details, users post details etc (level of administration is handy here too so you can have moderators and admins and regular members, as well as banning people etc)

    categories links a category id with a name and read/write priveliges (i link this with adminlevel from the users database so like if a user has 50 as his level he cant access a category with a restriction of 60)

    forums have an id, name, categoryid (permissions can be added but if you are going for simple just make sure when you display these it checks the level of the category before displaying any data)

    threads contain an id, forumid, subject, author, lastposter, lastpostdate

    posts contain an id, threadid, authorid, message

    you need a page to display each of these 4 tables (not users) so that the main page displays categories with links to the page that contains the threads (most forums here have a link on the category name to just display one category but i dont really see the point and you did say basic).. the threads page displays all threads inside that forum id, and the posts page displays all posts for that thread

    also you need a page to add posts and threads
    administrative pages to add categories and forums should be made but this can be done from the database if it doesnt change much and you are too lazy to write pages
    Last edited by ghell; 12-10-2004 at 03:53 PM.

  • #5
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    welcome here headpunter!

    I must say it's a strange request and i have the same question as nucleuz : do you want a forum to use it OR are you just looking for something to keep busy/practice your skills ? you can find free forums that are a simple or featurerich as you want and that are widely used and tested + are completely skinable.

    I don't think that any experienced coder would have problems writing a forum, but it simply is kinda pointless. Unless you have super-special features that you need.
    Posting guidelines I use to see if I will spend time to answer your question : http://www.catb.org/~esr/faqs/smart-questions.html

  • #6
    Banned
    Join Date
    Dec 2004
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    phpbb

    www.phpbb.com its good stuff!

  • #7
    New Coder
    Join Date
    Sep 2004
    Location
    California
    Posts
    69
    Thanks
    0
    Thanked 0 Times in 0 Posts
    building a forum is easy like eating everyday . all you have to do is go to php.net and download a full version and install it . if you want a forum like this forum then you have to buy a licence version . go to vbulletin.com .

  • #8
    Regular Coder
    Join Date
    Sep 2004
    Posts
    137
    Thanks
    0
    Thanked 0 Times in 0 Posts
    well if you are using PHP the best way to start is to first make your SQL database and work from that. There is a site where they have precoded forums but not all of them work(and they have the older gamefaqs style) and you might want to know a good bit about PHP, but some of them are good thats what I use.

    If you want something thats not as hard you can always get a phpBB or an IPB.

  • #9
    New Coder
    Join Date
    Aug 2007
    Location
    New York State
    Posts
    97
    Thanks
    28
    Thanked 1 Time in 1 Post
    I also Need to have a Forum, but I CAN NOT use SQL, or PHP... I can use ASP, and Access... Is this possible? - How do I do it?

    Thanks,
    Josh

  • #10
    Senior Coder
    Join Date
    Mar 2003
    Location
    Atlanta
    Posts
    1,037
    Thanks
    14
    Thanked 30 Times in 28 Posts
    Quote Originally Posted by Budde View Post
    I also Need to have a Forum, but I CAN NOT use SQL, or PHP... I can use ASP, and Access... Is this possible? - How do I do it?

    Thanks,
    Josh
    Is it possible? Yes.
    Will it be efficient? No.

    Access simply isn't suitable enough for anything like a forum. If applicable, it would be much better if you could use Microsoft SQL Server. Or even better MySQL.

    P.S.
    SQL - is an abbreviation for Structured Query Language; its used for managing and querying databases.

    Whether you are using Access or SQL Server you'd be using SQL. I'm assuming you meant to say MySQL which is an actual database system.
    Most of my questions/posts are fairly straightforward and simple. I post long verbose messages in an attempt to be thorough.

  • #11
    New Coder
    Join Date
    Aug 2007
    Location
    New York State
    Posts
    97
    Thanks
    28
    Thanked 1 Time in 1 Post
    Quote Originally Posted by StupidRalph View Post
    Is it possible? Yes.
    Will it be efficient? No.

    Access simply isn't suitable enough for anything like a forum. If applicable, it would be much better if you could use Microsoft SQL Server. Or even better MySQL.

    P.S.
    SQL - is an abbreviation for Structured Query Language; its used for managing and querying databases.

    Whether you are using Access or SQL Server you'd be using SQL. I'm assuming you meant to say MySQL which is an actual database system.
    How do I get an ASP Forum?

    Thanks,
    Josh

  • #12
    Senior Coder rafiki's Avatar
    Join Date
    Aug 2006
    Location
    Floating around somewhere...
    Posts
    2,046
    Thanks
    19
    Thanked 42 Times in 42 Posts

  • #13
    Senior Coder
    Join Date
    Mar 2003
    Location
    Atlanta
    Posts
    1,037
    Thanks
    14
    Thanked 30 Times in 28 Posts
    I remember using WebWiz's forum way back when (not that long ago about '02).

    http://www.webwizguide.com/webwizfor..._downloads.asp
    Most of my questions/posts are fairly straightforward and simple. I post long verbose messages in an attempt to be thorough.

  • #14
    Senior Coder
    Join Date
    Apr 2003
    Location
    England
    Posts
    1,192
    Thanks
    5
    Thanked 13 Times in 13 Posts
    There are quite a few forums out there in ASP. The first one I wrote was in ASP using Access on a 2GHz Celeron and it wasn't that slow. It handled the couple of hundred users I had pretty well. A lot of the time with ASP, the bottleneck in efficiency is how well the code has been written (for example GetRows, GetString, avoiding objects where possible, disposing of things when no longer needed, locking and scrolling, prepared statements, etc) rather than the DBMS or hard drive seek time etc. You certainly don't want a large busy forum (such as this one) using access though.

    I haven't been to aspin.com for a long time but this seems like a good list:
    http://www.aspin.com/home/webapps/bbs

    This is a bit offtopic but I don't know about StupidRalph's comment on MySQL being better than Microsoft SQL Server. In my experience, MSSQL 2005 does better, performance wise, than MySQL (assuming both are running on Windows at least), particularly when running 64bit and/or at high load.


  •  

    Posting Permissions

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