Package Data | |
---|---|
Maintainer Username: | AdrianSkierniewski |
Maintainer Contact: | adrian.skierniewski@gmail.com (Adrian Skierniewski) |
Package Create Date: | 2015-05-16 |
Package Last Update: | 2017-05-01 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-26 15:02:38 |
Package Statistics | |
---|---|
Total Downloads: | 851 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 3 |
Total Forks: | 1 |
Total Open Issues: | 0 |
Vanilla forum integration package for GZERO CMS
Begin by installing this package through Composer. Edit your project's composer.json file to require gzero/vanilla-integration.
"require": {
"gzero/vanilla-integration": "^2.0",
}
Next, update Composer from the Terminal:
composer update
Add the service provider to platform configuration in app/config/app.php
'Gzero\Vanilla\ServiceProvider'
In order to override some of the configuration options publish configuration file:
php artisan config:publish gzero/vanilla-integration
Set required credentials for given service in published package config file
return [
'forum_domain' => 'vanilla.dev',
'sso' => 'http://vanilla.dev/sso',
'client_id' => 'your_vanilla_client_id',
'secret' => 'your_vanilla_secret',
];
Set sso url in Vanilla Forum jsConnect settings
http://dev.gzero.pl/_hidden/vanilla-sso
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.
URL::to(forum_url());
return Redirect::to(forum_url());
return Redirect::to(forum_url('categories'));
To get very tight SSO integration with Vanilla forum, you will also want to follow these steps.
####In Vanilla:
####In GZERO CMS:
forum_url
helper