All Projects → nystudio107 → Vanillaforums

nystudio107 / Vanillaforums

Licence: mit
DEPRECATED Single Sign On plugin for VanillaForums/jsConnect and CraftCMS

Projects that are alternatives of or similar to Vanillaforums

Contact Form
Add a simple contact form to your Craft CMS site.
Stars: ✭ 294 (+2000%)
Mutual labels:  craftcms, craft-plugin
Craft Emptycoalesce
Empty Coalesce adds the ??? operator to Twig that will return the first thing that is defined, not null, and not empty
Stars: ✭ 24 (+71.43%)
Mutual labels:  craftcms, craft-plugin
craft-retour
Retour allows you to intelligently redirect legacy URLs, so that you don't lose SEO value when rebuilding & restructuring a website
Stars: ✭ 32 (+128.57%)
Mutual labels:  craftcms, craft-plugin
Geomate
GeoMate is a friend in need for all things geolocation. IP to geo lookup, automatic redirects (based on country, continent, language, etc), site switcher... You name it.
Stars: ✭ 19 (+35.71%)
Mutual labels:  craftcms, craft-plugin
Awesome
A collection of awesome Craft CMS plugins, articles, resources and shiny things.
Stars: ✭ 449 (+3107.14%)
Mutual labels:  craftcms, craft-plugin
routemap
DEPRECATED Returns a list of Craft/Vue/React route rules and entry & asset URLs for ServiceWorkers from Craft entries
Stars: ✭ 27 (+92.86%)
Mutual labels:  craftcms, craft-plugin
craft-recipe
A comprehensive recipe FieldType for Craft CMS that includes metric/imperial conversion, portion calculation, and JSON-LD microdata support
Stars: ✭ 23 (+64.29%)
Mutual labels:  craftcms, craft-plugin
dospaces
DigitalOcean Spaces integration for Craft CMS
Stars: ✭ 31 (+121.43%)
Mutual labels:  craftcms, craft-plugin
Element Api
Create a JSON API/Feed for your elements in Craft.
Stars: ✭ 493 (+3421.43%)
Mutual labels:  craftcms, craft-plugin
Plugin Installer
Composer installer for Craft CMS plugins
Stars: ✭ 22 (+57.14%)
Mutual labels:  craftcms, craft-plugin
Imager Craft
This plugin has been DEPRECATED. Check out Imager X instead.
Stars: ✭ 351 (+2407.14%)
Mutual labels:  craftcms, craft-plugin
Craft Neo
A Matrix-like field type for Craft CMS that uses existing fields
Stars: ✭ 387 (+2664.29%)
Mutual labels:  craftcms, craft-plugin
transcoder
DEPRECATED Transcode videos to various formats, and provide thumbnails of the video
Stars: ✭ 24 (+71.43%)
Mutual labels:  craftcms, craft-plugin
Craft3 Templateselect
A fieldtype that allows you to select a template from the site templates folder.
Stars: ✭ 18 (+28.57%)
Mutual labels:  craftcms, craft-plugin
craft.doxter
Markdown editor and parser for Craft CMS
Stars: ✭ 80 (+471.43%)
Mutual labels:  craftcms, craft-plugin
craft-entriessubset
Craft field type plugin that extends the core Entries field type to give extra settings
Stars: ✭ 27 (+92.86%)
Mutual labels:  craftcms, craft-plugin
craft3-codemirror
Add the awesome in-browser code editor CodeMirror as a field type.
Stars: ✭ 17 (+21.43%)
Mutual labels:  craftcms, craft-plugin
craft-plugin-mix
Helper plugin for Laravel Mix in Craft CMS templates
Stars: ✭ 50 (+257.14%)
Mutual labels:  craftcms, craft-plugin
Falcon
Enables Xkey / Hash-Two / Surrogate Key caching with Craft 2.x. Very experimental.
Stars: ✭ 14 (+0%)
Mutual labels:  craftcms, craft-plugin
Commercemailer
ARCHIVED: For Craft Commerce. Makes it easy to create forms for sending carts, products and orders by email.
Stars: ✭ 8 (-42.86%)
Mutual labels:  craftcms, craft-plugin

