Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jedie/pylucid-djangobb-plugin

PyLucid glue plugin to include DjangoBB forum in PyLucid CMS
https://github.com/jedie/pylucid-djangobb-plugin

Last synced: 20 days ago
JSON representation

PyLucid glue plugin to include DjangoBB forum in PyLucid CMS

Awesome Lists containing this project

README

        

== PyLucid 'DjangoBB forum' glue Plugin ==

PyLucid glue plugin to include DjangoBB forum into PyLucid CMS.

We add some templates for DjangoBB to:
* Use the [[/permalink/320/the-auth-plugin-js-sha1-login|PyLucid Ajax-JS-SHA1-Login view]]
* Use some information from [[http://www.pylucid.org/permalink/73/pylucid-related-terms-and-definitions/detail/PageMeta/|PageMeta]]:
** 'name', 'title' for the Header
** 'description', 'keywords' for the html meta lines

== install instuctions ==

=== install DjangoBB forum ===

{{{
~$ mkdir pylucid_plugins
~$ cd pylucid_plugins
~/pylucid_plugins$ git clone git://github.com/jedie/DjangoBB.git
~/pylucid_plugins$ ln -s ~/pylucid_plugins/DjangoBB/djangobb_forum ~/PyLucid_env/src/pylucid/pylucid_project/external_plugins/
}}}

Instead of use the inofficial mirror of DjangoBB you can use:
* the official git mirror: git://github.com/slav0nic/DjangoBB.git
* the origin hg sources at https://bitbucket.org/slav0nic/djangobb

=== install glue plugin ===

{{{
~/pylucid_plugins$ git clone git://github.com/jedie/PyLucid-djangobb-plugin.git
~/pylucid_plugins$ ln -s ~/pylucid_plugins/PyLucid-djangobb-plugin/djangobb_plugin ~/PyLucid_env/src/pylucid/pylucid_project/external_plugins/
}}}

=== install DjangoBB dependencies ===

{{{
~$ cd PyLucid_env
~/PyLucid_env$ source bin/activate
(PyLucid_env)~/PyLucid_env$ pip install -r ~/pylucid_plugins/PyLucid-djangobb-plugin/requirements.txt
}}}

== setup ==

=== prepare database ===

{{{
# create new database tables:
/var/www/YourSite$ ./manage.py syncdb --all

# Do faked south migrations:
/var/www/YourSite$ ./manage.py migrate --fake

# collect all static files as links
/var/www/YourSite$ ./manage.py collectstatic
}}}

**Important:** restart your pylucid instance!

=== create PluginPage ===

To create a PluginPage use this:

* //PyLucid admin menu -> create content// -> **new plugin page**

As the **app** select **external_plugins.djangobb_plugin** (**Not** the app ends with **..._forum**!)

=== create forum ===

You have to go into django admin and create a category and a forum under:
* //Django admin site / Djangobb_Forum /// **Categories**
* //Django admin site / Djangobb_Forum /// **Forums**

Otherwise you will see a //'empty'// DjangoBB ;)

== Links ==

| PyLucid glue plugin homepage | http://www.pylucid.org/permalink/420/how-to-install-the-djangobb-forum-as-a-plugin
| PyLucid glue plugin sourcecode | https://github.com/jedie/PyLucid-djangobb-plugin
| DjangoBB homepage | http://djangobb.org/
| DjangoBB support Forum | http://support.djangobb.org/
| DjangoBB sourcecode | https://bitbucket.org/slav0nic/djangobb/
| DjangoBB github mirror | https://github.com/jedie/DjangoBB/