All Projects → vicalloy → Lbforum

vicalloy / Lbforum

Licence: other
LBForum is a forum engine written in Python using Django

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Lbforum

Djangobb
DjangoBB mirror. DjangoBB is a quick and simple forum which uses the Django Framework (written in Python language). Abbreviation DjangoBB stands for Django Bulletin Board. DjangoBB is distributed under the BSD license.
Stars: ✭ 232 (-60.94%)
Mutual labels:  forum, django
Spirit
Spirit is a modern Python based forum built on top of Django framework
Stars: ✭ 1,045 (+75.93%)
Mutual labels:  forum, django
Django Djeddit
Minimalistic Reddit clone developed as a Django reusable app
Stars: ✭ 32 (-94.61%)
Mutual labels:  forum, django
Musicrecommendersystem
Django-Based Music Recommendation
Stars: ✭ 165 (-72.22%)
Mutual labels:  forum, django
Misago
Misago is fully featured modern forum application that is fast, scalable and responsive.
Stars: ✭ 2,170 (+265.32%)
Mutual labels:  forum, django
Niji
A pluggable Django forum APP
Stars: ✭ 173 (-70.88%)
Mutual labels:  forum, django
Nsloger
A forum based on Django
Stars: ✭ 59 (-90.07%)
Mutual labels:  forum, django
Rengorum
🚀 Forum app built in React, Redux & Django
Stars: ✭ 194 (-67.34%)
Mutual labels:  forum, django
Forum
Django forum clone from F2E.im support SAE
Stars: ✭ 252 (-57.58%)
Mutual labels:  forum, django
Django Lfs
An online-shop based on Django
Stars: ✭ 536 (-9.76%)
Mutual labels:  django
Django Friendship
Django app to manage following and bi-directional friendships
Stars: ✭ 569 (-4.21%)
Mutual labels:  django
Django Sesame
"Magic Links" - URLs with authentication tokens for one-click login
Stars: ✭ 533 (-10.27%)
Mutual labels:  django
Opman Django
💯✅自动化运维平台:CMDB、CI/CD、DevOps、资产管理、任务编排、持续交付、系统监控、运维管理、配置管理
Stars: ✭ 539 (-9.26%)
Mutual labels:  django
Cabot
Self-hosted, easily-deployable monitoring and alerts service - like a lightweight PagerDuty
Stars: ✭ 5,209 (+776.94%)
Mutual labels:  django
Django Oscar
Domain-driven e-commerce for Django
Stars: ✭ 5,152 (+767.34%)
Mutual labels:  django
Django Payments
Universal payment handling for Django.
Stars: ✭ 575 (-3.2%)
Mutual labels:  django
Django Project Template
Project template layout for Django 3.0+
Stars: ✭ 530 (-10.77%)
Mutual labels:  django
Polemarch
Simple WEB gui for infrastructure management by ansible playbooks or modules. This is only mirror with bins in releases.
Stars: ✭ 530 (-10.77%)
Mutual labels:  django
Onlinemooc
Vue前台 + Django3.1 + DjangoRestful Framework + Ant Design Pro V4后台 开发的在线教育网站及后台管理
Stars: ✭ 587 (-1.18%)
Mutual labels:  django
Djangae
The best way to run Django on Google Cloud. This project is now on GitLab: https://gitlab.com/potato-oss/djangae/djangae
Stars: ✭ 576 (-3.03%)
Mutual labels:  django

======= LBForum

.. contents::

.. |rst| replace:: :emphasis:re\ :strong:Structured\ :sup:Text

LBForum is a quick and simple forum which uses the Django Framework (written in Python language). LBForum is a reusable Django application, can be added to any existing django project. LBForum is distributed under the BSD.

Demo site: http://lbf.haoluobo.com/

Demo site's source: https://github.com/vicalloy/lbforum-site

Features

  • user-friendly installation process
  • the ease of integration into any Django project and the ease of installation
  • classic view of the forum like FluxBB
  • Allow users to upload attachments to their posts(by AJAX).
  • avatar support
  • BBCode support
  • friendly edtor(by markItUp!).
  • Sticky threads (These threads are always sorted first in the list of threads)

