14

vBulletin Setup

Starting DAP v3.9, DAP supports full fledged integration with vBulletin forum. You can limit access to specific forums based on the users membership level.

We also offer full vBulletin installation and DAP->vBulletin integration services. Contact Us for more details

You can download DAP 3.9 from your membership area.

Click here to download latest version of DAP

Here’s how you can enable DAP->vBulletin integration:

1. Install vB on your site per this documentation

 

Note: vBulletin 4.0 and higher requires PHP 5.2.0 or greater and MySQL 4.1.0 or greater

2. You can install VB in a completely new database, or it can be installed in your existing WP/DAP database.

3. Login to your VB admin panel

For Ex – http://www.yoursite.com/forum/admincp/index.php

Update the cookie domain setting under Setting Options => Cookie and HTTP Header Options

Use Custom setting and update the cookie domain to yoursite.com.

For ex – if the name of the site is contentresponder.com, then the cookie domain should be set to contentresponder.com

Cookie Domain Setting

4. Update dap-config.php under the dap folder

Run the following command – http://www.yoursite.com/dap/getpath.php (replace yoursite.com with the name of your site)

Say that it returns – /home/crespond/contentresponder.com/dap

Just get rid of /dap and instead append your forum folder name – /home/crespond/contentresponder.com/forum

Now add the following lines to /dap/dap-config.php file

define(‘VBFORUMPATH’, ‘/home/crespond/contentresponder.com/forum’); // path to your forum

define (‘TABLE_PREFIX’, ‘vb_’); // vb table prefix in your database.

define (‘AUTO_CREATE_VB_ACCOUNT_UPON_DAP_REG’, ‘N’); //set value to ‘Y’ if you want DAP to auto-create user account in VB using firstname.lastname during DAP registration

Note:

1)  add the VBFORUMPATH and TABLE_PREFIX just above this line require_once(“dap-settings.php”); That’s it.

2) In the TABLE_PREFIX above, use the VB table prefix that you set in your VB config file (/includes/config.php in your forum folder).

If you set it to ”, then set it to ” in dap-config.php above.

define (‘TABLE_PREFIX’, ”);

It you set it to ‘vb’ in config.php during VB installation, then set it to ‘vb’ in dap-config.php as well.

define (‘TABLE_PREFIX’, ‘vb’);

VERY IMPORTANT:

Also, replace all occurrences of backticks (`) with single quote (‘) in all the define statements above. Even when we save this doc with single quote, wordpress converts it to backticks(`). So pls make sure  when you add the above define statements to dap-config.php, replace all ` with ‘.

 

 

Now go back to your DAP admin panel. You will find the vB forum option under Products/Levels.

BTW, there is a known vB issue that affects the running of command line cron stuff. Workaround for that is described here

Hope this helps.

For more details on vB, click here to see the video

Click Here to Leave a Comment Below 14 comments
vBulletin Integration — DAP Documentation - November 5, 2010

[…] Click Here for vBulletin Setup […]

Reply
Ankur Jain - November 6, 2010

I am still waiting for v3.9 to come out of beta. Any idea when you will be doing the final release?

Reply
Scott Blanchard - March 8, 2011

Veena, does this assume that the VB database was created in the same database as DAP exists?

I created a stand alone database for my Vbulletin. Do you need to know what name of the database or will you get that from the vbforumpath?

Reply
Scott Blanchard - March 8, 2011

Got it. In forum mapping, I have two products that are sold stand alone and as part of a bundle. Does DAP attempt to create a duplicate user profile when a user purchases two products at the same time? The first product would trigger a registration, would the second?

Reply
Veena Prashanth - March 8, 2011

No, DAP does not assume the vb database was created in the same database as DAP. DAP uses the VB core files to connect to the VB database. DAP only needs to know where the VB files are located… dap does not care how VB connects to it’s database and where the database is located. That’s internal to VB.

Reply
Veena Prashanth - March 9, 2011

>>Does DAP attempt to create a duplicate user profile when a user purchases two products at the same time? The first product would trigger a registration, would the second?
<< Everything depends on the forum mapping rules. If you have set forum mapping rules for the 2nd product and the username/email combo already exists in VB, then dap will not create a new vb account. DAP will just add the user to the additional usergroups based on the forum mapping rules.

Reply
Clefor Jhon - November 20, 2012

what if i got already lot of users then, i installed vbulletin. is there any way to import this user to vbulletin database? or only new user will be stored on vbulletin?

Reply
Veena Prashanth - December 8, 2012

Create a file called importVBusers.csv and upload to /dap/bulk/ folder your site.

This file should have each email address that you want to import to VB on a new line.

For ex:
joe@example.com
joe10@example.com
joe15@example.com

Now visit this script in a browser:

http://YOURSITE.com/dap/dap-VBImport.php (replace YOURSITE.com with the name of your site).

See if it imports the user to VB and see if the usergroup / permission in VB looks correct for the imported users.

If yes, you can import about 50 or 100 at a time using this script.

If you do more than that, the script will time out.

Reply
Daisy Peel - June 17, 2013

These instructions do not work with vBulletin version 5 – DAP is looking for files that are no longer located in the same place within the vBulletin file structure. I don’t really want to hack in to DAP config files too much – can you tell me if DAP is working with vBulletin? If so, I’ll change the URLs of the files DAP is looking for, although one of them doesn’t seem to exist where the others all exist in the new structure.

Reply
Daisy Peel - June 17, 2013

Sorry I mean to say is it working with vBulletin 5? Thanks 🙂

Reply
Veena Prashanth - June 17, 2013

Daisy,

DAP does not work with VB 5.0.

Reply
Daisy Peel - June 18, 2013

Veena, thanks – got it set up with vB 4.2, works like a charm.

Reply
Basic Single Sign On between Wordpress 3 and vBulletin 5 | Be Secure - September 2, 2013

[…] September 2, 2013 – Recently found a commercial integration between WP and vB4: Digital Access Pass […]

Reply
Veena Prashanth - September 17, 2013

Hi All,
DAP now integrates with VB 5.

Please see:
http://www.digitalaccesspass.com/blog/2013/09/vbulletin-5-now-integrates-with-dap/

Thanks,
Veena

Reply

Leave a Reply: