Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Very Basic Perl Forum

by the_edge30 (Initiate)
on Jan 15, 2002 at 18:14 UTC ( #138897=perlquestion: print w/replies, xml ) Need Help??

the_edge30 has asked for the wisdom of the Perl Monks concerning the following question:

Hi all I need to create a perl forum (very very basic) that performs the following operations 1 It should allow people to post a new discussion thread and/or reply to an existing thread. 2 Relevant information about the person submitting the information should be included, such as their name, e-mail address, etc, together with the date and time of submission. Anyone have any code which does this, or know of any, or can someone point me in the right direction to start?? Cheers CHRIS!

Replies are listed 'Best First'.
Re: Very Basic Perl Forum
by cacharbe (Curate) on Jan 15, 2002 at 18:41 UTC
    Your frist step is to figure out functionality (which you've done). Then you'll need to determine what tools will give you that functionality, which means you'll need to RTFM a little to figure it out.

    You're going to be looking at CGI, probably DBI or another database interface, etc. As you'll need to 1.) interface with the web, and 2.) store a lot of data in a well formed database or database-like structure.

    Finally, The Ultimate Bulletin Board is written in Perl, and is open source.

    C-.

      UBB has been discussed previously, both here and on usenet (do a google search), and the verdict seems to be that it pretty much sucks. Sloppy coding practices, etc. I would stay away from it.

      Unfortunatly, I don't have any better suggestions. I installed PostNuke on my work machine yesterday and it seems pretty capable (and easy to install provided that you've got MySql and PHP running). But it's not a perl solution, no.

      Writing your own forums software is certainly doable, but far from trivial.

      Cheers,
      -- moodster

        There exist quite good Perl forum named gForum. It does play nicely with mod_perl, supports SQL backend, is easily extendable with plugins written in Perl and its source code doesn't suck too much (I had to integrate its authorization with customer website so I've spent some time reading gForum sources and writting plugin for it).

        Disclamer: of course I don't work for them :).

        --
        Ilya Martynov (http://martynov.org/)

        Actually writing a messageboard script (suite) is pretty trivial at least if you interface with a database (flatfiles are ok but you have to be tricky if you want it to scale well with a large messagebase) - it's just a whole lot of work.

        If anyone wants to have a look, I suggest ikonBoard v3 - free and seems to be decent Perl. (And just like IlyaM, I don't work for them.)

Re: Very Basic Perl Forum
by dmmiller2k (Chaplain) on Jan 15, 2002 at 23:30 UTC

    Perhaps you'd find what you're looking for at Matt's Script Archive. But IF YOU DO, DON'T USE IT!!

    Instead take a look at Not Matt's Scripts for a more secure drop-in replacement, (re-)written by our own davorg.

    dmm

    If you GIVE a man a fish you feed him for a day
    But,
    TEACH him to fish and you feed him for a lifetime

      To be honest, the wwwboard script in nms is about the only one that's not quite ready for prime time.

      Oh, and please start calling it just "nms". The old name really doesn't do anyone any good!

      --
      <http://www.dave.org.uk>

      "The first rule of Perl club is you do not talk about Perl club."
      -- Chip Salzenberg

      whenever we decide we need a forum, (that is me and a friend of mine I do all my web'ing w/) we use Yaab boards. I like them because of the extensive list of features available, (assigning moderator status and etc. all the major functions of a larger scale mess. board) and while at times they may seem excessively flashy, they get the job done. But then again, you have to like that KIND of message board to like Yaab soo... to each his own I suppose :p

      and I know that wasn't exactly what you were asking for, but that's my recommendation, to use a freeware board as such, (unless you're set on making your own then more power to you).

      "Your Pro-mop anti-horse agenda has been apparant for some time!"
Re: Very Basic Perl Forum
by Parham (Friar) on Jan 16, 2002 at 03:08 UTC
    i would recommend yabb because it has a great support team which can help you with ANYTHING you want. You can find yabb at this url. I recommend it because i use it. If you want, you can make it into a very basic forum.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://138897]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2022-05-28 02:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (98 votes). Check out past polls.

    Notices?