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 %}`.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pybbm-private-messages-0.1.tar.gz.
File metadata
- Download URL: pybbm-private-messages-0.1.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cbeda1677f970c61523fc37be4946286f6ef996451877f8460bb3e36cdfa533
|
|
| MD5 |
8a5ecb8ffbb6423dfe5597cd30688bc0
|
|
| BLAKE2b-256 |
d2ad6c86ca6c73d9ddaa28af09b3021e049da9d801b8c3b131a7fb1b240490df
|
File details
Details for the file pybbm_private_messages-0.1-py2.py3-none-any.whl.
File metadata
- Download URL: pybbm_private_messages-0.1-py2.py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3c92bbad7af86fe20efd65e0a6cc5c3a18fb32d497ee1ddd1cef2ab4998a1f9
|
|
| MD5 |
abf85c8bd97ca5ec319055ac36db9483
|
|
| BLAKE2b-256 |
0218d9acdf16131da6f88d41bf8074a0fd1ad467ec2f93ffc3f54fb79e5087b4
|