Integrates vbulletin with a Symfony application, providing a Single Sign In. Any user logging into a Symfony application will automatically log into vBulletin.
Add the following line to your composer.json:
{
"require": {
"aureka/vb-bundle" : "dev-master"
}
}
Execute composer update.
Add the following line to your AppKernel.php.
public function registerBundles()
{
$bundles = array(
// your other bundles
new Aureka\VBBundle\AurekaVBBundle(),
);
}
You must add some vBulletin settings in your config.yml.
aureka_vb:
enabled: true #optional, enabled by default
license: 'YOURLICENSEGOESHERE' # can be found in functions.php
default_user_group: 2 #optional
ip_check: 1 #optional
cookie_prefix: 'bb_' #optional
database:
driver: 'pdo_mysql'
host: 'localhost'
name: 'vb_database_name'
port: null
user: 'vb_database_user'
password: 'vb_database_password'
table_prefix: 'vb3_' #optional
In order to logout users from vbulletin, add the following lines to your security.yml:
security:
# ...
firewalls:
main:
# ...
logout:
handlers: [aureka_vb.logout_handler]
How can I help you explore Laravel packages today?