aureka/vb-bundle

Integrates vBulletin with Symfony applications

Installs: 76

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 6

Forks: 0

Open Issues: 1

Type:symfony-bundle

0.0.2 2014-04-29 08:45 UTC

This package is not auto-updated.

Last update: 2024-12-21 16:51:39 UTC


README

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]