Skip to content
Enable syncronization between Discourse Groups and Patreon rewards
Ruby JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.tx
app Add frozen string literal comment to files. May 13, 2019
assets Update deprecated icon Jul 16, 2019
bin Add frozen string literal comment to files. May 13, 2019
config Update translations Jul 15, 2019
lib FIX: Don't error when patrons group or badge already exists. Aug 15, 2019
public/images UI: Updated to latest Patreon brand image assets Nov 13, 2017
spec lint file Aug 15, 2019
.eslintrc
.gitignore
.rubocop.yml Inherit rubocop config from discourse repo Dec 2, 2018
Gemfile Add frozen string literal comment to files. May 13, 2019
Gemfile.lock Update translations Jul 15, 2019
LICENSE Readme and License May 17, 2016
README.md
package.json
plugin.rb
yarn.lock DEV: prettier/eslint Jan 11, 2019

README.md

Discourse Patreon

Enable syncronization between Discourse Groups and Patreon rewards, and enable Patreon Social Login,

Installation

Proceed with a normal installation of a plugin.

After Installation

You need to fill the following fields on Settings -> Plugins:

  • Client ID
  • Client Secret
  • Creator's Access Token
  • Creator's Refesh Token

To get those values you must have a Creator account first.

Then go to Clients & API Keys and fill the necessary info.

The Redirect URIs must be http://<DISCOURSE BASE URL>/auth/patreon/callback, like https://meta.discourse.org/auth/patreon/callback for example.

Then you use the generated tokens to configure the plugin.

Webhooks

You should create Patreon Webhooks so every new pledge get's synced to Discourse ASAP.

To get it working, create a new Webhook for each trigger type and point then to https://<DISCOURSE BASE URL>/patreon/webhook, like https://meta.discourse.org/patreon/webhook for example.

Group Sync

If you want to give your patrons a special treatment on your board, you can create rules between Discourse Groups and Patreon reward tiers:

This can pave the way to grant category access, titles and custom css to please your patrons!

Social Login

This plugin will also enable a Social Login with Patreon, making it easier for your patron to sign up on Discourse.

About

This is a work in progress! Feel free to use and ask questions here, or on Meta.

TODO

  • Button to invite patrons who aren't on Discourse yet.
You can’t perform that action at this time.