No Maintenance Intended

DEPRECATED

This Craft 2.x plugin is no longer supported, but it is fully functional, and you may continue to use it as you see fit. The license also allows you to fork it and make changes as needed for legacy support reasons.

Vanillaforums plugin for Craft CMS

A simple plugin for integrating VanillaForums into Craft CMS websites, including Single Sign On (SSO) for site-wide SSO, as well as embedded SSO.

Installation

  1. Download & unzip the file and place the vanillaforums directory into your craft/plugins directory
  2. -OR- do a git clone https://github.com/khalwat/vanillaforums.git directly into your craft/plugins folder. You can then update it with git pull
  3. Install plugin in the Craft Control Panel under Settings > Plugins
  4. The plugin folder should be named vanillaforums for Craft to see it. GitHub recently started appending -master (the branch name) to the name of the folder for zip file downloads.

Configuring Vanillaforums

  1. Install jsConnect. Make sure you have installed the jsConnect plugin, and follow the documentation for Vanilla SSO setup.

  2. jsConnect Auto SignIn. You might also consider installing and using the Vanilla jsConnect Auto SignIn plugin to make the SSO process smoother for the end user.

  3. Go to your Vanillaforums AdminCP, under Users click on jsConnect, then click on Add Connection. Click on Generate Client ID and Secret to generate random Client ID and Secret fields, and then fill in the rest of the fields as appropriate

  4. Next in the Craft Admin CP, go to Settings->Plugins->Vanillaforums and enter the same Client ID and Secret from step 3

Site-Wide Single Sign On (SSO)

Assuming you've set up everything properly, all you have to do for Site-Wide SSO is create a template in your CraftCMS that has only the following in it:

{{ vanillaforumsSSO() }}

This will generate a properly configured jsonp response for the jsConnect SSO.

Then fill in the Authenticate Url field in your jsConnect connection with the URL to this template. You can test that it's working by clicking on the Test URL link under Users->jsConnect, it should look something like this:

test({"uniqueid":"1","name":"Admin","email":"[email protected]","photourl":"http:\/\/testsite.com\/cpresources\/userphotos\/admin\/100\/profilepic.jpg?x=abF7BLdua","client_id":"12345678","signature":"b1670c794d13a5214b3d0ddd3d9a2293"})

Embedded Single Sign On (SSO)

Assuming you've set up everything properly, all you have to do for Embedded SSO (for things like blog comments, etc.) is to go to your VanillaForums AdminCP, click on Forum->Blog Comments->Universial Code and follow the instructions there.

You'll need to add a line after the var vanilla_identifier that looks like this to enable SSO for embedded comments:

var vanilla_sso = '{{ vanillaforumsSSOEmbed() }}'; // Your SSO string.

That will output an encoded string of characters that should look something like this:

eyJ1bmlxdWVpZCI6IjEiLCJuYW1lIjoiQWRtaW4iLCJlbWFpbCI6ImFuZHJld0BtZWdhbG9tYW5pYWMuY29tIiwicGhvdG91cmwiOiJodHRwOlwvXC9UYXN0eVN0YWtlcy5jb21cL2NwcmVzb3VyY2VzXC91c2VycGhvdG9zXC9hbmRyZXdAbWVnYWxvbWFuaWFjLmNvbVwvMTAwXC9mcmFua19sZy5qcGc/eD1LTVFrMWl0aDciLCJjbGllbnRfaWQiOiIxODY0MjUyMjMwIn0= da4d6c328a730a9c7096bdbd53d2a408f5a5958c 1438711686 hmacsha1

Changelog

1.0.1 -- 2015.11.23

  • Added support for Craft 2.5 new plugin features

1.0.0 -- 2015.08.04

  • Initial release
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].