Skip to main content

A private messaging plugin for the pybbm forum.

Project description

PYBBM Private Messages

This is a plugin to add private messaging to the django forum solution `pybb`


1. `Django>=1.8`
2. `pybbm>=0.17`

Quick Start

1. `pip install pybbm-private-messages`
2. Add `private_messages` to your `INSTALLED_APPS` in `` BEFORE `pybb` (it overrides some templates)
3. Run ` migrate private_messages`
4. Add the urls to your project `` file, e.g.:
urlpatterns = [
url(r'^forum/', include('pybb.urls', namespace='pybb')),
url(r'^forum/', include('private_messages.urls', namespace='private_messages')),
4. Add `'private_messages.context_processors.unread_messages'` to your template context processors in settings.
5. Adding a `{% block private_messages %}{% endblock %}` to your `PYBB_TEMPLATE` will place a link to the inbox with the text: "Inbox" and a bootstrap badge adjacent to it with the number of unread messages, if there are any. For just the number of unread messages, use `{% block unread_msgs %}{% endblock %}`.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pybbm-private-messages, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size pybbm_private_messages-0.2.2-py2.py3-none-any.whl (18.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pybbm-private-messages-0.2.2.tar.gz (10.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page