views:

349

answers:

4

I'm looking for a good solution to integrate a forum into a symfony application.

Something like phpBB would be excellent. I've seen phpBB plugins to integrate with symfony but that's not enough for my purposes, also, mapping database tables is a lame approach in my opinion.

If anybody knows a good working forum component for Symfony then I would really apreciate it. :)

Also, it needs to work with Doctrine.

Thanks!

A: 

There are a couple of forums which use the Symfony frmaework. They are listed on the Symfony forum plugins page.

The most popular is the sfSimpleForum, which was built by Francois Zaninotto, one of the original Symfony developers.

There is little development in this area however, possibly because forums are the 'old' way of allowing users interact online and are gradually being replaced with new techniques.

Jon Winstanley
yes but the problem is that all of those plugins are based on propel, and I need a doctrine based one
Zoja
I disagree that there are "several excellent forums" for symfony - essentially there are 2, and both are old and underdeveloped. However, sfSimpleForum is reasonably well written and could be updated to use the DbFinder plugin to offer a ORM-agnostic solution.
Raise
+2  A: 

If you're discounting the prestaForumConnectorPlugin which connects sfGuard and PHPBB3, then you may have to write your own connector. You should check if any resources exist on the websites of your favourite PHP forum.

One option is Invision Power Board (IPB) v3, as their developer resources explain how to integrate your own code (ie. symfony) into their system, including single sign-on: http://community.invisionpower.com/resources/official.html?category=41

I have integrated IPB v2 with symfony, and it wasn't ideal - there was no developer interface at that time to make IPB respect symfony. I had to hack around in the IPB source to make it work, but after discussing it with Invision was assured this would not be necessary with v3. This seems to now exist, which would be where I would start.

NB. IPB is not free, so hopefully this is not a sticking point for you.

Raise
+1  A: 

I've found sfDoctrineSimpleForumPlugin Thanks for all the responses, hope this works :) ! The author made even some changes today after this post

Zoja
A: 

I've integrated Phorum with symfony before - there's some old and semi-out of date documentation on the web for doing this, but essentially Phorum has an architecture that allows its user authentication to be easily overridden. You will then need to write a controller to wrap the forum calls too, and apply the main site templating (if you need that).

PeterB
I was more looking for an out-of-the-box solution, so to say a ready component or plugin
Zoja