Cookbook/Support Center logins using vBulletin accounts

From Cerberus Helpdesk Wiki

Jump to: navigation, search
Cookbook Guides


Contents

Support Center logins using vBulletin accounts

In this Cookbook recipe we'll create a new extension to allow customers to log in to the Support Center using their vBulletin forum account. This is useful if you want to provide a single sign on (SSO) to your customers for the various resources you provide.

Create the plugin directory

First, we need to create a new plugin for our usermeet.login.authenticator extension. It's a good practice to have a single plugin for your company's extensions that implement custom business logic and workflow; but this example will create a new plugin for clarity. If you know what you're doing, feel free to add the required manifests and source code to an existing plugin instead.

Create the plugin manifest

plugin.xml:


Create the plugin implementation

plugin.php:

* Notes: You need to customize the mysql_connect() and mysql_select_db() calls inside authenticate() to use the appropriate database information for your vBulletin installation. If the vBulletin database is hosted on a different machine than your helpdesk then you may need to create a remote database user.

Create the login form template

templates/sc/vbulletin/login.tpl:


Activate the plugin

Configure your Support Center

Finishing up


Cookbook Guides
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox