=== modified file 'install.txt' --- install.txt 2012-07-23 16:21:45 +0000 +++ install.txt 2012-10-24 17:05:24 +0000 @@ -6,6 +6,7 @@ # # Copyright 2009 William Norris # Copyright 2009 Anthony Lenton +# Copyright 2012 Kyle Baker # Copyright 2012 Canonical # # This file is part of vbulletin-openid-integration. @@ -27,29 +28,95 @@ the internet, or at least to the domains that you plan on allowing as OpenID providers. -1) install the OpenID 2.x series libraries from openidenabled.com - - http://www.openidenabled.com/php-openid/ - -2) install product-openid.xml using the vBulletin Product Manager - -3) Add a new User Profile Field -- a single-lined textbox named "OpenID" - -4) Find the 'OpenID' settings group in the vBulletin Options and configure as +1) Install the OpenID 2.x series libraries for PHP 5: + - Download from http://www.openidenabled.com/php-openid/ + - Extract the archive and browse the contents. + - Find the directory labeled 'Auth' and copy it to the + base of your vBulletin 4.x installation. + (ex. http://example.com/vbulletin/Auth) + +2) Install product-openid.xml using the vBulletin Product Manager: + - Log in to the Admin Control Panel in vBulletin 4.x. + - In the left panel, find 'Plugins & Products' near the bottom + and click the arrow to expand. + - Once expanded, click 'Manage Products'. + - From this page, find '[Add/Import Product]' at the bottom of + the Installed Products section and click it. + - Under 'Import Product', select 'Choose File' and browse through + the vBulletin OpenID Integration installation files for + 'product-openid.xml' and open it. + - Click 'Import'. + +3) Upload vBulletin OpenID Integration files: + - From the installation vBulletin OpenID Integration files, find + the directory labeled 'upload'. + - Create a folder named 'vbopenid' in the root of your vBulletin + 4.x installation. (ex. http://example.com/vbulletin/vbopenid) + - Upload the contents of the 'upload' directory to your newly + created 'vbopenid' directory. + +4) Add a new User Profile Field -- a single-lined textbox named "OpenID" + - Log in to the Admin Control Panel in vBulletin 4.x. + - In the left panel, find 'User Profile Fields' mid-way down and + click the arrow to expand. + - Once expanded, click 'Add New User Profile Field'. + - From this page, the default Profile Field Type should be + 'Single-Line Text Box'. Click continue. + - User Profile Field Settings: + * Title: | "OpenID" + * Description: | + * Profile Field: | "Uncategorized" + * Default Value: | + * Max length of allowed user input: | Default is 100 + * Field Length: | Default is 25 + * Profile Field Type: | "Single-Line Text Box" + * Display Order: | + * Field Required: | + * Field Editable by User: | "No" + * Private Field: | "Yes" + * Field Searchable on Members List: | "No" + * Show on Members List: | "No" + * Regular Expression: | + | + * Which page displays this option?: | "Options: Other" + - Click 'Save'. + +5) Find the 'OpenID' settings group in the vBulletin Options and configure as appropriate. This is particularly important if you installed the libraries - in step 1 in a location that is not part of the standard php include_path + in step 1 in a location that is not part of the standard php include_path or + in a location that differs from step 1 instructions. + - Log in to the Admin Control Panel in vBulletin 4.x. + - In the left panel, find 'Settings' at the top and + click the arrow to expand. + - Once expanded, click 'Options'. + - From this page, scroll through the list until you find 'OpenID', + select it and click 'Edit Settings'. + - Adjust settings as needed. Ensure that the OpenID Profile Field matches + the title of the User Profile Field that you created in step 4. + - Click 'Save'. -5) Edit your templates to add "$openid_login_box" somewhere. I recommend adding - it to the 'navbar' template -- inside the existing login box, just before the +6) Edit your templates to add the OpenID log in form somewhere. I recommend adding + it to the 'header' template -- inside the existing login box area, just before the submit button, and wrap it in a div that floats right. So you'd end up with - -
- options['openid_secret'] = $secret;
-require_once('openid_store.php');
-_createDBTables($vbulletin);
-]]>
-
-
- $text_redirect
-