Integrates vBulletin with a Symfony application
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/Aureka/VBBundle
.gitignore
.travis.yml
LICENSE
README.md
composer.json
phpunit.xml.dist

README.md

AurekaVBulletinBundle

Build Status

Integrates vbulletin with a Symfony application, providing a Single Sign In. Any user logging into a Symfony application will automatically log into vBulletin.

Installation

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(),
    );
}

Configuration

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

Automatic logout

In order to logout users from vbulletin, add the following lines to your security.yml:

security:
    # ...
    firewalls:
        main:
            # ...
            logout:
                handlers: [aureka_vb.logout_handler]