Skip to content

DivineDominion/vanilla-comments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vanilla Comments plugin

Bludit Vanilla Forums Version License

Use your existing Vanilla Forum to embed comments on pages in your Bludit flat-file CMS.

Features

  • Configure the position where the Vanilla comment embed code is displayed.
  • Conditionally allow/disallow comments for individual pages. The Bludit system default is "allow".

Requirements

Installation

  • Download the the current master as a zip
  • Unzip the package
  • Upload the resulting vanilla-comments folder to your bl-plugins/ folder
  • Visit the Bludit admin page and enable the "Vanilla Comments" plugin through "Settings" > "Plugins"
  • Configure the forum settings from the plugins page

Manual Discussion ID

Discussions are auto-generated by default.

To manually set the vanillaDiscussionId field in the comments section, add custom fields to Bludit:

  • customDiscussionID: that holds the discussion ID (number), which suffices to attach a new post to an existing discussion;
  • customVanillaIdentifier: that holds the slug of another post to steal discussions from.
"customDiscussionID": {
  "type": "string",
  "label": "Forum Discussion ID Override",
  "placeholder": "(Optional: Existing forum discussion ID)",
  "tip": "<b>Leave empty to auto-generate discussions!</b> Attach to a pre-existing discussion. Copy the number in the URL of an existing discussion like <code>123</code> in <code>forum.example.com/discussion/123/...</code>."
},
"customVanillaIdentifier": {
  "type": "string",
  "label": "Forum Identifier Override",
  "placeholder": "(Optional: URL of other post)"
}

See the docs: https://docs.bludit.com/en/content/custom-fields

License

Copyright © 2019 Christian Tietze. Published under the MIT-License. See the LICENSE file.

About

Vanilla Forum comments for Bludit pages

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages