LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 09-17-2004, 05:50 AM   #1
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
Good tools to create online forums


Hello all.

I've been reading LQ a lot and I find it most fascinating. I am interested in developing an online forum myself but I am at a loss how to start.
  • What are the development tools that I would need to undertake such a task?
  • Do I need a Web server on my local machine to test the application?
  • Can I host such a forum on a free web-hosting or do I need the services of a paid one?
  • What are the database tools needed to create such a forum?
  • Is it possible to create such an application using C++ or do I have to use something like PHP or Java? (Note: I am new to PHP but I have knowledge of Java).
Please try to guide me in detail as I have absolutely NO idea how to start.
 
Old 09-17-2004, 07:31 AM   #2
Boby
Member
 
Registered: Feb 2004
Location: Sighisoara/Cluj-Napoca (Romania)
Distribution: CentOS 4, Fedora Core 6
Posts: 781

Rep: Reputation: 31
Hello!

1. Best would be to go an take a forum software. There are a lot, maybe you want to try them first on your PC and then use the one you like most. Here are some very good ones:
vBulletin (this is the software used by LinuxQuestions.org)
Invision Power Board (a very, very good software)
phpBB (this one is free)

2. You can test them on your local machine, you have only to install an Apache web server, PHP and MySQL.

3. It's not a very good idea to get an free web-hoster if you want to create a big community. Their support is usually bad. Importatnt is that your web-hoster has PHP and MySQL installed in order to have your software running.

4. Database...MySQL, PostgreSQL . Usually and maybe best is MySQL.

5. PHP, PHP, PHP Best forums are written in PHP.

Actually, you need a litte knowledge about HTML and PHP if you want to add some new features to the software or change it. But the most options will be done from the software.

Good luck!
Boby
 
Old 09-17-2004, 09:03 AM   #3
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
Actually I would like to use as many free/GPLed software as possible to create a forum. Maybe even from scratch.

However, since you say that PHP is better than Java for writing server-based applications, I must learn PHP before attempting such a project.

Actually I don't mind starting out on a smaller scale like a small guest-book like application before writing a full-featured forum. Anyway, thanks.

I've never used MySQL before so I guess I have a lot to learn before undertaking such a project. However, all the tools that I need I have with my distro namely,
  • Apache Web Server (is this the same as httpd folks?)
  • PHP
  • Java (optional)
  • MySQL
Does this list cover everything? Of course, I could do with some skeleton code to start with.

Last edited by vharishankar; 09-17-2004 at 09:16 AM.
 
Old 09-18-2004, 10:32 AM   #4
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

may be u should have look here

http://www.phpbb.com/


it may help u,i haven't tried it though but i have seen many sites using this

regards
 
Old 09-18-2004, 10:38 AM   #5
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
Yes thanks masand I've already downloaded that and I'm just waiting to test it. Only thing, had it been Java based I think I could have understood the code better. Now I must just learn PHP to make changes where I need.
 
Old 09-18-2004, 10:48 AM   #6
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

i am sure that php will be very much easy for if u have learned a programming languge like C earlier
it just took me some days to know the basics of php and i refer the manual at php.net for more

it is a good manual

try it

regards
 
Old 09-18-2004, 10:54 AM   #7
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
A quick googling reveals:

There's Ikonboards which is a free php forum (from the makers of Invision iirc).

Jive Software's forum is in java, but not free. Plus most people wouldn't like to deal with making Java VM's operate quick enough for heavy load sites (Yeah Java1.5/5 is better). Server side scripting languages like PHP are designed for work like the dynamic pages of forums, Java isn't. Wrong tool for the job, as experienced programs says.

IdealBB and Snitz are ASP/.Net/Windows based and again in the minority for support (especially here).

I have a friend who after school took up development in mostly web based systems, and uses PHP a lot. He'd say that if you're starting out, PHP5 would be best to learn (more OOP based stuff, more familier to a new/Java programmer), but I think you'll find all matured projects are PHP4 atm. Still, you can learn PHP5 plus the differences and look to the future.

Last edited by Proud; 09-18-2004 at 10:57 AM.
 
Old 09-18-2004, 01:41 PM   #8
databuilders
LQ Newbie
 
Registered: Sep 2004
Distribution: Mandrake
Posts: 8

Rep: Reputation: 0
Harishankar,

I may have some hosting space for you. Please PM or e-mail me.
 
Old 09-18-2004, 08:57 PM   #9
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
Quote:
Originally posted by databuilders
Harishankar,

I may have some hosting space for you. Please PM or e-mail me.
Thank you for that offer Well, I'll get back to you once I've developed this. It make take some time because I've still not got started yet.
 
Old 09-19-2004, 01:54 AM   #10
R00ts
Member
 
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 545

Rep: Reputation: 30
I use PHPBB for my forums: http://www.allacrost.org/forum

It was ridiculously easy for me to setup. Took 20 minutes and I've never done any sort of forum administration before either. There's a plethora of hacks to customize your forum too (though I haven't gotten around to it yet). And it seems pretty easy to create your own theme as well. Good luck
 
Old 09-19-2004, 09:26 AM   #11
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
Quote:
Originally posted by R00ts
I use PHPBB for my forums: http://www.allacrost.org/forum

It was ridiculously easy for me to setup. Took 20 minutes and I've never done any sort of forum administration before either. There's a plethora of hacks to customize your forum too (though I haven't gotten around to it yet). And it seems pretty easy to create your own theme as well. Good luck
Hi R00ts, I looked at your forum and it's pretty neat. I just can't wait to try out PHPBB. I have MySQL and Apache web server already installed on my system. What else do I need? Do I need to install PHP separately or will it already be part of Apache? If so, how to I find out?
 
Old 09-19-2004, 11:56 AM   #12
Boby
Member
 
Registered: Feb 2004
Location: Sighisoara/Cluj-Napoca (Romania)
Distribution: CentOS 4, Fedora Core 6
Posts: 781

Rep: Reputation: 31
Do you installed Apache and MySQL from RPM? If yes, you can download PHP as RPM too (from a fedora mirror) and install it.

If you downloaded the arhives and compiled it then you have to do this steps. PHP should be included as a module in Apache. For this, your Apache must be recompiled with module support (--enable-mods-shared=all).
In this example, Apache will be installed in /usr/local/Apache2, to install it in another directory change --prefix=/another/path/apache below. But also the path in PHP installation.

Apache 2.0.50
Code:
tar -zxvf httpd-2.0.50.tar.gz
cd httpd-2.0.50
./configure --prefix=/usr/local/Apache2 --enable-mods-shared=all
make
su
Password:
make install
exit
PHP 4.3.9
Code:
tar -zxvf php-4.3.9RC2.tar.gz
cd php-4.3.8
./configure --with-apxs2=/usr/local/Apache2/bin/apxs --with-mysql=/path/to/your/mysql_directory
make
su
Password:
make install
exit
Now check if the following lines are added in your /usr/local/Apache2/conf/httpd.conf file:
1. LoadModule php4_module libexec/libphp4.so
or
LoadModule php4_module modules/libphp4.so

2. AddModule mod_php4.c

3. AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps


Restart Apache with /path/to/apache/bin/apachectl restart

For each of them, Apache and PHP, check first "./configure --help" to see what else you can compile and install. Also read the installation files after unpacking the arhives, there are all steps included.

Hope this helped!
Boby
 
Old 09-19-2004, 05:17 PM   #13
R00ts
Member
 
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 545

Rep: Reputation: 30
Quote:
Originally posted by Harishankar
Hi R00ts, I looked at your forum and it's pretty neat. I just can't wait to try out PHPBB. I have MySQL and Apache web server already installed on my system. What else do I need? Do I need to install PHP separately or will it already be part of Apache? If so, how to I find out?
Thanks. I believe PHP needs to be installed seperate of Apache, but I'm not sure about that. I didn't have to install anything because my server provider already had everything I needed. If you are looking for a good web-hosting service for your forums/site I recommend OnSmart networks: http://www.onsmart.net/. For $7.50 a month you get a Linux server with 1000MB of space, 50GB of bandwidth, 200 e-mail addresses, FTP servers, and a crapload more. I have never found a better deal and I don't think I ever will.
 
Old 09-19-2004, 09:14 PM   #14
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
My profound thanks to all of you. LQ is a very helpful and friendly community.

Actually my machine is down for a couple of days, because I have problems with my UPS (Uninterruptable Power Supply)

I needn't download PHP because I got PHP with my tech-magazine CD

But yes, I'm sure I've got Apache and MySQL installed on my system because when I clicked on "Services" I saw both the mySQL and the httpd on the list.
 
Old 09-20-2004, 07:09 AM   #15
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
PHPBB is fantastic!! And it looks absolutely cool too!

I'm going to learn more about it by working with it on my local machine for some time before putting up my own forum on the web.

Though I had a bit of trouble with mySQL, I got it to work in the end.

Thanks to all for the help...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cdda ripping tools: what tools are good these days? jgombos Linux - Software 3 01-04-2005 12:09 AM
My education on online forums at LQ vharishankar General 2 11-25-2004 02:31 PM
Suggestions for my new online forums vharishankar General 7 10-26-2004 08:53 AM
Where are the good forums? statmobile Linux - Newbie 3 02-03-2004 12:59 AM
SuSE forums back online. yakko Linux - Distributions 1 01-28-2004 08:50 PM


All times are GMT -5. The time now is 11:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration