1      

Re:

Dinette - A Django based forum inspired by PhpBB

Requirements

Dinette requires the following to be installed.

  1. Python 2.5+ (May work with lower, but hasn't been tested.)
  2. Django 1.1+ (May work with 1.0, but hasn't been tested.)
  3. The following Django apps are used in templates, so if you use the default templates, you need them as well.

3.1 django-pagination 3.2 sorl-thumbnail 3.3 django-compressor

  1. If you need to migrate between install, south.

Install instructions

  1. Add dinette to your INSTALLED_APPS
  2. syncdb and/or migrate
  3. Add following settings with values for your install.

topic page size

TOPIC_PAGE_SIZE = 10 # Number of topics one a page to paginate by

REPLY PAGE SIZE

REPLY_PAGE_SIZE = 10 # Number of replies one a page to paginate by

Flood Time

FLOOD_TIME = 5 #Time in seconds between consecutive posts by a user.

internal ip

AUTH_PROFILE_MODULE = 'dinette.DinetteUserProfile' # For use by user.get_profile() RANKS_NAMES_DATA = ((30, "Member"), (100, "Senior Member"), (300, 'Star')) DINETTE_LOGIN_TEMPLATE = 'dinette/social_login.html'

settings used by socialauth

Get them from facebook and twitter. Read socialauth documentation for more info

TWITTER_CONSUMER_KEY = '' TWITTER_CONSUMER_SECRET = ''

FACEBOOK_API_KEY = '' FACEBOOK_API_SECRET = ''

OPENID_REDIRECT_NEXT = '/accounts/openid/done/' OPENID_SREG = {"requred": "nickname, email", "optional":"postcode, country", "policy_url": ""} OPENID_AX = [{"type_uri": "email", "count": 1, "required": False, "alias": "email"}, {"type_uri": "fullname", "count":1 , "required": False, "alias": "fullname"}] AUTHENTICATION_BACKENDS = ('django.contrib.auth.backends.ModelBackend', 'socialauth.auth_backends.OpenIdBackend', 'socialauth.auth_backends.TwitterBackend', 'socialauth.auth_backends.FacebookBackend', ) LOGIN_REDIRECT_URL = '/login/done/'
SITE_NAME = 'uswaretech.com'#This is used by socialauth.

  1. Add the following to your context processors.

"dinette.context_processors.get_announcement" "dinette.context_processors.get_site_config"

  1. If you are using django-pagination, this needs to be in the context processor as well.

"django.core.context_processors.request"

  1. Via admin add to SuperCategory and Category. Add moderators to Category who get some extra powers!

  2. ???

  3. Profit.

-----
File Attachment :
readme.txt   Download

2      

Re: How to installl and use Dinette

Also,

  1. Socialauth. (IT is possible to run it without socialauth, using say django registration, but I haven't tested it.)

  2. If you use search. Haystack. Enable normal haystack settings.

  3. A search backend of your choice. It has only been tested with Whoosh backend.

3      

Re: How to installl and use Dinette

I've downloaded dinette, unzipped the contents, and placed the 'dinette' folder in /usr/local/lib/python2.6/dist-packages/, but when I add it to my project's INSTALLED_APPS and syncdb, nothing happens.

Am I missing something obvious?

4      

Re: How to installl and use Dinette

Good app ... Thanks..I am learning a lot from the code :D