RkBlog

Hardware, programming and astronomy tutorials and reviews.

MyghtyBoard 2012 first beta available - a simple and handy Django forum application

After a long time I've found some time to release the current version of the forum app I'm using. It's named "MyghtBoard" and the test-version looks like so:

myghtyboard-2012

You can download the code from the project site either from ZIP file or from SVN. This is a first release after a while so it may contains some bugs.

The application consist of forum categories, which contain forums. Each forum has its own topic and topics have posts. Topics may also be global - shown in every forum, or sticky - always on top of the forum. Forums may also use tags - admin selected tags that users will be able to choose for their topics (or filter topics by tags). Topics may be moved to other forums, locked/unlocked, solved/unsolved and so on...

  • diamandas/myghtyboard: this is the forum application (with templates)
  • diamandas/recaptchawidget: recaptcha form field based on a django snippet (not mine). If you want to new users may get recaptha on the forums
  • diamandas/userpanel: basic login/register + user profile application. Forum uses last_visit value to highlight new topics since last visit (in a basic way). Registration uses ReCaptcha
  • settings.py: There are few forums config variables in there
  • site_media: demo page layout + forum CSS/icons used

If you want to implement MyghtyBoard into your own app then you need to copy/paste it (best to copy as diamandas/myghtyboard), and then start hacking the forum templates to use your own. Links aren't hardcoded so you can attach it to other urls that /forum/. Also your user profile must have a field like the "last_visit" to show new posts/topics.

RkBlog

Django web framework tutorials, 13 February 2012, Piotr Maliński

Comment article