"Write your own" - are you serious??! phpbb3 is probably the best open source solution. The site is down at the moment, but there is a download link. Unfortunately, this means you can't get hold of the all-important mods and styles. Setup is a cinch and admin is straightforward. Translations in many languages. Immensely moddable - see http://startrekguide.com/ for example.