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 you 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.1.tar.gz (10.1 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.1-py2.py3-none-any.whl (18.3 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for pybbm-private-messages-0.1.tar.gz
Algorithm Hash digest
SHA256 4cbeda1677f970c61523fc37be4946286f6ef996451877f8460bb3e36cdfa533
MD5 8a5ecb8ffbb6423dfe5597cd30688bc0
BLAKE2b-256 d2ad6c86ca6c73d9ddaa28af09b3021e049da9d801b8c3b131a7fb1b240490df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pybbm_private_messages-0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c3c92bbad7af86fe20efd65e0a6cc5c3a18fb32d497ee1ddd1cef2ab4998a1f9
MD5 abf85c8bd97ca5ec319055ac36db9483
BLAKE2b-256 0218d9acdf16131da6f88d41bf8074a0fd1ad467ec2f93ffc3f54fb79e5087b4

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