Status and Caveats
This plugin is currently in Beta. It assigns Cred scores that are reasonable and robust for a trust level 3 community.
Currently there are two general approaches to minting Cred you can take with the Discourse plugin. Activity-minted and like-minted Cred (or a hybrid of the two). Activity-minted Cred means Cred would be minted for each new topic or post created. While like-minted Cred mints new Cred for each like given.
The plugin defaults to using like-minted Cred and for most communities this will be the better approach. Unlike activity-minted Cred this allows people to validate contributions. People soon learn their likes work as "this is valuable and I'd like to see more of this" signals, which incentivizes creating high-quality posts.
The caveat is that it creates some "popularity contest" dynamics. Where memes and/or heavily promoted posts might receive more likes than makes sense for the relative value they've added. Something which would be easy to game, making it less suitable for lower trust levels for the time being.
Another thing to keep in mind, is that only public posts are included for Cred calculation. Private categories and private messages for example receive no Cred. This both creates an incentive to have discussions in public as much as possible and is necessary for security as private data could otherwise leak.
All plugins are currently bundled with SourceCred and don't need additional installation. The Discourse plugin is included as of version 0.5.0 of SourceCred.
The Discourse plugin does not require any credentials as it uses the API in anonymous mode. We can start loading data right away.
With the discourse command
discourse CLI command available for convenience that loads a forum
More details can be found with:
This approach is convenient if you're just interested in analyzing a forum. But to use Discourse in combination with other plugins we need the next approach.
Loading from a
Unlike the CLI command, this approach allows combining a Discourse forum with
other plugins. Either create one or upgrade from a previous
version to make sure it's at version
0.3.1 or greater at the top of the file.
In our example we'll be using the latest version
Next, we specify we want to use Discourse, by adding an
There's one argument here:
discourseServer.serverUrl: The URL to the Discourse server in question.
From there we can call load with the updated
If all goes well, you should see Discourse mentioned in the progress output.
Note: depending on the size of the forum and how much data is already cached this may take several minutes.