vBulletin FAQ / Usecases

1) Can I import my existing vB users to DAP with their existing vB username ?

Answer.

Sure. If you want to import your existing VB users to DAP, then you can go to DAP Add Users ->Bulk-Add Multiple Users To A Product and add the users to be imported in CSV format.

Format: Email, First Name, Last Name (optional), User Name (optional – used for VB only)

For ex:
joe1@webmasterinabox.net,joe,,smith (here lastname is empty)
joe2@webmasterinabox.net,joe,smith,joesmith2 (here lastname = smith and username=joesmith2)
joe3@webmasterinabox.net,joe (here both lastname and username are empty)
joe4@webmasterinabox.net,joe,smith (here username is empty)

When you complete the bulk add, these users will be added to DAP System -> Job Queue. When the DAP cron runs at the top of the hour, it will add these users to DAP and sync to VB.

You can manually run cron by clicking on this link in the browser – http://www.yoursite.com/dap/dap-cron.php

Note: Replace yoursite.com above with the name of your site

Make sure you setup the FORUM rules in DAP Product -> VB forum Mapping BEFORE you import the users to DAP.

2) Can I configure DAP to automatically create users in vB when they purchase a membership product?

Answer.

Sure. In /dap/dap-config.php, update the following setting to “Y”
define (‘AUTO_CREATE_VB_ACCOUNT_UPON_DAP_REG’, ‘Y’);

Note:
If the value is not set to “Y”, then by default DAP will NOT auto-create user accounts in VB.
If the value is set to “Y”, then this is how it will work.

1. When a new user is created in DAP, DAP will try to use the user’s firstname.lastname to create a VB user account automatically for the user.

2. If in step #1, DAP was able to successfully create / sync username to VB, then the username will also be updated in DAP.

You can check that in DAP profile page (click on User’s fullname in DAP manager users page to go to user’s profile settings).

3. If in step #1, DAP was NOT able to successfully create / sync username (= firstname.lastname) to VB (because the username was already taken by another user), then the username will be empty in DAP. You can check that in DAP profile page.

4. If the username is already set in DAP, then the user CANNOT change it.

5. If the username is already set in DAP, then the user can request the DAP Admin to change it.

6. The DAP admin can change an existing user’s vB username by going to DAP admin panel -> Manage Users -> Click on users fullname -> it will bring admin to the users profile page -> admin can update username to a different username

- if the username is being changed to an username that already exists in VB and is tied to the SAME email id as the one in DAP, then DAP will just sync the user to VB using the forum rules defined in DAP

- if the username is being changed to an username that already exists in VB but is tied to a DIFFERENT email id and DOES NOT match the one in DAP, then DAP will report an error that the new username is already in use (by a different user). It will not sync the user.

- if the username is blanked out in DAP, then it will be blanked out just in DAP. DAP will not erase the VB username/account.

Hope this helps.

If there are any issues:

Set DAP Setup -> config -> log level to 5

Go TO System -> logs -> Empty Log Content

Rerun the test case.

Send us the log snippet (from DAP system -> logs) for troubleshooting.

9 comments ↓

#1 vBulletin Integration — DAP Documentation on 11.05.10 at 4:15 pm

[...] Click Here for DAP->vBulletin integration FAQ/Usecases [...]

#2 Lon Naylor on 11.14.10 at 6:44 am

Is there a certain vBulletin version or level (Classic or Publishing Suite) required (or recommended) for optimal integration?

Thanks,
Lon

#3 Veena Prashanth on 11.14.10 at 5:00 pm

Lon,
We have tested DAP with the with VB 4.0.7 and 4.0.8.

#4 Gerry Humphrey on 12.05.11 at 1:01 pm

When trying to change password in DAP, when it tries to sync to vBulletin it displays “Sorry, email already in use in VB. Please try using another email Id” and while the password is updated in DAP, it is not in VB. Changing something not sync’d (like Company) gives a success response. Any ideas? (DAP 4.2.1 w vB 4.1.8)

#5 Veena Prashanth on 12.05.11 at 9:04 pm

Gerry,
Look for that same username in VB directly (vb admin -> users -> search) and see if the email attached to that username is different than the email you see in dap. If yes, see if changing the email address in vb to match the one in dap and then syncing it from dap works.

#6 Gerry Humphrey on 12.06.11 at 4:00 pm

It seems to be an issue with email addresses that have a “+” in them (which is a legitimate email format) such as gerry+dap@yourdomain.com

Also I notice that if you delete a user in DAP, they are not deleted from vB. It you “remove” them from a product, it is properly updated. (Checked with a name@domain.tld email address.)

#7 Veena Prashanth on 12.06.11 at 8:47 pm

Are you able to add gerry+dap@yourdomain.com directly to VB using VB admin dashboard?

You are right about dap delete. It’s not yet integrated with VB.

#8 Gerry Humphrey on 12.06.11 at 11:29 pm

I can add “gerry+dap@yourdomain.com” via DAP and it works fine, until I want to change the password or other info. I can log into vBulletin as well. It is just changing information that seems to cause the issue.

Thanks for the info about the “delete” with DAP and vB. Always worry that I have a “unique issue” with stuff like that.

#9 Alexei on 04.10.12 at 2:06 pm

Can I import my existing DAP users to vB with their existing DAP username ?

Leave a Comment