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 %}`.
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
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
Close
Hashes for pybbm-private-messages-0.2.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ec9d3ebed8a0ec961536707fdd2d82a5a496bd84ef8a4f928ab4cb0342455fa |
|
MD5 | 300b21b90e597a5f69794b3a3d99b143 |
|
BLAKE2b-256 | 030d7c8bf16953479cb9b2613fb3a7068add00a92c94050756a566f004d1d5f9 |
Close
Hashes for pybbm_private_messages-0.2.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7eacccf1562bce23e306929c04db7b3a190962826fb6b35c016bfe9e2a39d0fd |
|
MD5 | 8d10d541ae0db8693aab1041f5fcdd81 |
|
BLAKE2b-256 | 73836878b20cceb6cdc138541dffa577ec3b3663a6601890c22b50be8cedb72f |