Installing vbDrupal 4.6

Installation:

1.  Download the latest version of vbDrupal.

2. Edit the file forum/drupal/sites/default/config.php_new and enter your drupal and forum directory path. Save as config.php, then upload the full drupal directory as is (in full) to a directory of your choosing on your server. You may rename the drupal directory to something else if you want.

3. Import the product-drupal.xml file through your product/plugin menu. The steps, in case you have not used the product manager before, are: go to your AdmincCp -> Plugin Systems -> Product Manager -> Manage Products. Clcik on Add/Import Products links, click the "Browse" button, locate the product-drupal.xml file on your local PC drive, select it, and click "yes" to the "Allow Overwrite" option, and click "Import".

4. Go to your AdminCP vBulletin Options -> vB Drupal and setup the Drupal URL and site name and the comment options.

5. Browser to your new Drupal URL (you need to be logged in to vBulletin as admin, and click "adminsiter". Set up your site.

6. If you have a customized style, go to the template manager, and edit drupal_header template. Note that this template also contains the navbar/menu code. You simply apply any CSS/HTML changes you used to customize your style to the drupal_header template. Say you have a background image to your header, or page, apply that to the drupal_header as well, additional nav bar items, etc.

Drupal Admin CP:
First thing is setup your user "roles". These act like vB usergroups. You can assign multiple vB groups to a single Drupal role, or the other way around, or both. You can do that for primary or secondary group id's.

Mapping vB usergroups to Drupal Roles:
Go to administer -> access control -> Roles. Create a new role, then click edit, and enter the vB usergroup ids you want to have that role, separated by commas. Each time you create a new role, update Access Control -< Permissions to refine the new role's permissions.

Module, Blocks, Menus and Settings:
Next is activating the modules you want. Here's how the usual module setup works. Clcik "modules" to activate or diactivate a module. Then click "access control" to set who can use that module. Then click "blocks", to set where you want the block (if it has one) should be placed. Then click "menus" to enable any new menu items. Then click "settings", to see if this module has any additional settings. Some module will add one admin menu, some will add another one under settings.

Documentation: Drupal has an extensive online manual, and many hands on examples. Please visit their online handbooks to learn more about Drupal: http://drupal.org/handbooks

In my own case with a recent reinstall of vBDrupal (keeping existing vB), I ran into a problem. Here were my steps:

Reinstalling vBDrupal 4.6.8.1 with vB 3.5.3

1. Uninstalled the product from vBulletin.
2. Dropped the drupal_ tables manually
3. Downloaded a new copy of vBDrupal
4. Edited vBDrupal's config.php to point to my site and to my forum paths
5. Uploaded everything to my site.
6. Activated the vBDrupal product under vBulletin
7. In vB admincp->vBDrupal options, inputted the site-related values.
8. Navigated to my vBDrupal URL and got error:
Code:
Warning: mysql_connect(): Access denied for user 'MYDBUSER'@'MYSITEHOSTNAME (which is actually incorrect)' (using password: YES) in /home/...path.../MYSITEUSER/MYSITE.COM/...path.../includes/database.mysql.inc on line 31
For some reason, this was pointing to my site's server name, not to my database. But the site server name was not inputted anywhere, as far as I could tell.

To fix, I reopened vBDrupal's settings.php and edited the $db_url value on line 153, to be exactly like the example provided on line 147:

Code:
* $db_url = 'mysql://username:password@localhost/database';
No other changes were required, and my vBDrupal site came up just fine following this.

Powered by Drupal - Modified by Danger4k - Maintained by DMG-projects