Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pybbm-private-messages

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pybbm-private-messages

A private messaging plugin for the pybbm forum.

  • 0.3.1
  • PyPI
  • Socket score

Maintainers
1

===== 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. Add django_select2 to your INSTALLED_APPS
  4. Run manage.py migrate private_messages
  5. 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')),
    ]
  1. Add 'private_messages.context_processors.unread_messages' to your template context processors in settings.
  2. 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 %}.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc