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`

Prerequisites:

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 `settings.py` BEFORE `pybb` (it overrides some templates)
3. Run `manage.py migrate private_messages`
4. Add the urls to your project `urls.py` 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.

Source Distribution

pybbm-private-messages-0.3.0.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pybbm_private_messages-0.3.0-py2.py3-none-any.whl (19.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pybbm-private-messages-0.3.0.tar.gz.

File metadata

File hashes

Hashes for pybbm-private-messages-0.3.0.tar.gz
Algorithm Hash digest
SHA256 63d1d468c1ac10f895726137778e5c8255c7b463caaf6b6917010e533e146a96
MD5 3232320bb20fdf7253d2d7ffdc875f2d
BLAKE2b-256 6c6aa40dbc1bd2083400c21727e351b31aed6285d86e527acf317589e2d2902b

See more details on using hashes here.

File details

Details for the file pybbm_private_messages-0.3.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pybbm_private_messages-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0f50c2aebc8415dafebfb0bfbb386ec4bb1483b230329215fd0f266c52c5b490
MD5 bf60a9ae31992689b8da1609afbfeef8
BLAKE2b-256 f50b6f6252eaa84a4454ddf665143c7aa98f8e2065a790e1b23e95d9af97bd9e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page