Requirements

  • Python 2.7 or 3.4+_
  • Django 1.10_

.. _Python 2.7 or 3.4+: http://python.org/ .. _Django 1.10: http://www.djangoproject.com/

Installation

Installation

#. Install LBForum by easy_install or pip.

easy_install::

$ easy_install lbforum

pip::

$ pip install lbforum

Configuration

Config urls.py::

url(r'^', include('lbforum.urls')),
url(r'^attachments/', include('lbattachment.urls')),

The LBForum has some settings should be set in settings.py:

#. Add the following app to INSTALLED_APPS::

'el_pagination',
'easy_thumbnails',
'constance',
'constance.backends.database',
'djangobower',

'lbforum',
'lbattachment',
'lbutils',

#. Add the following middleware to TEMPLATES['OPTIONS']['context_processors']::

'django.contrib.messages.context_processors.messages',

#. setting urls for lbforum::

STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(PRJ_ROOT, 'collectedstatic')

HOST_URL = ''
MEDIA_URL_ = '/media/'
MEDIA_URL = HOST_URL + MEDIA_URL_
MEDIA_ROOT = os.path.join(PRJ_ROOT, 'media')

SIGNUP_URL = '/accounts/signup/'
LOGIN_URL = '/accounts/login/'
LOGOUT_URL = '/accounts/logout/'
LOGIN_REDIRECT_URL = '/'
CHANGE_PASSWORD_URL = '/accounts/password/change/'

#. settings for constance::

CONSTANCE_BACKEND = 'constance.backends.database.DatabaseBackend'

CONSTANCE_CONFIG = {
    'forbidden_words': ('', 'Forbidden words', str),
}

#. settings for bower::

from django.conf.global_settings import STATICFILES_FINDERS
STATICFILES_FINDERS += (('djangobower.finders.BowerFinder'),)

BOWER_COMPONENTS_ROOT = PRJ_ROOT

BOWER_INSTALLED_APPS = (
    'jquery#1.12',
    'markitup#1.1.14',
    'mediaelement#2.22.0',
    'blueimp-file-upload#9.12.5',
)

#. settings for BBCODE::

BBCODE_AUTO_URLS = True
#add allow tags
HTML_SAFE_TAGS = ['embed']
HTML_SAFE_ATTRS = ['allowscriptaccess', 'allowfullscreen', 'wmode']
#add forbid tags
HTML_UNSAFE_TAGS = []
HTML_UNSAFE_ATTRS = []

"""
#default html safe settings 
acceptable_elements = ['a', 'abbr', 'acronym', 'address', 'area', 'b', 'big',
    'blockquote', 'br', 'button', 'caption', 'center', 'cite', 'code', 'col',
    'colgroup', 'dd', 'del', 'dfn', 'dir', 'div', 'dl', 'dt', 'em',
    'font', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 
    'ins', 'kbd', 'label', 'legend', 'li', 'map', 'menu', 'ol', 
    'p', 'pre', 'q', 's', 'samp', 'small', 'span', 'strike',
    'strong', 'sub', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th',
    'thead', 'tr', 'tt', 'u', 'ul', 'var']
acceptable_attributes = ['abbr', 'accept', 'accept-charset', 'accesskey',
    'action', 'align', 'alt', 'axis', 'border', 'cellpadding', 'cellspacing',
    'char', 'charoff', 'charset', 'checked', 'cite', 'clear', 'cols',
    'colspan', 'color', 'compact', 'coords', 'datetime', 'dir', 
    'enctype', 'for', 'headers', 'height', 'href', 'hreflang', 'hspace',
    'id', 'ismap', 'label', 'lang', 'longdesc', 'maxlength', 'method',
    'multiple', 'name', 'nohref', 'noshade', 'nowrap', 'prompt', 
    'rel', 'rev', 'rows', 'rowspan', 'rules', 'scope', 'shape', 'size',
    'span', 'src', 'start', 'summary', 'tabindex', 'target', 'title', 'type',
    'usemap', 'valign', 'value', 'vspace', 'width', 'style']
"""

Initialize The Database & Static Files

#. Run command manage.py bower install

#. Run command manage.py migrate

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].