Download the PHP package gzero/vanilla-integration without Composer
On this page you can find all versions of the php package gzero/vanilla-integration. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gzero/vanilla-integration
More information about gzero/vanilla-integration
Files in gzero/vanilla-integration
Informations about the package vanilla-integration
GZERO vanilla-integration
Vanilla forum integration package for GZERO CMS
Table of contents
- Installation
- Configuration
- Overriding configuration
- How to use this integration
Installation
Begin by installing this package through Composer. Edit your project's composer.json file to require gzero/vanilla-integration.
Next, update Composer from the Terminal:
Configuration
Add the service provider to platform configuration in app/config/app.php
Overriding configuration
In order to override some of the configuration options publish configuration file:
Set required credentials for given service in published package config file
Set sso url in Vanilla Forum jsConnect settings
How to use this integration
To make sure that user is synchronized with your GZERO CMS site, you should always use forum_url()
helper to build url to all
forum pages.
To get very tight SSO integration with Vanilla forum, you will also want to follow these steps.
In Vanilla:
- Change your registration method to 'Connect' to block non-SSO users from registering.
- Set your sign-in, sign-out, and registration URLs under jsConnect's settings in your Dashboard.
- Check "Make this connection your default signin method."
- Set up "Sign In Url", "Register Url" and "Sign Out Url" in jsConnect integration page
In GZERO CMS:
- Always use
forum_url
helper
All versions of vanilla-integration with dependencies
gzero/core Version ^2.0
illuminate/auth Version 5.4.*
illuminate/config Version 5.4.*
illuminate/routing Version 5.4.*