Extension BC Gov Disqus


Extension Basics

Title
BC Gov Disqus
Name
ckanext-bcgov-disqus
Type
Public extension
Description
Provides Disqus commenting features for the BC Data Catalogue. ARCHIVED.
CKAN versions
Download-Url (zip)
Last commit
7 years ago (2018-12-13 17:45:52)
Url to repo
Category
Content Management


Background Infos

Description (long)
Show details

ckanext-bcgov-disqus

ARCHIVED - This repository was archived by the owner on Apr 20, 2020. It is now read-only.

This extension provides disqus features on the BC Data Catalogue.

Installation

  1. Activate virtual environment:

    $ . /usr/lib/ckan/default/bin/activate
    
  2. Install the extension. Switch to ckanext-bcgov-disqus extension directory and run:

    python setup.py develop
    
  3. Update config file and add the following plugins to ckan.plugins list: edc_disqus.

  4. Add the following to the ckan.ini file using the values you get from disqus:

    • edcdisqus.api_key
    • edcdisqus.forum_name
    • edcdisqus.access_token
    • edcdisqus.api_secret
    • edcdisqus.widget_api_key

Usage

This follows the same scheme as other CKAN plugins and requires you to add it to pages using:

h.comments_block()

Additionally you can (and should) override the disclaimer by extending templates/package/comments_block.html

Original Repo Copyright 2018, Province of British Columbia.

Version
1.0.0
Version release date
2018-12-13
Contact name
Brandon Sharratt
Contakt email
Contact Url


Installation Guide

Configuration hints

ARCHIVED - Requires Disqus API credentials. Configure api_key, forum_name, access_token, api_secret, and widget_api_key.

Plugins to configure (ckan.ini)
edc_disqus
CKAN Settings (ckan.ini)
# edcdisqus.api_key = your_disqus_api_key
# edcdisqus.forum_name = your_forum_name
# edcdisqus.access_token = your_access_token
# edcdisqus.api_secret = your_api_secret
# edcdisqus.widget_api_key = your_widget_api_key
DB migration to be executed
(not set)
<< back to Extensions